I made this blog while I was learning Symfony with my school. I wanted to practice CRUD, Symfony CLI mainly and security. Working features:
- CRUD
- Authentication/authorizations
- Roles hierarchy
- Filters (by author or category)
- Search bar
- Pagination
- Symfony 5.4
- Twig
- Bootstrap
- KnpPaginatorBundle
- Faker
-
After cloning the repo, run :
composer install
-
Specify your work environment :
DATABASE_URL="mysql://user_name:[email protected]:3306/database_name?serverVersion=mariadb-10.3.25" APP_ENV=dev
-
Load migragtions and fixtures :
php bin/console d:d:c php bin/console d:m:m php bin/console d:f:l
-
If needed, clear cache :
php bin/console cache:clear