Home

Awesome

<p align="center"> <br><br> <img src="https://leaf-docs.netlify.app/images/logo.png" height="100"/> <h1 align="center">Leaf MVC</h1> <br> <br><br><br> </p>

Latest Stable Version Total Downloads License

Leaf

LeafMVC is a simple MVC framework built on top of the leaf php micro-framework. LeafMVC lets you create clean but powerful web apps and APIs quickly. Leaf provides simple to use functions to take care of complex issues, eventually speeding up development and taking the pain out of development.

Installation

It's recommended that you use Composer to install Leaf.

composer create project leafs/mvc <project-name>

This will start a new LeafMVC app.

Basic Info

C:.
├───app
│   ├───console
│   ├───controllers
│   │   └───Auth
│   ├───database
│   │   ├───factories
│   │   ├───migrations
│   │   └───seeds
│   ├───helpers
│   ├───models
│   ├───routes
│   └───views
│       ├───assets
│       │   ├───css
│       │   ├───images
│       │   ├───js
│       │   └───sass
│       ├───components
│       └───pages
│           └───errors
├───config
│   └───command
├───public
├───storage
│   ├───app
│   │   └───public
│   ├───framework
│   │   └───views
│   └───logs
└───vendor

This directory structure is a blend of Ruby on Rails and Laravel

To run your LeafMVC application, use

php leaf serve

Learning LeafMVC

LeafMVC has a very easy to understand documentation which contains information on all operations in LeafMVC.

Since LeafMVC runs on Leaf, you can check out the Leaf PHP Framework documentation here.

License

The LeafMVC framework is open-source software licensed under the MIT license.

View LeafMVC's docs here

View Leaf's docs here