/Larabye

🎉 Larabye (Laravel + Rockabye) is a mini PHP starter / framework inspired from laravel features

Primary LanguagePHPMIT LicenseMIT

🎉 Larabye 🎉

PHP Min GitHub license PRs welcome code with hearth by ZIANI Mouad (ROMAC)

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