We learned a lot by quality packages like laravel-permission, laravel-backup, browsershot, laravel-medialibrary, and many more. We feel we have a pretty good workflow to produce reliable, readable, and maintainable packages.
We want to share the knowledge we have built up over the year with you in our new premium video course, titled Laravel Package Training.
Introducing Laravel Package Training
Our video course is the perfect place to start your package building journey. The course covers both building PHP agnostic packages and Laravel packages. Even if you have some experience, I’m sure that our video course can teach you a few new tricks.
We’ve built a beautiful environment to watch the videos in. Your progress is automatically tracked. In the notes of each video, we included a few interesting links for you to visit.
In a nutshell this premium video course covers:
- kickstarting the development process using the Spatie package skeletons
- automatically fixing code style issues
- using semantic versioning
- adding routes, controllers, and views
- using migrations and models
- how to support multiple PHP and Laravel versions
For all functionality that is added to a package, you’ll learn how to automatically test it, both locally and via GitHub Actions. This way, you can build a beautiful and maintainable package that your co-workers, clients, and the community can rely on.
There’s also a whopping 90-minute live coding video where we bring together the knowledge of the entire course to build a real-life package from scratch. You can watch me code and explain my thought process. I had a lot of fun recording this one.
Finally, we added videos where we source dive popular Spatie packages. Ever wondered how we structure code and what our best practices are? Now’s your chance to watch me explain how packages like laravel-medialibrary, laravel-responsecache and laravel-multitenancy work under the hood.
In total, there are 4 hours of content for you to enjoy!
What are people are saying
Love the quality of the stuff @freekmurze and the @spatie_be team are putting out. If you’re looking to sharpen up on your Laravel package skills, you’re not going to find a better resource than this. https://t.co/GSW7lOTkbH
— Jonathan Reinink (@reinink) May 27, 2020
— Mohamed Said (@themsaid) May 27, 2020
Freek knows how to create packages better than anyone I ever know. I highly recommend this video course. https://t.co/S4aW3GZQeA
— NUNO MADURO (@enunomaduro) May 27, 2020
— Dries Vints (@driesvints) May 27, 2020
Purchased and started this yesterday…. learnt something new in the first 15 minutes. Can’t wait to carry on! Worth every penny (or technically cent as its charged in USD) thanks @spatie_be and @freekmurze https://t.co/Ay3IBvMb1I
— Craig Potter (@_CPotter) May 29, 2020
I’m pretty sure this guy knows his “make a package” stuff. I already bought it! https://t.co/12OIokq847
— Frederick Vanbrabant (@maybeFrederick) May 27, 2020
Why create packages in the first place?
By moving common functionalities to packages, the codebase of your apps can become smaller and more maintainable.
Packages can have their own test suite. When a bug is discovered, you can easily distribute the fix in your apps by merely running
There are commercial benefits as well. By open-sourcing packages, you as a developer, and your company become much more visible in the community, which can lead to exciting opportunities coming your way.
For Spatie and all of its team members, building packages helped us to be where we are today. You can read our story in this blog post.
If you want to become the next Spatie, grab the Laravel Package Training today. I can’t wait to see the cool package you will build using this knowledge.
Freek Van der Herten