diff --git a/.env b/.env index 898d2c3..98cd701 100644 --- a/.env +++ b/.env @@ -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" + diff --git a/cache/crudexample.create_131f97ce10c031ed037031e0e52c6e8c42aab5be.bladec b/cache/crudexample.create_131f97ce10c031ed037031e0e52c6e8c42aab5be.bladec deleted file mode 100755 index c058045..0000000 --- a/cache/crudexample.create_131f97ce10c031ed037031e0e52c6e8c42aab5be.bladec +++ /dev/null @@ -1,52 +0,0 @@ - - -startSection('title', 'Crud Example Create'); ?> - -startSection('content'); ?> -
-

Blade - Crud Example New Item

- - - -
- - -
- - -
- -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- -
-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/crudexample.edit_af3087646c3322691eb28ea32da0d08678d50545.bladec b/cache/crudexample.edit_af3087646c3322691eb28ea32da0d08678d50545.bladec deleted file mode 100755 index c8348f1..0000000 --- a/cache/crudexample.edit_af3087646c3322691eb28ea32da0d08678d50545.bladec +++ /dev/null @@ -1,52 +0,0 @@ - - -startSection('title', 'Crud Example Edit'); ?> - -startSection('content'); ?> -
-

Blade - Crud Example Edit

-
- - -
- - -
-
- - - Show Password - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- -
-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/crudexample.index_a3e8efc0a7016af4026f3385ceba60150a67c43e.bladec b/cache/crudexample.index_a3e8efc0a7016af4026f3385ceba60150a67c43e.bladec deleted file mode 100644 index 342d361..0000000 --- a/cache/crudexample.index_a3e8efc0a7016af4026f3385ceba60150a67c43e.bladec +++ /dev/null @@ -1,46 +0,0 @@ - - -startSection('title', 'Crud Example List'); ?> - -startSection('content'); ?> -
-
-

Blade - Crud Example List

- Add New Item -
-
- - - - - - - - - - - addLoop($__currentLoopData);$this->getFirstLoop(); - foreach($__currentLoopData as $item): $loop = $this->incrementLoopIndices(); ?> - - - - - - - popLoop(); $loop = $this->getFirstLoop(); ?> - -
IDNameCompanyActions
- View - Edit - - -
- - -
-
-
-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/crudexample.index_b9a4453a28d7fa64a3baa9da79321256182f4d8c.bladec b/cache/crudexample.index_b9a4453a28d7fa64a3baa9da79321256182f4d8c.bladec deleted file mode 100755 index 342d361..0000000 --- a/cache/crudexample.index_b9a4453a28d7fa64a3baa9da79321256182f4d8c.bladec +++ /dev/null @@ -1,46 +0,0 @@ - - -startSection('title', 'Crud Example List'); ?> - -startSection('content'); ?> -
-
-

Blade - Crud Example List

- Add New Item -
-
- - - - - - - - - - - addLoop($__currentLoopData);$this->getFirstLoop(); - foreach($__currentLoopData as $item): $loop = $this->incrementLoopIndices(); ?> - - - - - - - popLoop(); $loop = $this->getFirstLoop(); ?> - -
IDNameCompanyActions
- View - Edit - - -
- - -
-
-
-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/crudexample.show_7b0e79ce3cc500f2bbcbc8483a73a7ac0a94593a.bladec b/cache/crudexample.show_7b0e79ce3cc500f2bbcbc8483a73a7ac0a94593a.bladec deleted file mode 100755 index 00a97bf..0000000 --- a/cache/crudexample.show_7b0e79ce3cc500f2bbcbc8483a73a7ac0a94593a.bladec +++ /dev/null @@ -1,50 +0,0 @@ - - -startSection('title', 'Crud Example Show'); ?> - -startSection('content'); ?> -
-

Blade - Crud Example Show

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ID
Name
Company
Address
Phone
Email
Notes
- Edit - - -
- - -
- - Back to List -
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.about_03561e09a1fc8a0d775ef4fd1ce34c3f16625ea8.bladec b/cache/home.about_03561e09a1fc8a0d775ef4fd1ce34c3f16625ea8.bladec deleted file mode 100755 index dae2182..0000000 --- a/cache/home.about_03561e09a1fc8a0d775ef4fd1ce34c3f16625ea8.bladec +++ /dev/null @@ -1,26 +0,0 @@ - - -startSection('title', 'About'); ?> - -startSection('content'); ?> -
-

About Us

-

Welcome to SysMVC - PHP Framework!

-

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.

-

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.

-

If you have any questions or need support, feel free to contact us. We are here to help!

-

Marco Costa

-

Developer and Creator of SysMVC

-

Official website: sysmvc.syspanel.com.br

-

Contact email: syspanel@gmx.com

-

Github: https://github.com/syspanel/SysMVC.git

- ## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.app-development_c7d3404ba2a3d0b502efda2772c5288d077416b6.bladec b/cache/home.app-development_c7d3404ba2a3d0b502efda2772c5288d077416b6.bladec deleted file mode 100755 index 1afdcfe..0000000 --- a/cache/home.app-development_c7d3404ba2a3d0b502efda2772c5288d077416b6.bladec +++ /dev/null @@ -1,52 +0,0 @@ - - -startSection('title', 'App Development with SysMVC'); ?> - -startSection('content'); ?> -
-

App Development with SysMVC

-

How to use SysMVC as a base for application development.

- -

SysMVC is a flexible and powerful framework, perfect for serving as the foundation for developing modern web applications.

- -

Modular Structure

-

SysMVC allows you to create independent modules, making it easier to organize your code and maintain the project.

- -

Simple Routing

-

With SysMVC's router, you can define your routes in a simple and intuitive way:

-

-Router::get('/home', 'HomeController@index');
-Router::post('/client', 'ClientController@store');
- 
- -

Template Rendering

-

Use BladeOne to efficiently and neatly render your templates:

-

-echo $blade->run("home.index", ["clients" => $clients]);
- 
- -

With these tools, SysMVC provides a solid foundation for developing robust and scalable web applications.

- -

- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Contact

-

If you're interested in SysMVC, get in touch:

- - - ## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.console-cli_dcddad4f2472192950b28dbb814a8f861875162a.bladec b/cache/home.console-cli_dcddad4f2472192950b28dbb814a8f861875162a.bladec deleted file mode 100755 index 3b07123..0000000 --- a/cache/home.console-cli_dcddad4f2472192950b28dbb814a8f861875162a.bladec +++ /dev/null @@ -1,90 +0,0 @@ - - -startSection('title', 'Console CLI'); ?> - -startSection('content'); ?> -
-

Console CLI

-

The SysMVC CLI console, based on Symfony Console, allows you to efficiently manage your project using command-line commands.

- -

Useful Commands

- - -

Extending with More Commands

-

The Symfony Console allows you to create and extend custom commands. Here is an example of how to create a custom command:

-
- 
- // 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;
- }
- }
- 
- 
- -

To register the command, add it to the service in the config/services.yaml file:

-
- 
- # config/services.yaml
- services:
- App\Command\SayHelloCommand:
- tags: ['console.command']
- 
- 
- -

Now you can execute the custom command:

-
- 
- $ php bin/console app:say-hello
- 
- 
- -

For more information about available commands and how to create custom commands, check the Symfony Console documentation.

-
- - -

- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Contact

-

If you're interested in SysMVC, get in touch:

- - -
- ## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.database_cd9f67c6d9a4153b3d55ca4a2f92c837320dfb67.bladec b/cache/home.database_cd9f67c6d9a4153b3d55ca4a2f92c837320dfb67.bladec deleted file mode 100755 index d55cb0a..0000000 --- a/cache/home.database_cd9f67c6d9a4153b3d55ca4a2f92c837320dfb67.bladec +++ /dev/null @@ -1,68 +0,0 @@ - - -startSection('title', 'Database Usage'); ?> - -startSection('content'); ?> -
-

Database Usage

-

CRUD Example with SysMVC.

- -

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.

- -

CRUD Example

-

Below is a basic example of CRUD operations:

- -

Creating a Record

-

-$client = new Client();
-$client->name = 'Client Name';
-$client->email = 'email@example.com';
-$client->save();
- 
- -

Reading Records

-

-$clients = Client::all();
-foreach ($clients as $client) {
- echo $client->name;
-}
- 
- -

Updating a Record

-

-$client = Client::find(1);
-$client->name = 'New Name';
-$client->save();
- 
- -

Deleting a Record

-

-$client = Client::find(1);
-$client->delete();
- 
- -

With these examples, you can see how easy it is to work with databases using SysMVC.

-

- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Contact

-

If you're interested in SysMVC, get in touch:

- - -## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

- -
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.dependency-injection_40a7ac7bb688a77a0c233084d3ba55644863b74b.bladec b/cache/home.dependency-injection_40a7ac7bb688a77a0c233084d3ba55644863b74b.bladec deleted file mode 100755 index 91bf9bc..0000000 --- a/cache/home.dependency-injection_40a7ac7bb688a77a0c233084d3ba55644863b74b.bladec +++ /dev/null @@ -1,63 +0,0 @@ - - -startSection('title', 'Dependency Injection with PHP-DI'); ?> - -startSection('content'); ?> -
-

Dependency Injection with PHP-DI

-

How to use PHP-DI in SysMVC.

- -

SysMVC uses the PHP-DI library to manage dependency injection. This allows you to write more modular and testable code.

- -

Basic Configuration

-

To configure PHP-DI, you can create a di-config.php file with the definitions of your dependencies:

-
addDefinitions([
- // Define your dependencies here
- ClientRepository::class => \DI\create(MySqlClientRepository::class),
- ]);
- };'??'', ENT_QUOTES, 'UTF-8', false); ?>
- -

Usage

-

To use dependency injection in your classes, simply pass the dependencies through the constructor:

-
clientRepository = $clientRepository;
- }
- 
- public function getClients() {
- return $this->clientRepository->findAll();
- }
- }'??'', ENT_QUOTES, 'UTF-8', false); ?>
- -

With dependency injection, you can easily swap implementations and keep your code decoupled and more testable.

- -

- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Contact

-

If you're interested in SysMVC, get in touch:

- - - ## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

-
-stopSection(); ?> - - - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.details_1635da5ee92224e8b6ecdf53388e6a7fc6386309.bladec b/cache/home.details_1635da5ee92224e8b6ecdf53388e6a7fc6386309.bladec deleted file mode 100755 index c4c13b9..0000000 --- a/cache/home.details_1635da5ee92224e8b6ecdf53388e6a7fc6386309.bladec +++ /dev/null @@ -1,84 +0,0 @@ - - -startSection('title', 'Learn More About SysMVC'); ?> - -startSection('content'); ?> -
- - - SysMVC - -

-

SysMVC - PHP Framework

-
- -

Welcome to SysMVC - PHP Framework!

-

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.

-

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.

-

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.

- -

Main Features

- -
-

MIT License

-

SysMVC is licensed under the MIT License, which allows wide freedom of use and distribution. Here is the full text of the license:

-
-
-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.
- 
- -

- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Contact

-

If you're interested in SysMVC, get in touch:

- - -
- ## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

- -
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.readme_a5a72e6d1fce588c9467a65bb5a9924d7a6f75df.bladec b/cache/home.readme_a5a72e6d1fce588c9467a65bb5a9924d7a6f75df.bladec deleted file mode 100755 index c9ad17b..0000000 --- a/cache/home.readme_a5a72e6d1fce588c9467a65bb5a9924d7a6f75df.bladec +++ /dev/null @@ -1,156 +0,0 @@ - - -startSection('title', 'Project Information'); ?> - -startSection('content'); ?> -
-

SysMVC - PHP Framework

- -
- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Project Information

-

SysMVC is a system developed by Marco Costa (syspanel@gmx.com), with source code licensed under the MIT License.

-

This software is offered for free and can be used, modified, and distributed under the terms of the MIT License.

-

Project website: https://sysmvc.syspanel.com.br

- ## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

- -
- -

🚀 Installation Tutorial

- -

✅ Prerequisites

- - -

🔧 Step-by-Step

- -

1️⃣ Unzip the File

-

Download and unzip the SysMVC file to your local environment:

-
unzip sysmvc.zip -d sysmvc
-cd sysmvc
- 
- -

2️⃣ Install the Dependencies

-

Use Composer to install the project dependencies:

-
composer install
- 
- -

3️⃣ Configure the Environment

-

Copy the .env.example file to .env and configure your environment variables:

-
cp .env.example .env
- 
- -

Open the .env file and edit the following lines with your information:

-
DB_CONNECTION=mysql
-DB_HOST=127.0.0.1
-DB_PORT=3306
-DB_DATABASE=your_database
-DB_USERNAME=your_username
-DB_PASSWORD=your_password
- 
- -

4️⃣ Set Permissions

-

Change the permissions of the storage and cache directories to ensure the web server can write to them:

-
chmod -R 775 storage
-chmod -R 775 bootstrap/cache
- 
- -

5️⃣ Generate the Application Key

-
php bin/console generate:app-key
- 
- -

6️⃣ Run the Migrations

-

Run the migrations to create the tables in the database:

-
php bin/console migrate:crudexample
- 
- -

7️⃣ Configure the Web Server

- -
📌 Apache
-

Add the following configuration to your Apache configuration file:

-
<VirtualHost *:80>
- ServerName sysmvc.local
- DocumentRoot /path/to/sysmvc/public
-
- <Directory /path/to/sysmvc/public>
- AllowOverride All
- Require all granted
- </Directory>
-</VirtualHost>
- 
- -
📌 Nginx
-

Add the following configuration to your Nginx configuration file:

-
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;
- }
-}
- 
- -
- -

📦 Dependencies Used

-

The project uses the following third-party packages, each with its respective license:

- -

✅ Packages with MIT License

- - -
- -

📜 Terms of Use

-

This project is licensed under the MIT License.

-

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.

-

The Software is provided "as is", without any warranty of any kind. For more details, please consult the MIT License.

-

For more information, contact: sysmvc@syspanel.com.br

- -

© 2025 Marco Costa - All rights reserved under the MIT License.

-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.security_a8863fd4006a715d4beab35500ce0daa0e44194d.bladec b/cache/home.security_a8863fd4006a715d4beab35500ce0daa0e44194d.bladec deleted file mode 100755 index 7c66bbc..0000000 --- a/cache/home.security_a8863fd4006a715d4beab35500ce0daa0e44194d.bladec +++ /dev/null @@ -1,41 +0,0 @@ - - -startSection('title', 'Security'); ?> - -startSection('content'); ?> -
-

Security

-

We have implemented several security measures in SysMVC to protect your application against threats. Here are some of the implementations:

-

CSRF Protection

-

We use CSRF tokens to protect against Cross-Site Request Forgery attacks.

-

Data Sanitization

-

All input and output data are sanitized to prevent code injections and other attacks.

-

Security Headers

-

We add HTTP security headers to protect against attacks like clickjacking and MIME-type sniffing.

-

For more information about security, refer to the OWASP documentation.

-
- -

- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Contact

-

If you're interested in SysMVC, feel free to contact us:

- - -
-

Donations via PAYPAL

-## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home.templates-blade_575eb2851ff825a1ddc807e6acd0a7c0d1db8730.bladec b/cache/home.templates-blade_575eb2851ff825a1ddc807e6acd0a7c0d1db8730.bladec deleted file mode 100755 index 02c7668..0000000 --- a/cache/home.templates-blade_575eb2851ff825a1ddc807e6acd0a7c0d1db8730.bladec +++ /dev/null @@ -1,52 +0,0 @@ - - -startSection('title', 'SysMVC Advantages - Blade, Twig, and Pure PHP'); ?> - -startSection('content'); ?> -
-

SysMVC: Support for Blade, Twig, and Pure PHP

-

SysMVC is a versatile PHP framework that supports three template rendering methods: Blade, Twig, and Pure PHP. This flexibility allows developers to choose the tool that best suits their needs, providing several advantages.

- -

Blade Advantages

-

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.

-

For more information, refer to the official Blade documentation.

- -

Twig Advantages

-

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.

-

For more information, refer to the official Twig documentation.

- -

Pure PHP Advantages

-

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 include 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.

-

Example of using pure PHP in SysMVC:

-
include('page.php');
- -

Why Choose SysMVC?

-

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.

- -

Conclusion

-

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.

-
- -

- -

Github: https://github.com/syspanel/SysMVC.git

- -

- -

Contact

-

If you're interested in SysMVC, feel free to contact us:

- - -## Donations via PayPal - -If you wish to support the development of SysMVC, consider making a donation via PayPal to: - -

Donations via PAYPAL

-

If you wish to support the development of SysMVC, consider making a donation via PAYPAL to Donate via PayPal

-stopSection(); ?> - - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home_13ba8928d2626bc19d159b63a2840fcd5dc5fc90.bladec b/cache/home_13ba8928d2626bc19d159b63a2840fcd5dc5fc90.bladec deleted file mode 100644 index cee727d..0000000 --- a/cache/home_13ba8928d2626bc19d159b63a2840fcd5dc5fc90.bladec +++ /dev/null @@ -1,87 +0,0 @@ - - -startSection('title', 'SysMVC - PHP Framework'); ?> - -startSection('content'); ?> -
-

Welcome to SysMVC

-

PHP framework for website and app development.

- Learn More Details -
- -
-
-
- Image -
-
Database Usage
-

Learn how to use the database in SysMVC with CRUD examples.

- See More -
-
-
-
-
- Image -
-
Dependency Injection
-

Learn how to use dependency injection with PHP-DI in SysMVC.

- See More -
-
-
-
-
- Image -
-
App Projects
-

See how to use SysMVC as a base for application development.

- See More -
-
-
-
- -
- -
- -
-
- Image -
-
Blade & Twig Templates Engine
-

Learn more about using Blade and/or Twig templates with SysMVC.

- See More -
-
-
- - - -
-
- Image -
-
Security
-

Security implementations in SysMVC.

- See More -
-
-
- - -
-
- Image -
-
Console CLI
-

Use the CLI console to manage your SysMVC project.

- See More -
-
-
-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home_6e120cc9acc88bff03fde36dfe633a1bfbc6aaca.bladec b/cache/home_6e120cc9acc88bff03fde36dfe633a1bfbc6aaca.bladec deleted file mode 100644 index cee727d..0000000 --- a/cache/home_6e120cc9acc88bff03fde36dfe633a1bfbc6aaca.bladec +++ /dev/null @@ -1,87 +0,0 @@ - - -startSection('title', 'SysMVC - PHP Framework'); ?> - -startSection('content'); ?> -
-

Welcome to SysMVC

-

PHP framework for website and app development.

- Learn More Details -
- -
-
-
- Image -
-
Database Usage
-

Learn how to use the database in SysMVC with CRUD examples.

- See More -
-
-
-
-
- Image -
-
Dependency Injection
-

Learn how to use dependency injection with PHP-DI in SysMVC.

- See More -
-
-
-
-
- Image -
-
App Projects
-

See how to use SysMVC as a base for application development.

- See More -
-
-
-
- -
- -
- -
-
- Image -
-
Blade & Twig Templates Engine
-

Learn more about using Blade and/or Twig templates with SysMVC.

- See More -
-
-
- - - -
-
- Image -
-
Security
-

Security implementations in SysMVC.

- See More -
-
-
- - -
-
- Image -
-
Console CLI
-

Use the CLI console to manage your SysMVC project.

- See More -
-
-
-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/home_c3e20cca6a65237ff4814aca14e321d0b6401e37.bladec b/cache/home_c3e20cca6a65237ff4814aca14e321d0b6401e37.bladec deleted file mode 100755 index cee727d..0000000 --- a/cache/home_c3e20cca6a65237ff4814aca14e321d0b6401e37.bladec +++ /dev/null @@ -1,87 +0,0 @@ - - -startSection('title', 'SysMVC - PHP Framework'); ?> - -startSection('content'); ?> -
-

Welcome to SysMVC

-

PHP framework for website and app development.

- Learn More Details -
- -
-
-
- Image -
-
Database Usage
-

Learn how to use the database in SysMVC with CRUD examples.

- See More -
-
-
-
-
- Image -
-
Dependency Injection
-

Learn how to use dependency injection with PHP-DI in SysMVC.

- See More -
-
-
-
-
- Image -
-
App Projects
-

See how to use SysMVC as a base for application development.

- See More -
-
-
-
- -
- -
- -
-
- Image -
-
Blade & Twig Templates Engine
-

Learn more about using Blade and/or Twig templates with SysMVC.

- See More -
-
-
- - - -
-
- Image -
-
Security
-

Security implementations in SysMVC.

- See More -
-
-
- - -
-
- Image -
-
Console CLI
-

Use the CLI console to manage your SysMVC project.

- See More -
-
-
-
-stopSection(); ?> - -runChild('layout'); } ?> \ No newline at end of file diff --git a/cache/layout_56ac544973bfff9e6c00c452396225fce53b9d55.bladec b/cache/layout_56ac544973bfff9e6c00c452396225fce53b9d55.bladec deleted file mode 100755 index 3425667..0000000 --- a/cache/layout_56ac544973bfff9e6c00c452396225fce53b9d55.bladec +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - <?php echo $this->yieldContent('title', 'Default Title'); ?> - - - - - - - - - - - - - - - - - - - - -
- yieldContent('content'); ?> -
- - - - - - - - - - - - - - - - - diff --git a/cache/layout_61d625cce8d73fa5a4bdd25fd2592bba4196d57c.bladec b/cache/layout_61d625cce8d73fa5a4bdd25fd2592bba4196d57c.bladec deleted file mode 100644 index 3425667..0000000 --- a/cache/layout_61d625cce8d73fa5a4bdd25fd2592bba4196d57c.bladec +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - <?php echo $this->yieldContent('title', 'Default Title'); ?> - - - - - - - - - - - - - - - - - - - - -
- yieldContent('content'); ?> -
- - - - - - - - - - - - - - - - - diff --git a/cache/layout_c675d3c0958e134a30d03f96711e91b560ce4860.bladec b/cache/layout_c675d3c0958e134a30d03f96711e91b560ce4860.bladec deleted file mode 100644 index 3425667..0000000 --- a/cache/layout_c675d3c0958e134a30d03f96711e91b560ce4860.bladec +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - <?php echo $this->yieldContent('title', 'Default Title'); ?> - - - - - - - - - - - - - - - - - - - - -
- yieldContent('content'); ?> -
- - - - - - - - - - - - - - - - - diff --git a/composer.json b/composer.json index 4860a0f..e6d0d18 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/database/crudexample.sql b/database/crudexample.sql deleted file mode 100755 index 692ec69..0000000 --- a/database/crudexample.sql +++ /dev/null @@ -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; diff --git a/database/syscms.sql b/database/syscms.sql new file mode 100644 index 0000000..17b83e6 --- /dev/null +++ b/database/syscms.sql @@ -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 */; diff --git a/logs/app.log b/logs/app.log index c09f0b7..5964559 100755 --- a/logs/app.log +++ b/logs/app.log @@ -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. [] []