mmv / fw-example
Example web application
3.0.0
2021-04-23 15:09 UTC
Requires
- php: ^7.4.12|^8.0
- illuminate/database: ^8.19
- illuminate/encryption: ^8.19
- illuminate/events: ^8.19
- illuminate/filesystem: ^8.19
- illuminate/hashing: ^8.19
- illuminate/validation: ^8.19
- maximebf/debugbar: ^1.16
- mmv/auth-low: ^3.0
- mmv/fw-core: ^4.0
- monolog/monolog: ^2.1
- ramsey/uuid: ^4.1
- swiftmailer/swiftmailer: ^6.0
- symfony/cache: ^5.2
- symfony/console: ^5.2
- symfony/dotenv: ^5.2
- symfony/error-handler: ^5.2
- symfony/finder: ^5.2
- symfony/http-foundation: ^5.2
- symfony/routing: ^5.2
- twig/twig: ^3.0
This package is not auto-updated.
Last update: 2024-04-20 05:28:52 UTC
README
Install
$ composer require mmv/fw-example
Copy the contents of the vendor/mmv/fw-example/copy
to the root of the project.
Add to composer.json
for section autoload
:
{
"autoload": {
"psr-4": {
"App\\": "App/"
}
}
}
Update pathes for composer:
$ composer dump-autoload
Set the php process write/read
permissions to the storage folder.
Copy file config/.env-example
as config/.env
.
Create string for APP_KEY
in the .env file, for this run the console command in the project root:
$ php bin/console.php key-generate config/.env
Configure the config/.env
file by specifying the database connection parameters and host parameters.
Run migrations:
$ php bin/console.php migrate:run
Create new user for administration:
$ php bin/console.php new-user <email> <login>
Open public/index.php
in the browser.