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

Latest commit

Β 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ‰ 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

About

πŸŽ‰ Larabye (Laravel + Rockabye) is a mini PHP starter / framework inspired from laravel features

Topics

Resources

Stars

29 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages