- https://packagist.org/packages/vlucas/phpdotenv
- https://packagist.org/packages/josantonius/session
- https://packagist.org/packages/ramsey/uuid
- https://packagist.org/packages/symfony/http-foundation
- https://packagist.org/packages/catfan/medoo
"autoload": {
"psr-4": {"Codebase\\": "app/"}
}
- folder
app
with files having namespaceCodebase
- After adding the autoload snippet, use command
composer dump-autoload
in docker cli. - GOTO
src
folder and change files/folders permission :sudo chown -R <your_file_owner_user_name> ./ && chgrp -R <your_file_owner_group_name> ./
- Use command :
php bin/console database:init
to populate DB with data
router.php
: Defined routes in arrayloader.php
: Handle application logicsbin/console
: CLI to run command - add more command in file to trigger specific actionassets
: JS & CSSview
: Consist of layouts fileapp/Fixtures/DataFixtures.php
: Data to be populated in DBapp/Managers/DbManager.php
: Singleton for DB connectionapp/Managers/ViewManager.php
: Process the view file to be displayedapp/Services/UserManagementService.php
: DB queries service