Simply application following the documentation from Symfony related with User registration - authentication - routing access
Clone the project and execute composer install.
composer install
- PHP 7.2
- Mysql
- Composer
Modify .env file with your database information.
Create the database and tables:
php bin/console doctrine:database:create
php bin/console make:migration
php bin/console doctrine:migrations:migrate
Turn on the dev server:
php -S 127.0.0.1:8000 -t public
When you register in the application, the user by the default is disabled, you need to change the row "is_active" in the table "app_users" to 1.
The application has one public route /privacy-policy and one private route /private.
- VGzsysadm - https://sysadm.es - @VGzsysadm