Understanding MVC in PHP
- Class
- Namespace
- Autoloading using the standard PHP library
- Extraction
- Routes and Router
- Controllers
- Handling HTTP Requests
- Service Container
- Composer
- Testing
- Code refactoring
- SQL
- PDO
After cloning, create a config.php at the directory with these contents. You can use the parameters from your Database.
<?php
return [
'database'=> [
'dbname' => 'myapp',
'host' => '127.0.0.1',
'port' => 3306,
'charset' => 'utf8mb4'
]
];