A long time ago, I needed modularity for one of my projects—an application that couldn’t be overloaded with everything but could have features enabled or disabled as needed. Think of it like WordPress plugins. Additionally, I wanted something similar to WordPress themes.

While the Laravel community is rich with resources, I found the existing packages weren’t sufficient for my requirements. So, I ended up building my own package. Although the project it was meant for was never delivered, I really liked what I had created.

Today, I decided to write a minimal documentation for it and upload it to Packagist as an open-source package. The documentation isn’t complete yet, but I hope to improve it in my free time, Insha’Allah.

This package is entirely dependent on Laravel service providers, so you can customize it as much as you want. It also supports PSR-4 autoloading without requiring edits to the composer.json file, allowing you to choose conflict-free namespaces without the hassle of repeatedly running dump-autoload.

Link: https://github.com/aminulbd/laravel-packages

Fun fact: While I’ve built packages for my company and clients before, this is my first Composer package released as open source. If you find any issues, feel free to open an issue—feedback is always appreciated!

Leave a Reply