Learn to write
Elegant PHP
Built for Makers
Welcome to the Makers' Guide to Leaf—your fast track to building with Leaf. This guide walks you through everything you need to start shipping quickly and efficiently, from hello world to deploying your app.
Choose your path
“No application is the same, why should your framework be?”
This is something we live and die by at Leaf. We believe that every application is unique and should be treated as such. That's why we've built Leaf to be as flexible as possible, allowing you to build your applications the way you want to. At the end of the day, we're here to help you build your applications, not to dictate how you should build them.
With that in mind, we've created a few paths to help you get started with Leaf. Whether you're building a simple app/API, a full-fledged web application, or a massive API, we've got you covered. Choose your path below to get started.
Deploy your app
After building your app, you'll want to deploy it to the web so that others can access it. We've got you covered with our deployment guides that walk you through deploying your app to various platforms.
Monitor your app
Once your app is live, you'll want to monitor it to ensure it's running smoothly. For now, we have a guide on monitoring your Leaf app with Sentry to help you get started. We'll be adding guides for other monitoring tools like New Relic, Datadog, and more in the future.
Track data in your app
Marketing teams and founders often need to track user interactions and events in their applications to make data-driven decisions. We have a guide on tracking data in your Leaf app that covers how to set up Google Analytics and Mixpanel for tracking user interactions and events.
Contributing
If you've written a tutorial that you think would be a great addition to our Learn section, feel free to submit a PR to our GitHub repository with your tutorial. For our readers' benefit, be sure to follow the contribution guide when submitting your tutorial. Thank you for your contribution!