Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Latest commit

 

History

History
87 lines (76 loc) · 2.93 KB

File metadata and controls

87 lines (76 loc) · 2.93 KB

🎉 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