This is a package holding core files specific to MVC based leaf frameworks like Leaf MVC and Leaf API. MVC core holds functionality like shortcut functions and helpers which can be used throughout your application.
You can quickly get leaf mvc core up and running with the leaf cli
leaf install mvc-core
or with composer
composer require leafs/mvc-core
You can include mvc core in earlier versions of Leaf MVC and Leaf API manually simply by removing the already existing Config/functions.php
and Config/bootstrap.php
files. That's it.
Basically, MVC Core provides everything you need to transform your basic leaf app into a full-blown MVC framework without manually pulling in dependencies from all over the internet. Leaf MVC core is basically tailored to Leaf and binds all separate MVC features together.
MVC Core comes with:
- Api Controllers
- Controllers
- Database & Models
- Factories
- Models
- Schemas
- Tons of MVC and module globals
The full documentation is covered in Leaf MVC and Leaf API, as well as Skeleton. This is because MVC core is used together with Leaf MVC, Leaf API and Skeleton.
- Leaf has a very easy to understand documentation which contains information on all operations in Leaf.
- You can also check out our youtube channel which has video tutorials on different topics
- We are also working on codelabs which will bring hands-on tutorials you can follow and contribute to.
We are glad to have you. All contributions are welcome! To get started, familiarize yourself with our contribution guide and you'll be ready to make your first pull request 🚀.
To report a security vulnerability, you can reach out to @mychidarko or @leafphp on twitter. We will coordinate the fix and eventually commit the solution in this project.
Your cash contributions go a long way to help us make Leaf even better for you. You can sponsor Leaf and any of our packages on open collective or check the contribution page for a list of ways to contribute.
And to all our existing cash/code contributors, we love you all ❤️