Core files specific to MVC based leaf frameworks like Leaf MVC and Leaf API.

v1.3.0 2023-08-08 09:37 UTC

This package is auto-updated.

Last update: 2024-04-12 21:00:06 UTC



Leaf MVC Core

Latest Stable Version Total Downloads License

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.

📦 Installation

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

Including in earlier versions

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.

🗂 Basic Usage

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.

🧩 Components

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.

💬 Stay In Touch

📓 Learning Leaf 3

  • 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.

😇 Contributing

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.

🤩 Sponsoring Leaf

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 ❤️


🤯 Links/Projects