PHP made even simpler! Leaf is a simple but powerful web framework suitable for both pro devs and beginners alike. Leaf provides a ton of functionality which lets you easily get your project running💪
Leaf's "simple query builder" provides a convenient but usual way to quickly create and run database queries. It can be used to perform most database operations in your app.
Leaf's "simple query builder" currently supports Mysqli and PDO connections, though we still recommend using Mysqli. There's no need to worry about SQL injection as parameter binding is also supported and easy to use😉💪
View Leaf DB' docs here
Setting up a login and sign-up system can sometimes be a very unpleasant experience, especially for new devs. For pro devs, the challenge is "the standard". For this, Leaf has prepared something really simple.
Leaf Simple Auth allows you to set-up authentication in just one line of code😅😅. Literally 1 line😎.
View auth docs
Leaf now provides a much simpler way to validate a parameter using Leaf Forms. In one line, you can create a bunch of rules to validate a parameter with. Validate simply makes sure that the passed selected parameters pass these validation tests. It's never been simpler😎
Parameters which fail the form validation are saved in the form's errors which can be accessed with
View Form docs