Second Commit

This commit is contained in:
marco
2026-09-04 15:06:45 -03:00
parent 9c54bd3ac7
commit 9a84714b91
25 changed files with 158 additions and 1454 deletions
+41 -9
View File
@@ -4,15 +4,16 @@
APP_NAME=SysMVC
APP_KEY=dd9a6739a393907184b439c74718247991d7228ca72b67543bbca11e6a440078
APP_ENV=production
APP_DEBUG=false
APP_URL=http://sysmvc.syspanel.com.br
APP_DEBUG=true
APP_URL=http://localhost:16270
# Database configuration
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=sysmvc
DB_USERNAME=sysmvc
DB_PASSWORD=Mega88ax10
DB_USERNAME=admin
DB_PASSWORD=admin123
@@ -22,14 +23,16 @@ SESSION_LIFETIME=120 # in minutes
# Mail configuration (example for SMTP)
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=noreply@sysmvc.com
MAIL_USERNAME=1c2c80d1d45507
MAIL_PASSWORD=e32909821a29de
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="marcocosta@gmx.com"
MAIL_FROM_NAME="${APP_NAME}"
# Logging configuration
LOG_CHANNEL=stack # options: daily, single, syslog, etc.
@@ -121,3 +124,32 @@ PHP_LOG_ERRORS=true
# Arquivo de log de erros do PHP
PHP_ERROR_LOG=/var/log/php_errors.log
OPENROUTER_API_KEY=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
OPENROUTER_MODEL=minimax/minimax-m3:free
STEPFUN_BASE_URL=https://api.stepfun.ai/step_plan/v1/
STEPFUN_API_KEY=UbsPKji9Z99P1zylYwsPlRTRaBs9iwsQ0e1mblvOIynVwFcKQALqloOoDMOCcE6s
STEPFUN_MODEL=step-3.5-flash
LLAMACPP_BASE_URL=http://localhost:8080/v1/
LLAMACPP_API_KEY=not-needed
LLAMACPP_MODEL=qwen2.5-coder-3b-instruct-q4_k_m.gguf
TELEGRAM_BOT_TOKEN=8738025926:AAFMomYI4GYUuUv86XpaaoVpctr2GgqBGto
TELEGRAM_WEBHOOK_URL=
TELEGRAM_CHAT_ID=7889499475
#MAIL_MAILER=smtp
#MAIL_HOST=live.smtp.mailtrap.io
#MAIL_PORT=587
#MAIL_USERNAME=api
#MAIL_PASSWORD=075281bf4141836009017d94d955a84d
#MAIL_ENCRYPTION=tls
#MAIL_FROM_ADDRESS=noreply@syspanel.info
#MAIL_FROM_NAME="Syspanel - Sistemas de Gestão"
@@ -1,52 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Crud Example Create'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="text-success">Blade - Crud Example New Item</h1>
<!-- Display error message if any -->
<?php if($error): ?>
<div class="alert alert-danger">
<?php echo \htmlentities($error??'', ENT_QUOTES, 'UTF-8', false); ?>
</div>
<?php endif; ?>
<form action="/crudexample" method="POST">
<?= csrf() ?>
<div class="mb-3">
<label for="name" class="form-label">Name:</label>
<input type="text" id="name" name="name" class="form-control" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password:</label>
<input type="password" id="password" name="password" class="form-control" required>
</div>
<div class="mb-3">
<label for="company" class="form-label">Company:</label>
<input type="text" id="company" name="company" class="form-control">
</div>
<div class="mb-3">
<label for="address" class="form-label">Address:</label>
<input type="text" id="address" name="address" class="form-control">
</div>
<div class="mb-3">
<label for="phone" class="form-label">Phone:</label>
<input type="text" id="phone" name="phone" class="form-control">
</div>
<div class="mb-3">
<label for="email" class="form-label">Email:</label>
<input type="email" id="email" name="email" class="form-control" required>
</div>
<div class="mb-3">
<label for="notes" class="form-label">Notes:</label>
<textarea id="notes" name="notes" class="form-control"></textarea>
</div>
<button type="submit" class="btn btn-primary">Create</button>
</form>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,52 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Crud Example Edit'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="text-warning">Blade - Crud Example Edit</h1>
<form action="/crudexample/update/<?php echo \htmlentities($crudexample['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" method="POST">
<?= csrf() ?>
<input type="hidden" name="_method" value="POST"> <!-- Changed to POST -->
<div class="mb-3">
<label for="name" class="form-label">Name:</label>
<input type="text" id="name" name="name" class="form-control" value="<?php echo \htmlentities($crudexample['name']??'', ENT_QUOTES, 'UTF-8', false); ?>" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password:</label>
<input type="password" id="password" name="password" class="form-control">
<input type="checkbox" id="showPassword" onclick="togglePassword()"> Show Password
<script>
function togglePassword() {
var passwordInput = document.getElementById('password');
var showPasswordCheckbox = document.getElementById('showPassword');
passwordInput.type = showPasswordCheckbox.checked ? 'text' : 'password';
}
</script>
</div>
<div class="mb-3">
<label for="company" class="form-label">Company:</label>
<input type="text" id="company" name="company" class="form-control" value="<?php echo \htmlentities($crudexample['company']??'', ENT_QUOTES, 'UTF-8', false); ?>">
</div>
<div class="mb-3">
<label for="address" class="form-label">Address:</label>
<input type="text" id="address" name="address" class="form-control" value="<?php echo \htmlentities($crudexample['address']??'', ENT_QUOTES, 'UTF-8', false); ?>">
</div>
<div class="mb-3">
<label for="phone" class="form-label">Phone:</label>
<input type="text" id="phone" name="phone" class="form-control" value="<?php echo \htmlentities($crudexample['phone']??'', ENT_QUOTES, 'UTF-8', false); ?>">
</div>
<div class="mb-3">
<label for="email" class="form-label">Email:</label>
<input type="email" id="email" name="email" class="form-control" value="<?php echo \htmlentities($crudexample['email']??'', ENT_QUOTES, 'UTF-8', false); ?>" required>
</div>
<div class="mb-3">
<label for="notes" class="form-label">Notes:</label>
<textarea id="notes" name="notes" class="form-control"><?php echo \htmlentities($crudexample['notes']??'', ENT_QUOTES, 'UTF-8', false); ?></textarea>
</div>
<button type="submit" class="btn btn-primary">Update</button>
</form>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,46 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Crud Example List'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<div class="d-flex justify-content-between align-items-center mb-4">
<h1 class="display-4 text-primary">Blade - Crud Example List</h1>
<a href="/crudexample/create" class="btn btn-success btn-lg">Add New Item</a>
</div>
<div class="table-responsive">
<table class="table table-striped table-hover">
<thead class="table-dark">
<tr>
<th>ID</th>
<th>Name</th>
<th>Company</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $crudexample; $this->addLoop($__currentLoopData);$this->getFirstLoop();
foreach($__currentLoopData as $item): $loop = $this->incrementLoopIndices(); ?>
<tr>
<td><?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
<td><?php echo \htmlentities($item['name']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
<td><?php echo \htmlentities($item['company']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
<td>
<a href="/crudexample/show/<?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" class="btn btn-info btn-sm me-2">View</a>
<a href="/crudexample/edit/<?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" class="btn btn-warning btn-sm me-2">Edit</a>
<!-- Delete form -->
<form action="/crudexample/delete/<?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" method="POST" style="display:inline;">
<input type="hidden" name="_method" value="POST">
<button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure?')">Delete</button>
</form>
</td>
</tr>
<?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?>
</tbody>
</table>
</div>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,46 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Crud Example List'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<div class="d-flex justify-content-between align-items-center mb-4">
<h1 class="display-4 text-primary">Blade - Crud Example List</h1>
<a href="/crudexample/create" class="btn btn-success btn-lg">Add New Item</a>
</div>
<div class="table-responsive">
<table class="table table-striped table-hover">
<thead class="table-dark">
<tr>
<th>ID</th>
<th>Name</th>
<th>Company</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $crudexample; $this->addLoop($__currentLoopData);$this->getFirstLoop();
foreach($__currentLoopData as $item): $loop = $this->incrementLoopIndices(); ?>
<tr>
<td><?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
<td><?php echo \htmlentities($item['name']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
<td><?php echo \htmlentities($item['company']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
<td>
<a href="/crudexample/show/<?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" class="btn btn-info btn-sm me-2">View</a>
<a href="/crudexample/edit/<?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" class="btn btn-warning btn-sm me-2">Edit</a>
<!-- Delete form -->
<form action="/crudexample/delete/<?php echo \htmlentities($item['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" method="POST" style="display:inline;">
<input type="hidden" name="_method" value="POST">
<button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure?')">Delete</button>
</form>
</td>
</tr>
<?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?>
</tbody>
</table>
</div>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,50 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Crud Example Show'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="text-info">Blade - Crud Example Show</h1>
<table class="table table-bordered table-striped">
<tr>
<th>ID</th>
<td><?php echo \htmlentities($crudexample['id']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
</tr>
<tr>
<th>Name</th>
<td><?php echo \htmlentities($crudexample['name']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
</tr>
<tr>
<th>Company</th>
<td><?php echo \htmlentities($crudexample['company']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
</tr>
<tr>
<th>Address</th>
<td><?php echo \htmlentities($crudexample['address']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
</tr>
<tr>
<th>Phone</th>
<td><?php echo \htmlentities($crudexample['phone']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
</tr>
<tr>
<th>Email</th>
<td><?php echo \htmlentities($crudexample['email']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
</tr>
<tr>
<th>Notes</th>
<td><?php echo \htmlentities($crudexample['notes']??'', ENT_QUOTES, 'UTF-8', false); ?></td>
</tr>
</table>
<a href="/crudexample/edit/<?php echo \htmlentities($crudexample['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" class="btn btn-warning me-2">Edit</a>
<!-- Delete form -->
<form action="/crudexample/delete/<?php echo \htmlentities($crudexample['id']??'', ENT_QUOTES, 'UTF-8', false); ?>" method="POST" style="display:inline;">
<input type="hidden" name="_method" value="POST">
<button type="submit" class="btn btn-danger me-2" onclick="return confirm('Are you sure?')">Delete</button>
</form>
<a href="/crudexample" class="btn btn-secondary">Back to List</a>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,26 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'About'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="display-4 text-primary">About Us</h1>
<p class="lead">Welcome to SysMVC - PHP Framework!</p>
<p>SysMVC is a PHP framework developed to simplify the creation of robust and scalable web applications. We use the best development practices and modern tools to provide an efficient and enjoyable development experience.</p>
<p>Our mission is to help developers build high-quality web applications quickly and effectively. We offer a solid and flexible framework, allowing you to focus on what really matters: creating amazing features for your users.</p>
<p>If you have any questions or need support, feel free to contact us. We are here to help!</p>
<p><strong>Marco Costa</strong></p>
<p>Developer and Creator of SysMVC</p>
<p>Official website: <a href="https://sysmvc.syspanel.com.br">sysmvc.syspanel.com.br</a><p>
<p>Contact email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a><p>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git" target="_blak">https://github.com/syspanel/SysMVC.git</a></p>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,52 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'App Development with SysMVC'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="display-4 text-primary">App Development with SysMVC</h1>
<p class="lead">How to use SysMVC as a base for application development.</p>
<p>SysMVC is a flexible and powerful framework, perfect for serving as the foundation for developing modern web applications.</p>
<h2>Modular Structure</h2>
<p>SysMVC allows you to create independent modules, making it easier to organize your code and maintain the project.</p>
<h2>Simple Routing</h2>
<p>With SysMVC's router, you can define your routes in a simple and intuitive way:</p>
<pre><code>
Router::get('/home', 'HomeController@index');
Router::post('/client', 'ClientController@store');
</code></pre>
<h2>Template Rendering</h2>
<p>Use BladeOne to efficiently and neatly render your templates:</p>
<pre><code>
echo $blade->run("home.index", ["clients" => $clients]);
</code></pre>
<p>With these tools, SysMVC provides a solid foundation for developing robust and scalable web applications.</p>
<br><br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<h2 class="mt-4">Contact</h2>
<p>If you're interested in SysMVC, get in touch:</p>
<ul>
<li>Email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a></li>
<li>WhatsApp: <a href="https://wa.me/5535992261684" target="_blank">+55 (35) 99226-1684</a></li>
</ul>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,90 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Console CLI'); ?>
<?php $this->startSection('content'); ?>
<div class="container">
<h2>Console CLI</h2>
<p>The SysMVC CLI console, based on Symfony Console, allows you to efficiently manage your project using command-line commands.</p>
<h3>Useful Commands</h3>
<ul>
<li><strong>php bin/console generate:app-key</strong> - Generates a new application key.</li>
<li><strong>php bin/console app:say-hello</strong> - Hello.</li>
</ul>
<h3>Extending with More Commands</h3>
<p>The Symfony Console allows you to create and extend custom commands. Here is an example of how to create a custom command:</p>
<pre>
<code>
// src/Command/SayHelloCommand.php
namespace App\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class SayHelloCommand extends Command
{
protected static $defaultName = 'app:say-hello';
protected function configure()
{
$this
->setDescription('Says hello.')
->setHelp('This command allows you to say hello...');
}
protected function execute(InputInterface $input, OutputInterface $output)
{
$output->writeln('Hello from SysMVC!');
return Command::SUCCESS;
}
}
</code>
</pre>
<p>To register the command, add it to the service in the <code>config/services.yaml</code> file:</p>
<pre>
<code>
# config/services.yaml
services:
App\Command\SayHelloCommand:
tags: ['console.command']
</code>
</pre>
<p>Now you can execute the custom command:</p>
<pre>
<code>
$ php bin/console app:say-hello
</code>
</pre>
<p>For more information about available commands and how to create custom commands, check the <a href="https://symfony.com/doc/current/console.html" target="_blank">Symfony Console documentation</a>.</p>
</div>
<br><br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<h2 class="mt-4">Contact</h2>
<p>If you're interested in SysMVC, get in touch:</p>
<ul>
<li>Email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a></li>
<li>WhatsApp: <a href="https://wa.me/5535992261684" target="_blank">+55 (35) 99226-1684</a></li>
</ul>
<br>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,68 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Database Usage'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="display-4 text-primary">Database Usage</h1>
<p class="lead">CRUD Example with SysMVC.</p>
<p>SysMVC makes it easy to interact with databases through the use of Eloquent ORM. You can easily create, read, update, and delete records in the database using intuitive methods.</p>
<h2>CRUD Example</h2>
<p>Below is a basic example of CRUD operations:</p>
<h3>Creating a Record</h3>
<pre><code>
$client = new Client();
$client->name = 'Client Name';
$client->email = 'email@example.com';
$client->save();
</code></pre>
<h3>Reading Records</h3>
<pre><code>
$clients = Client::all();
foreach ($clients as $client) {
echo $client->name;
}
</code></pre>
<h3>Updating a Record</h3>
<pre><code>
$client = Client::find(1);
$client->name = 'New Name';
$client->save();
</code></pre>
<h3>Deleting a Record</h3>
<pre><code>
$client = Client::find(1);
$client->delete();
</code></pre>
<p>With these examples, you can see how easy it is to work with databases using SysMVC.</p>
<br><br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<h2 class="mt-4">Contact</h2>
<p>If you're interested in SysMVC, get in touch:</p>
<ul>
<li>Email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a></li>
<li>WhatsApp: <a href="https://wa.me/5535992261684" target="_blank">+55 (35) 99226-1684</a></li>
</ul>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,63 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Dependency Injection with PHP-DI'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="display-4 text-primary">Dependency Injection with PHP-DI</h1>
<p class="lead">How to use PHP-DI in SysMVC.</p>
<p>SysMVC uses the PHP-DI library to manage dependency injection. This allows you to write more modular and testable code.</p>
<h2>Basic Configuration</h2>
<p>To configure PHP-DI, you can create a <code>di-config.php</code> file with the definitions of your dependencies:</p>
<pre><code><?php echo \htmlentities(' use DI\ContainerBuilder;
return function (ContainerBuilder $containerBuilder) {
$containerBuilder->addDefinitions([
// Define your dependencies here
ClientRepository::class => \DI\create(MySqlClientRepository::class),
]);
};'??'', ENT_QUOTES, 'UTF-8', false); ?></code></pre>
<h2>Usage</h2>
<p>To use dependency injection in your classes, simply pass the dependencies through the constructor:</p>
<pre><code><?php echo \htmlentities(' class ClientService {
private $clientRepository;
public function __construct(ClientRepository $clientRepository) {
$this->clientRepository = $clientRepository;
}
public function getClients() {
return $this->clientRepository->findAll();
}
}'??'', ENT_QUOTES, 'UTF-8', false); ?></code></pre>
<p>With dependency injection, you can easily swap implementations and keep your code decoupled and more testable.</p>
<br><br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<h2 class="mt-4">Contact</h2>
<p>If you're interested in SysMVC, get in touch:</p>
<ul>
<li>Email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a></li>
<li>WhatsApp: <a href="https://wa.me/5535992261684" target="_blank">+55 (35) 99226-1684</a></li>
</ul>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,84 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Learn More About SysMVC'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<!-- Free Image -->
<img src="https://images.pexels.com/photos/3184424/pexels-photo-3184424.jpeg" class="img-fluid mb-4" alt="SysMVC">
<br><br>
<h1 class="display-8 text-primary">SysMVC - PHP Framework</h1>
<br>
<p class="lead">Welcome to SysMVC - PHP Framework!</p>
<p>SysMVC is a PHP framework developed to facilitate the creation of robust and scalable web applications. We use best development practices and modern tools to provide an efficient and pleasant development experience.</p>
<p>Our mission is to help developers build high-quality web applications quickly and efficiently. We offer a solid and flexible framework, allowing you to focus on what really matters: creating amazing features for your users.</p>
<p>SysMVC has a fast learning curve, it's lightweight, fast, modern, straightforward, secure, and ideal for developing websites and apps both locally and in the cloud. It is also licensed under the MIT License, which is highly permissive for developers.</p>
<h2 class="mt-4">Main Features</h2>
<ul>
<li>Advanced routing system for easy navigation</li>
<li>Support for Blade templates for efficient rendering</li>
<li>Integration with Monolog for a robust logging system</li>
<li>Modular and easy-to-maintain structure</li>
<li>ORM database support for simplified interaction with the database</li>
<li>Enhanced security with protection against CSRF, XSS, and more</li>
<li>Dependency injection</li>
<li>Environment variable loading</li>
<li>Handling of HTTP requests and responses</li>
</ul>
<br>
<h2 class="mt-4">MIT License</h2>
<p>SysMVC is licensed under the MIT License, which allows wide freedom of use and distribution. Here is the full text of the license:</p>
<br>
<pre class="bg-light p-3">
MIT License
Copyright (c) 2025 Marco Costa
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</pre>
<br><br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<h2 class="mt-4">Contact</h2>
<p>If you're interested in SysMVC, get in touch:</p>
<ul>
<li>Email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a></li>
<li>WhatsApp: <a href="https://wa.me/5535992261684" target="_blank">+55 (35) 99226-1684</a></li>
</ul>
<br>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,156 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Project Information'); ?>
<?php $this->startSection('content'); ?>
<div class="container mt-5">
<h1 class="display-4 text-primary">SysMVC - PHP Framework</h1>
<br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git" target="_blank">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<p class="lead">Project Information</p>
<p><strong>SysMVC</strong> is a system developed by <strong>Marco Costa</strong> (<a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a>), with source code licensed under the <strong>MIT License</strong>.</p>
<p>This software is offered for free and can be used, modified, and distributed under the terms of the MIT License.</p>
<p>Project website: <a href="https://sysmvc.syspanel.com.br">https://sysmvc.syspanel.com.br</a></p>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
<hr>
<h2 class="mt-4">🚀 Installation Tutorial</h2>
<h3>✅ Prerequisites</h3>
<ul>
<li><strong>PHP 8.1</strong> or higher</li>
<li><strong>Composer</strong> (dependency manager for PHP)</li>
<li><strong>Web Server</strong> (Apache or Nginx)</li>
<li><strong>MySQL</strong> or other compatible database</li>
</ul>
<h3>🔧 Step-by-Step</h3>
<h4>1️⃣ Unzip the File</h4>
<p>Download and unzip the SysMVC file to your local environment:</p>
<pre><code>unzip sysmvc.zip -d sysmvc
cd sysmvc
</code></pre>
<h4>2️⃣ Install the Dependencies</h4>
<p>Use Composer to install the project dependencies:</p>
<pre><code>composer install
</code></pre>
<h4>3️⃣ Configure the Environment</h4>
<p>Copy the <code>.env.example</code> file to <code>.env</code> and configure your environment variables:</p>
<pre><code>cp .env.example .env
</code></pre>
<p>Open the <code>.env</code> file and edit the following lines with your information:</p>
<pre><code>DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password
</code></pre>
<h4>4️⃣ Set Permissions</h4>
<p>Change the permissions of the storage and cache directories to ensure the web server can write to them:</p>
<pre><code>chmod -R 775 storage
chmod -R 775 bootstrap/cache
</code></pre>
<h4>5️⃣ Generate the Application Key</h4>
<pre><code>php bin/console generate:app-key
</code></pre>
<h4>6️⃣ Run the Migrations</h4>
<p>Run the migrations to create the tables in the database:</p>
<pre><code>php bin/console migrate:crudexample
</code></pre>
<h4>7️⃣ Configure the Web Server</h4>
<h5>📌 Apache</h5>
<p>Add the following configuration to your Apache configuration file:</p>
<pre><code>&lt;VirtualHost *:80&gt;
ServerName sysmvc.local
DocumentRoot /path/to/sysmvc/public
&lt;Directory /path/to/sysmvc/public&gt;
AllowOverride All
Require all granted
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
</code></pre>
<h5>📌 Nginx</h5>
<p>Add the following configuration to your Nginx configuration file:</p>
<pre><code>server {
listen 80;
server_name sysmvc.local;
root /path/to/sysmvc/public;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
}
</code></pre>
<hr>
<h2 class="mt-4">📦 Dependencies Used</h2>
<p>The project uses the following third-party packages, each with its respective license:</p>
<h3>✅ Packages with MIT License</h3>
<ul>
<li><strong>Illuminate Database</strong> → <a href="https://github.com/illuminate/database" target="_blank">illuminate/database</a></li>
<li><strong>Monolog</strong> → <a href="https://github.com/Seldaek/monolog" target="_blank">monolog/monolog</a></li>
<li><strong>BladeOne</strong> → <a href="https://github.com/EFTEC/BladeOne" target="_blank">eftec/bladeone</a></li>
<li><strong>Twig</strong> → <a href="https://github.com/twigphp/Twig" target="_blank">twig/twig</a></li>
<li><strong>Symfony Console</strong> → <a href="https://github.com/symfony/console" target="_blank">symfony/console</a></li>
<li><strong>Phinx</strong> → <a href="https://github.com/cakephp/phinx" target="_blank">robmorgan/phinx</a></li>
<li><strong>Defuse Encryption</strong> → <a href="https://github.com/defuse/php-encryption" target="_blank">defuse/php-encryption</a></li>
<li><strong>Random Compatibility</strong> → <a href="https://github.com/paragonie/random_compat" target="_blank">paragonie/random_compat</a></li>
<li><strong>Rakit Validation</strong> → <a href="https://github.com/rakit/validation" target="_blank">rakit/validation</a></li>
<li><strong>Carbon</strong> → <a href="https://github.com/briannesbitt/Carbon" target="_blank">nesbot/carbon</a></li>
<li><strong>Flysystem</strong> → <a href="https://github.com/thephpleague/flysystem" target="_blank">league/flysystem</a></li>
<li><strong>Intervention Image</strong> → <a href="https://github.com/Intervention/image" target="_blank">intervention/image</a></li>
<li><strong>Symfony Cache</strong> → <a href="https://github.com/symfony/cache" target="_blank">symfony/cache</a></li>
<li><strong>Predis Redis Client</strong> → <a href="https://github.com/predis/predis" target="_blank">predis/predis</a></li>
<li><strong>PHP Dependency Injection</strong> → <a href="https://github.com/PHP-DI/PHP-DI" target="_blank">php-di/php-di</a></li>
<li><strong>Symfony Dotenv</strong> → <a href="https://github.com/symfony/dotenv" target="_blank">symfony/dotenv</a></li>
<li><strong>Pecee SimpleRouter</strong> → <a href="https://github.com/pecee/pecee-simple-router" target="_blank">pecee/simple-router</a></li>
<li><strong>Nyholm PSR7</strong> → <a href="https://github.com/Nyholm/psr7" target="_blank">nyholm/psr7</a></li>
<li><strong>FakerPHP Faker</strong> → <a href="https://github.com/FakerPHP/Faker" target="_blank">fakerphp/faker</a></li>
<li><strong>Symfony Mailer</strong> → <a href="https://github.com/symfony/mailer" target="_blank">symfony/mailer</a></li>
</ul>
<hr>
<h2 class="mt-4">📜 Terms of Use</h2>
<p>This project is licensed under the <strong>MIT License</strong>.</p>
<p>You can use, copy, modify, merge, publish, distribute, sublicense, or sell copies of the Software, provided that the license and copyright notice are included in all copies or substantial portions of the Software.</p>
<p>The Software is provided "as is", without any warranty of any kind. For more details, please consult the <a href="https://opensource.org/licenses/MIT" target="_blank">MIT License</a>.</p>
<p>For more information, contact: <a href="mailto:sysmvc@syspanel.com.br" target="_blank">sysmvc@syspanel.com.br</a></p>
<p class="text-center mt-5">© 2025 Marco Costa - All rights reserved under the MIT License.</p>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,41 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'Security'); ?>
<?php $this->startSection('content'); ?>
<div class="container">
<h2>Security</h2>
<p>We have implemented several security measures in SysMVC to protect your application against threats. Here are some of the implementations:</p>
<h3>CSRF Protection</h3>
<p>We use CSRF tokens to protect against Cross-Site Request Forgery attacks.</p>
<h3>Data Sanitization</h3>
<p>All input and output data are sanitized to prevent code injections and other attacks.</p>
<h3>Security Headers</h3>
<p>We add HTTP security headers to protect against attacks like clickjacking and MIME-type sniffing.</p>
<p>For more information about security, refer to the <a href="https://owasp.org/" target="_blank">OWASP documentation</a>.</p>
</div>
<br><br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<h2 class="mt-4">Contact</h2>
<p>If you're interested in SysMVC, feel free to contact us:</p>
<ul>
<li>Email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a></li>
<li>WhatsApp: <a href="https://wa.me/5535992261684" target="_blank">+55 (35) 99226-1684</a></li>
</ul>
<br>
<h2 class="mt-4">Donations via PAYPAL</h2>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,52 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'SysMVC Advantages - Blade, Twig, and Pure PHP'); ?>
<?php $this->startSection('content'); ?>
<div class="container">
<h2>SysMVC: Support for Blade, Twig, and Pure PHP</h2>
<p>SysMVC is a versatile PHP framework that supports three template rendering methods: <strong>Blade</strong>, <strong>Twig</strong>, and <strong>Pure PHP</strong>. This flexibility allows developers to choose the tool that best suits their needs, providing several advantages.</p>
<h3>Blade Advantages</h3>
<p>Blade is a simple yet powerful template engine developed for the Laravel framework. With Blade, developers can easily create reusable layouts and dynamic components. It is known for its clean and clear syntax, making template development fast and intuitive.</p>
<p>For more information, refer to the <a href="https://laravel.com/docs/8.x/blade" target="_blank">official Blade documentation</a>.</p>
<h3>Twig Advantages</h3>
<p>Twig is a flexible and robust template engine, widely used in various PHP frameworks. It offers a series of advanced features such as template inheritance, filters, custom extensions, and more. Twig is known for its security and performance, making it a reliable choice for projects of any scale.</p>
<p>For more information, refer to the <a href="https://twig.symfony.com/doc/3.x/" target="_blank">official Twig documentation</a>.</p>
<h3>Pure PHP Advantages</h3>
<p>SysMVC also supports template rendering using pure PHP. This means you can directly include PHP files and render content dynamically. If you prefer not to use a template engine, you can simply use the <code>include</code> command to include template files and generate the desired content. This can be a simpler and more straightforward choice for smaller projects or developers more familiar with PHP.</p>
<p>Example of using pure PHP in SysMVC:</p>
<pre><code>include('page.php');</code></pre>
<h3>Why Choose SysMVC?</h3>
<p>With SysMVC, you don't have to worry about choosing between Blade, Twig, or Pure PHP. You can use any of these options, or even combine different approaches within the same project, depending on the context. This flexibility is a significant advantage, as it allows developers to take the best of each tool, adapting to their preferences and specific requirements.</p>
<h3>Conclusion</h3>
<p>Whether you're a Blade enthusiast, a Twig fan, or someone who prefers pure PHP, SysMVC is ready to meet your needs. The ability to switch between these options makes SysMVC an excellent choice for developers seeking efficiency, flexibility, and ease of use in their PHP projects.</p>
</div>
<br><br>
<p>Github: <a href="https://github.com/syspanel/SysMVC.git">https://github.com/syspanel/SysMVC.git</a></p>
<br><br>
<h2 class="mt-4">Contact</h2>
<p>If you're interested in SysMVC, feel free to contact us:</p>
<ul>
<li>Email: <a href="mailto:syspanel@gmx.com">syspanel@gmx.com</a></li>
<li>WhatsApp: <a href="https://wa.me/5535992261684" target="_blank">+55 (35) 99226-1684</a></li>
</ul>
## Donations via PayPal
If you wish to support the development of SysMVC, consider making a donation via PayPal to:
<h2 class="mt-4">Donations via PAYPAL</h2>
<p>If you wish to support the development of SysMVC, consider making a donation via PAYPAL to <a href="https://www.paypal.com/donate/?business=marcocosta@gmx.com&currency_code=USD" target="_blank"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate via PayPal"></a></p>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,87 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'SysMVC - PHP Framework'); ?>
<?php $this->startSection('content'); ?>
<div class="jumbotron text-center">
<h2>Welcome to SysMVC</h2>
<p>PHP framework for website and app development.</p>
<a href="/home/details" class="btn btn-primary">Learn More Details</a>
</div>
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="/images/1.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Database Usage</h5>
<p class="card-text">Learn how to use the database in SysMVC with CRUD examples.</p>
<a href="/home/database" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="/images/2.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Dependency Injection</h5>
<p class="card-text">Learn how to use dependency injection with PHP-DI in SysMVC.</p>
<a href="/home/dependency-injection" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="/images/3.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">App Projects</h5>
<p class="card-text">See how to use SysMVC as a base for application development.</p>
<a href="/home/app-development" class="btn btn-primary">See More</a>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<!-- New Card: Blade Templates -->
<div class="col-md-4">
<div class="card">
<img src="/images/4.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Blade & Twig Templates Engine</h5>
<p class="card-text">Learn more about using Blade and/or Twig templates with SysMVC.</p>
<a href="/home/templates-blade" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<!-- New Card: Security -->
<div class="col-md-4">
<div class="card">
<img src="/images/5.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Security</h5>
<p class="card-text">Security implementations in SysMVC.</p>
<a href="/home/security" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<!-- New Card: Console CLI -->
<div class="col-md-4">
<div class="card">
<img src="/images/6.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Console CLI</h5>
<p class="card-text">Use the CLI console to manage your SysMVC project.</p>
<a href="/home/console-cli" class="btn btn-primary">See More</a>
</div>
</div>
</div>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,87 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'SysMVC - PHP Framework'); ?>
<?php $this->startSection('content'); ?>
<div class="jumbotron text-center">
<h2>Welcome to SysMVC</h2>
<p>PHP framework for website and app development.</p>
<a href="/home/details" class="btn btn-primary">Learn More Details</a>
</div>
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="/images/1.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Database Usage</h5>
<p class="card-text">Learn how to use the database in SysMVC with CRUD examples.</p>
<a href="/home/database" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="/images/2.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Dependency Injection</h5>
<p class="card-text">Learn how to use dependency injection with PHP-DI in SysMVC.</p>
<a href="/home/dependency-injection" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="/images/3.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">App Projects</h5>
<p class="card-text">See how to use SysMVC as a base for application development.</p>
<a href="/home/app-development" class="btn btn-primary">See More</a>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<!-- New Card: Blade Templates -->
<div class="col-md-4">
<div class="card">
<img src="/images/4.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Blade & Twig Templates Engine</h5>
<p class="card-text">Learn more about using Blade and/or Twig templates with SysMVC.</p>
<a href="/home/templates-blade" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<!-- New Card: Security -->
<div class="col-md-4">
<div class="card">
<img src="/images/5.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Security</h5>
<p class="card-text">Security implementations in SysMVC.</p>
<a href="/home/security" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<!-- New Card: Console CLI -->
<div class="col-md-4">
<div class="card">
<img src="/images/6.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Console CLI</h5>
<p class="card-text">Use the CLI console to manage your SysMVC project.</p>
<a href="/home/console-cli" class="btn btn-primary">See More</a>
</div>
</div>
</div>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,87 +0,0 @@
<?php $_shouldextend[1]=1; ?>
<?php $this->startSection('title', 'SysMVC - PHP Framework'); ?>
<?php $this->startSection('content'); ?>
<div class="jumbotron text-center">
<h2>Welcome to SysMVC</h2>
<p>PHP framework for website and app development.</p>
<a href="/home/details" class="btn btn-primary">Learn More Details</a>
</div>
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="/images/1.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Database Usage</h5>
<p class="card-text">Learn how to use the database in SysMVC with CRUD examples.</p>
<a href="/home/database" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="/images/2.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Dependency Injection</h5>
<p class="card-text">Learn how to use dependency injection with PHP-DI in SysMVC.</p>
<a href="/home/dependency-injection" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="/images/3.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">App Projects</h5>
<p class="card-text">See how to use SysMVC as a base for application development.</p>
<a href="/home/app-development" class="btn btn-primary">See More</a>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<!-- New Card: Blade Templates -->
<div class="col-md-4">
<div class="card">
<img src="/images/4.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Blade & Twig Templates Engine</h5>
<p class="card-text">Learn more about using Blade and/or Twig templates with SysMVC.</p>
<a href="/home/templates-blade" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<!-- New Card: Security -->
<div class="col-md-4">
<div class="card">
<img src="/images/5.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Security</h5>
<p class="card-text">Security implementations in SysMVC.</p>
<a href="/home/security" class="btn btn-primary">See More</a>
</div>
</div>
</div>
<!-- New Card: Console CLI -->
<div class="col-md-4">
<div class="card">
<img src="/images/6.jpg" class="card-img-top" alt="Image">
<div class="card-body">
<h5 class="card-title">Console CLI</h5>
<p class="card-text">Use the CLI console to manage your SysMVC project.</p>
<a href="/home/console-cli" class="btn btn-primary">See More</a>
</div>
</div>
</div>
</div>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild('layout'); } ?>
@@ -1,97 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $this->yieldContent('title', 'Default Title'); ?></title>
<meta name="author" content="Marco Costa">
<meta name="description" content="SysMVC - PHP framework for website and app development.">
<meta name="copyright" content="© 2025 Marco Costa" />
<meta name="keywords" content="sites, web, development, framework, php, mit">
<meta name="robots" content="index,nofollow">
<!-- DataTables -->
<link href="DataTables/datatables.min.css" rel="stylesheet">
<script src="DataTables/datatables.min.js"></script>
<!-- Link to your custom CSS -->
<link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/jumbotron.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="/">SysMVC</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-white" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/crudexample">Blade - CRUD Example</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/twigexample">Twig - CRUD Example</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/readme">Readme</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/about">About</a>
</li>
<!-- Add more links as needed -->
</ul>
</div>
</nav>
<div class="container my-4">
<?php echo $this->yieldContent('content'); ?> <!-- The page content will be inserted here -->
</div>
<footer class="bg-dark text-white text-center p-3">
<p>© 2025 SysMVC 1.0 PHP Framework | <a href="https://opensource.org/licenses/MIT" class="text-white" target="_blank">License: MIT</a></p>
</footer>
<!-- Bootstrap Scripts -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="/js/jquery.slim.min.js"><\/script>')</script><script src="../js/bootstrap.bundle.min.js"></script>
<script>
$(document).ready(function() {
console.log('jQuery is working');
console.log('Bootstrap is working');
});
</script>
<!-- Cookie Consent Scripts -->
<link href="consent/cookieconsent.min.css" rel="stylesheet" type="text/css" />
<script src="consent/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#216942",
"text": "#b2d192"
},
"button": {
"background": "#afed71"
}
},
"content": {
"message": "We use essential cookies and similar technologies in accordance with our Terms of Use. By continuing to browse, you agree to these terms.",
"dismiss": "Accept",
"href": "consent/terms.html"
}
});
});
</script>
</body>
</html>
@@ -1,97 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $this->yieldContent('title', 'Default Title'); ?></title>
<meta name="author" content="Marco Costa">
<meta name="description" content="SysMVC - PHP framework for website and app development.">
<meta name="copyright" content="© 2025 Marco Costa" />
<meta name="keywords" content="sites, web, development, framework, php, mit">
<meta name="robots" content="index,nofollow">
<!-- DataTables -->
<link href="DataTables/datatables.min.css" rel="stylesheet">
<script src="DataTables/datatables.min.js"></script>
<!-- Link to your custom CSS -->
<link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/jumbotron.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="/">SysMVC</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-white" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/crudexample">Blade - CRUD Example</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/twigexample">Twig - CRUD Example</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/readme">Readme</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/about">About</a>
</li>
<!-- Add more links as needed -->
</ul>
</div>
</nav>
<div class="container my-4">
<?php echo $this->yieldContent('content'); ?> <!-- The page content will be inserted here -->
</div>
<footer class="bg-dark text-white text-center p-3">
<p>© 2025 SysMVC 1.0 PHP Framework | <a href="https://opensource.org/licenses/MIT" class="text-white" target="_blank">License: MIT</a></p>
</footer>
<!-- Bootstrap Scripts -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="/js/jquery.slim.min.js"><\/script>')</script><script src="../js/bootstrap.bundle.min.js"></script>
<script>
$(document).ready(function() {
console.log('jQuery is working');
console.log('Bootstrap is working');
});
</script>
<!-- Cookie Consent Scripts -->
<link href="consent/cookieconsent.min.css" rel="stylesheet" type="text/css" />
<script src="consent/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#216942",
"text": "#b2d192"
},
"button": {
"background": "#afed71"
}
},
"content": {
"message": "We use essential cookies and similar technologies in accordance with our Terms of Use. By continuing to browse, you agree to these terms.",
"dismiss": "Accept",
"href": "consent/terms.html"
}
});
});
</script>
</body>
</html>
@@ -1,97 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $this->yieldContent('title', 'Default Title'); ?></title>
<meta name="author" content="Marco Costa">
<meta name="description" content="SysMVC - PHP framework for website and app development.">
<meta name="copyright" content="© 2025 Marco Costa" />
<meta name="keywords" content="sites, web, development, framework, php, mit">
<meta name="robots" content="index,nofollow">
<!-- DataTables -->
<link href="DataTables/datatables.min.css" rel="stylesheet">
<script src="DataTables/datatables.min.js"></script>
<!-- Link to your custom CSS -->
<link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/jumbotron.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="/">SysMVC</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-white" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/crudexample">Blade - CRUD Example</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/twigexample">Twig - CRUD Example</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/readme">Readme</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="/about">About</a>
</li>
<!-- Add more links as needed -->
</ul>
</div>
</nav>
<div class="container my-4">
<?php echo $this->yieldContent('content'); ?> <!-- The page content will be inserted here -->
</div>
<footer class="bg-dark text-white text-center p-3">
<p>© 2025 SysMVC 1.0 PHP Framework | <a href="https://opensource.org/licenses/MIT" class="text-white" target="_blank">License: MIT</a></p>
</footer>
<!-- Bootstrap Scripts -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="/js/jquery.slim.min.js"><\/script>')</script><script src="../js/bootstrap.bundle.min.js"></script>
<script>
$(document).ready(function() {
console.log('jQuery is working');
console.log('Bootstrap is working');
});
</script>
<!-- Cookie Consent Scripts -->
<link href="consent/cookieconsent.min.css" rel="stylesheet" type="text/css" />
<script src="consent/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#216942",
"text": "#b2d192"
},
"button": {
"background": "#afed71"
}
},
"content": {
"message": "We use essential cookies and similar technologies in accordance with our Terms of Use. By continuing to browse, you agree to these terms.",
"dismiss": "Accept",
"href": "consent/terms.html"
}
});
});
</script>
</body>
</html>
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "sysmvc/sysmvc",
"description": "PHP Framework",
"description": "SysCMS",
"version": "1.0.0",
"date": "2025-03-08",
"authors": [
@@ -11,7 +11,7 @@
}
],
"license": "MIT",
"homepage": "https://sysmvc.duckdns.org",
"homepage": "https://sysmvc.syspanel.com.br",
"require": {
"illuminate/database": "^8.0",
"phpauth/phpauth": "^1.0",
-13
View File
@@ -1,13 +0,0 @@
CREATE TABLE `crudexample` (
`id` int NOT NULL AUTO_INCREMENT,
`company` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`address` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`phone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
+101
View File
@@ -0,0 +1,101 @@
-- phpMyAdmin SQL Dump
-- version 5.2.1deb1+deb12u1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Tempo de geração: 04/09/2026 às 17:49
-- Versão do servidor: 10.11.19-MariaDB-deb12
-- Versão do PHP: 8.2.33
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Banco de dados: `sysmvc`
--
-- --------------------------------------------------------
--
-- Estrutura para tabela `crudexample`
--
CREATE TABLE `crudexample` (
`id` int(10) UNSIGNED NOT NULL,
`company` varchar(50) NOT NULL,
`name` varchar(50) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(100) NOT NULL,
`address` varchar(50) NOT NULL,
`phone` varchar(50) NOT NULL,
`notes` text DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
--
-- Despejando dados para a tabela `crudexample`
--
INSERT INTO `crudexample` (`id`, `company`, `name`, `password`, `email`, `address`, `phone`, `notes`, `created_at`, `updated_at`) VALUES
(1, 'Pouros Ltd fdfd', 'Lorna Krajcik Mfdfds', '$2y$10$EdyNxptLpdW2Fmorox0CR.yk.19gsGLEnGvj.k94pWGVBUOtjS4U.', 'wanda.nikolaus@example.com', '81728 Bergstrom StravenuePort Domenic, OR 67570', '(580) 447-6276', 'Maxime vel ut beatae deserunt.', '2025-03-11 11:18:43', '2025-03-11 11:18:43'),
(2, 'Satterfield Ltd', 'Vella Pagac', '$2y$10$9B4EIt2FORhN11UMojthrOHujxvp556zRYsZx/KUVatJgDgba/ei.', 'jan34@example.org', '485 Kuphal Views Apt. 382East Yasmeen, IN 17761', '(469) 510-3173', 'Temporibus sint similique officiis vel.', '2025-03-11 11:18:43', '2025-03-11 11:18:43'),
(5, 'Schneider Inc', 'Winifred Gutmann', '$2y$10$ZR80sq06W6jYkWAY8hRXXeU4MPZFbbkKHLQytFeb02fvScCtuiLtG', 'jennifer.williamson@example.org', '66550 Anita Prairie\nCorkeryshire, UT 07427', '+1.954.295.4828', 'Vel odit rerum voluptatem voluptatem.', '2025-03-11 11:18:43', '2025-03-11 11:18:43'),
(6, 'Rempel PLC', 'Marion Gulgowski', '$2y$10$w0Gn3yB6vp202ykMZ4zmlOiHeOqEXF8PvPdEf7HhU.FIUu2O.ziEC', 'mariela.kautzer@example.net', '62819 Tremblay Crescent\nEast Rubenmouth, VT 72085-', '571.935.6026', 'Sunt quibusdam quasi nobis deserunt inventore qui non.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(7, 'Cronin Inc', 'Callie Goodwin', '$2y$10$J.w9jV0x9S751khLNV4e0eYeVYqAmpK1mJqthOLoP5zm3sEgUY1/a', 'haag.mercedes@example.net', '943 Becker Highway Suite 900\nDaltonburgh, IN 82320', '1-779-558-6158', 'Perferendis odio nisi neque labore rerum pariatur.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(8, 'Zboncak LLC', 'Garret Hayes', '$2y$10$7vsngZs0kRgvQmyjgHS/Uuw6iIlz4qKXIGivmPn0VY/o7dze9sCpy', 'dayne32@example.net', '52682 McCullough Summit Suite 741\nCarsonmouth, CO ', '1-920-563-8811', 'Praesentium accusamus temporibus magnam voluptatum maiores exercitationem natus.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(9, 'Rippin, Trantow and Wunsch', 'Mr. Celestino Hyatt', '$2y$10$7wOKlZb1FG4IRsm0Vr8HC.yuxw3y0LxEA3ez1ISY6K85.XfU2A1Kq', 'fcronin@example.net', '5429 Shanny Wall\nMertzborough, NE 51055-1764', '(650) 544-5503', 'Blanditiis earum accusantium dolores quia voluptatem quibusdam.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(10, 'Kunze-Wiegand', 'Esmeralda Maggio DVM', '$2y$10$A4r0OZGnYgoMscEGBpC5POxNTiH5FQn.BW.htomMBJH18AAmtL8n.', 'dcole@example.net', '74301 Schumm Prairie Suite 220\nNorth Ashtynfurt, M', '708.898.3185', 'Ullam omnis placeat est distinctio.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(11, 'Paucek LLC', 'Bret O\'Kon', '$2y$10$Lh/q27Jj7MyZafmDD4eUU.J4/85QP/CqGcu2InlbWTGCrRJld5ZlW', 'willy.buckridge@example.net', '2136 Quinton Manors Apt. 747\nZiemannmouth, OH 1069', '850.236.1104', 'Ipsam eum et impedit eveniet.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(12, 'Langosh, Klein and Gerlach', 'Joana Konopelski Costa', '$2y$10$.xFNZOPuhjoo2li/U5dMh.qUYCLBHrgXjG8kYPnH.hrw8oVQMDObm', 'kuhlman.abigail@example.com', '3765 Reba OvalMaiyahaven, CT 85546-0905', '+1.385.938.3359', 'Maxime alias dicta cum.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(13, 'Kuhic, Glover and Towne', 'Mr. Derick Klocko V', '$2y$10$CRWwbOT8Q0pMFrgrNUh5/ugoiMxrrr8QEeIkF/iNBn2dEtqOXiwOO', 'mcummings@example.org', '83100 Hayes Prairie\nEmilfort, TX 04239-8187', '1-820-858-4753', 'Officiis ad quo facilis inventore eaque ut.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(14, 'Renner, Ortiz and Mertz', 'Neal Bradtke', '$2y$10$iLEIVkH6YBlPm3cWOvgGYuzoellOa74K/vbS7fv2gb8IaxAe7slR6', 'junior.ondricka@example.com', '309 Philip Lakes Apt. 915\nSouth Mustafaville, SD 1', '+1-678-323-0964', 'Et similique quia incidunt fugit sit et.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(15, 'Luettgen-Jacobi', 'Cassandra Schimmel Jr.', '$2y$10$C13e1rWQ5oKhtOu0AbIAfu2HaqCO1DpYWLr6JWToQAfUzv6zxDlge', 'gwen.ankunding@example.net', '871 D\'Amore Lock Suite 720\nNew Martineborough, IA ', '458.378.4965', 'Recusandae quaerat tempore et officiis quis labore.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(16, 'Wunsch-Wolff', 'May Yundt', '$2y$10$xkPQ0mPA6MTz.0RvBpQ1L.1FIKo.9/yL8SC6B8e.QTyXEbYfKzK5S', 'cole.hans@example.org', '7248 Consuelo Street Suite 651\nYundtburgh, ND 1218', '848.471.3944', 'Id assumenda voluptate aspernatur suscipit illum.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(17, 'Maggio, Pagac and Thiel', 'Barton Lockman', '$2y$10$sSJHix64ONwyNc5ANh.Py.gooSuYGT.CAus1D5ZIS9ZsWh7505sZ6', 'claud.turcotte@example.org', '4148 Beier Prairie Suite 238\nNew Ashlee, NC 89737', '+1-719-366-2840', 'Sequi sit sint ratione assumenda.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(18, 'Raynor, Boyle and Grady', 'Mike Hoppe', '$2y$10$o57yTs6cIqoA7kaJ46NF1.IIlNCfJ8TjUMGXTVC7P1qnMxaqhrp3C', 'wilton04@example.net', '8888 Gleason Pine Apt. 947\nPort Reggiefurt, WY 400', '1-763-701-0412', 'Et accusamus blanditiis aliquam dolorum culpa harum pariatur.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(19, 'Dach, Heller and Krajcik', 'Celestine Pfannerstill', '$2y$10$s5swIPTDuMDaA2/QRITipu2J0eH4TzdDdZkCU7TozFRIXx0CxcCE2', 'imonahan@example.net', '6470 Buckridge Meadows Apt. 808\nPort Eve, WA 32034', '+1-580-715-2363', 'Eos quisquam sapiente et repellendus.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(20, 'Gibson Inc', 'Zetta Doyle', '$2y$10$q.RNMFghpH7J7DVQu7efaO.WbQy9/W7IBV2TenxPDMPwiIiECl3ZO', 'aglae.murphy@example.org', '657 Dickinson Plain Suite 337\nLake Flavieton, MT 2', '+1-814-688-2821', 'Non nihil laboriosam quidem non.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(21, 'Heidenreich-Ortiz', 'Mario Abshire', '$2y$10$BP9tISYiLiufzwoKKwIqteorDXUqTlpW6Yc9zfwOCSl8YbR1Jkh7O', 'mattie.pfeffer@example.net', '4774 Geo Oval Apt. 201\nPort Valliefort, MO 22910', '(234) 674-1757', 'Aperiam dolorem tenetur ut ipsam.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(22, 'Kemmer, Grant and Weissnat', 'Rowland Okuneva Sr.', '$2y$10$Nnfw472WN.DWBNXl6jqRhuBAxsPGW0pfA7PpQA0OEqLCGa6U5sR1e', 'kertzmann.cristian@example.com', '43391 Clemens Court\nSouth Bobbiemouth, IA 06443-20', '435.747.9706', 'Ea id qui adipisci error magni dolores.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(23, 'Walsh Inc', 'Lucious Sporer', '$2y$10$PYqZvrRk9BZPqzxDpudVD.zUseeldKdBsRpltEwiSYM12ZsdSqVmm', 'wilderman.margaretta@example.net', '25431 Ada Prairie Suite 468\nPort Emmetside, SC 990', '+1.281.336.8537', 'Quia omnis minus sit ea maiores.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(24, 'Koepp Inc', 'Domenico Cormier', '$2y$10$NXIWGFfYVKpMZbcGpiAsSuPMX52kvyJ77Q3mYhaS4v158SgKpoeWS', 'josefa35@example.net', '26328 Amaya Landing Suite 645\nGrahamview, WI 54418', '346-362-2567', 'Consequatur corrupti nobis quo ad sit officiis quam nam.', '2025-03-11 11:18:44', '2025-03-11 11:18:44'),
(25, 'Gorczany, Daugherty and Bode', 'Lessie Stark', '$2y$10$NlGsz8iM7gWik5.PDLECruPvgqfGpru/iiuRQz9a7ksXV8CBqsR.S', 'ukassulke@example.net', '27843 Legros Rapids\nLake Taniafurt, UT 86364', '+1-314-822-6486', 'Aut aut ut et ad.', '2025-03-11 11:18:45', '2025-03-11 11:18:45'),
(26, 'Price PLC', 'Eliane Cormier', '$2y$10$JzAV.V.VhgSnlxobXYjijemDCHQrsKYAOJIZ86x39eVWG6KVXkbt2', 'cale.koss@example.net', '256 Parisian Isle\nRitchiefort, NH 19476-2992', '(872) 365-4720', 'Similique rerum harum vel qui.', '2025-03-11 11:18:45', '2025-03-11 11:18:45'),
(27, 'Predovic-Gerlach', 'Dr. Noble Russel', '$2y$10$.GfHKjl9bP5q92O1euv3DeO2F2BFFuwOA9xxEJcErkNgT0AxVkN46', 'skyla41@example.com', '1018 Durgan Parkways Suite 049\nBalistreribury, ND ', '283-848-8919', 'Et aliquid magnam dolore sit maiores ratione.', '2025-03-11 11:18:45', '2025-03-11 11:18:45'),
(28, 'O\'Kon, Schoen and Sawayn', 'Carole Braun', '$2y$10$/Dk8XygEWGZPw4Oe116zGOtDrB7XlfwCYvbYlo1pKFtU5/FZixcOG', 'mia.reinger@example.net', '3301 Beahan Isle Suite 798\nLeonardoshire, NV 59999', '530.428.0717', 'Quia similique a dolore atque.', '2025-03-11 11:18:45', '2025-03-11 11:18:45'),
(29, 'Heidenreich PLC', 'Dr. Alf Spinka MD', '$2y$10$sfVeaKKz9Ypv4rytt9YcH.UmhXuwqTrZgCL.qOTvfu65A9o/JnzxW', 'dschaefer@example.org', '101 Koelpin Parks\nSouth Lexiefort, VT 94862-4801', '+1.551.443.2771', 'Laudantium temporibus perspiciatis maxime.', '2025-03-11 11:18:45', '2025-03-11 11:18:45'),
(30, 'Mayert Ltd', 'Lulu Heaney', '$2y$10$5UMEFXaIo4HF9HeidljU1ufNhddgEITYneUvTOY/SyaBdgF0cnTo6', 'wilber13@example.org', '999 Stoltenberg Mission Suite 165\nWilkinsonbury, L', '1-989-374-7160', 'Officia voluptatibus illum eum minima iusto sint in amet.', '2025-03-11 11:18:45', '2025-03-11 11:18:45');
--
-- Índices para tabelas despejadas
--
--
-- Índices de tabela `crudexample`
--
ALTER TABLE `crudexample`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `crudexample_email_unique` (`email`);
--
-- AUTO_INCREMENT para tabelas despejadas
--
--
-- AUTO_INCREMENT de tabela `crudexample`
--
ALTER TABLE `crudexample`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+14
View File
@@ -2210,3 +2210,17 @@
[2026-09-04T14:43:07.979793-03:00] app.INFO: Displaying the record with ID: 1. [] []
[2026-09-04T14:43:09.782276-03:00] app.INFO: Displaying the edit page for the record with ID: 1. [] []
[2026-09-04T14:53:02.894368-03:00] app.ERROR: Error when querying the database: SQLSTATE[HY000] [1045] Access denied for user 'sysmvc'@'localhost' (using password: YES) (SQL: select * from `crudexample`) [] []
[2026-09-04T14:54:43.444045-03:00] app.ERROR: Error when querying the database: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for database failed: Name or service not known (SQL: select * from `crudexample`) [] []
[2026-09-04T14:55:11.734076-03:00] app.ERROR: Error when querying the database: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for database failed: Name or service not known (SQL: select * from `crudexample`) [] []
[2026-09-04T15:00:21.053888-03:00] app.INFO: Displaying the CrudExampleController page. [] []
[2026-09-04T15:00:22.936923-03:00] app.INFO: Displaying the CrudExampleController page. [] []
[2026-09-04T15:00:26.098249-03:00] app.INFO: Editing record with ID: 1 [] []
[2026-09-04T15:00:29.434625-03:00] app.INFO: Displaying the CrudExampleController page. [] []
[2026-09-04T15:00:39.775560-03:00] app.INFO: Editing record with ID: 1 [] []
[2026-09-04T15:00:47.056202-03:00] app.INFO: Displaying the CrudExampleController page. [] []
[2026-09-04T15:00:58.769875-03:00] app.INFO: Displaying the TwigExampleController page. [] []
[2026-09-04T15:01:02.151612-03:00] app.INFO: Displaying the edit page for the record with ID: 2. [] []
[2026-09-04T15:01:06.811270-03:00] app.INFO: Record with ID: 2 updated successfully. [] []
[2026-09-04T15:01:06.824371-03:00] app.INFO: Displaying the TwigExampleController page. [] []
[2026-09-04T15:01:09.047869-03:00] app.INFO: Displaying the ReadMe page. [] []
[2026-09-04T15:02:25.429496-03:00] app.INFO: Displaying the ReadMe page. [] []