anthogirard / ps-module-utils
Library to make the module configuration quick & easy to develop. Also provides some useful tools.
3.0.0-RC2
2026-03-23 22:38 UTC
Requires
- php: >=8.1 <8.5
- ext-curl: *
- ext-json: *
- alcohol/iso4217: ^4.3
- moneyphp/money: ^4.8
- phpdocumentor/reflection-docblock: ^6.0
- prestashop/module-lib-service-container: ^2.0
Requires (Dev)
- ircmaxell/random-lib: ^1.2
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
- prestashop/decimal: ^1.5
- prestashop/php-dev-tools: ^5.0
README
PS Module Utils is a library for making development of module's configuration quick & easy. Also provides useful tools.
Requirements
| Package version | PHP compatibility | PrestaShop compatibility |
|---|---|---|
| v0.x (EOL) | PHP 5.6 or PHP 7.x | PrestaShop 1.7.x |
| v1.x (EOL) | PHP 5.6 or PHP 7.x | PrestaShop 1.7.x |
| v2.x | PHP 7.2+ or PHP 8.x | PrestaShop 8.x |
| v3.x | PHP 8.1+ | PrestaShop 9.x |
Installation
Using Composer
⚠️ IMPORTANT
As of v2.2.0, Symfony dependencies are not included anymore as they are already embedded with PrestaShop.
You can install the library via Composer. If you don't already have Composer installed, first install it by following one of these instructions depends on your OS of choice:
- Composer installation instruction for Windows
- Composer installation instruction for Mac OS X and Linux
After composer is installed, run the following command in your PrestaShop module directory to install the library:
composer require anthogirard/ps-module-utils
Documentation
📘 Please see the wiki page of the repository to understand how to use the library