Young framework is a php mvc web application framework
Features
-
Easy to use and flexile
-
Simple Routing system
-
Built in template engine named Primal
-
Build in ORM and query builder library
-
Middlewares
-
Lightweight and fast
Installation
Execute below commands
composer create-project develhopper/young
Initialize project directories
php young init
Run default migrations: for user authentication
php young migrate create_users_table
Apache configuration
set root directory to public directory
example apache config:
<VirtualHost *:80>
ServerName lofi.lc
ServerAlias *.lofi.lc
DocumentRoot /var/www/localhost/htdocs/young/public
<Directory /var/www/localhost/htdocs/young/public>
Options FollowSymLinks
AllowOverride All
DirectoryIndex index.php
Require all granted
Header set Access-Control-Allow-Origin "*"
</Directory>
</VirtualHost>
Documentation
Read the documentation
soon