
Prestashop module - our boilerplate
We love simple things, and what name for a module could be easier than “PrestaShop Module”?
Why should you use this boilerplate? PHP has a lot of packages that are ready to do anything you like. Unfortunately sometimes it is not possible to use them inside a PrestaShop module because there could be conflicts with other modules using the same packages but with different versions, or the core itself uses a different version. Finding a compatible package can be a really tedious task, but we developed an alternative!
To allow the usage of pretty much every single package we added something called a prefixer, that will adjust the namespace to something unique to your module and the deed is done! You can now use your favorite package without worrying. And the best part? It’s already configured.
Inside the package you will find everything you need to build your module and even compile it, so that you can ship your module without all the development tools: just production code as it should be.