Routing:
$router->get('', 'PagesController@home');
$router->post('posts', 'PostsController@store');
Database connection:
Connection::make($config = App::get('config')['database'])
Query builder:
App::get('database')->selectAll('posts', 'Post');
App::get('database')->insert('posts', [
'title' => $_POST['title']
]);
Namespaces
namespace Phanton\Core;
MVC Architecture
ES6+ Features and SCSS support
- Webpack
- Webpack-cli
composer install
npm install
php -S localhost:2808