π Larabye π
Larabye is a mini PHP framework inspired from laravel features, created by Mouad ZIANI (ROMAC)
Installation
Requirements
- PHP >= 7.2
- mod_rewrite enabled
- Composer installed
Download
Clone $ git clone https://github.com/mouadziani/Larabye.git
or download the zip folder.
Setup
if you used the the download button unzip the folder and then open it, you can use the following commands if you like terminal:
$ cd Larabye-master
Then run composer to install dependecies
$/ Larabye-master composer install
Now it's all done, you only need to create a database and change configurations in app/config.php to match your server's configuration, for example:
/*
* Database Configuration
*/
$dbName = 'larabye_db';
$host = 'localhost';
$userName = 'root';
$password = 'root';
Architecture
Larabye is easy to use and understand, if you still have a doubt about how PHP/MVC works, you can use this framework to give you a push forward.
βββ app
β βββ controllers
β β βββ HomeController.php
β β βββ UserController.php
β βββ core
β β βββ App.php
β β βββ Controller.php
β βββ helpers
β β βββ Dao.php
β β βββ helper.php
β βββ models
β β βββ User.php
β βββ views
β β βββ partials
β β β βββ _header.php
β β β βββ _footer.php
β β β βββ _sub_footer.php
β β βββ users
β β β βββ index.php
β β β βββ create.php
β β β βββ edit.php
β β βββ home.php
β βββ init.php
β βββ database.php
β βββ .htaccess
βββ composer.json
βββ public
β βββ css
β β βββ *.css
β βββ fonts/..
β βββ imgs/..
β βββ js
β β βββ *.
β βββ .htaccess
β βββ index.php
βββ .gitignore
βββ composer.json
βββ LICENCE
βββ README.md
License
Larabye is licensed under the MIT license.
Note
This project was made for 8.19
feautred_repository