Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/presta-expert/module
The boilerplate for module for PrestaShop 1.5 - 1.7
https://github.com/presta-expert/module
Last synced: 2 months ago
JSON representation
The boilerplate for module for PrestaShop 1.5 - 1.7
- Host: GitHub
- URL: https://github.com/presta-expert/module
- Owner: presta-expert
- License: mit
- Created: 2020-03-28T17:04:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T19:53:39.000Z (almost 2 years ago)
- Last Synced: 2024-09-27T11:41:58.304Z (3 months ago)
- Language: PHP
- Size: 20.5 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# README
The boilerplate for module for PrestaShop 1.5 - 1.7 which uses [presta-expert/module-helper](https://github.com/presta-expert/module-helper).
You can use it to start writing your modules quickly and easily while maintaining the correct directory structure.
## Requirements
- PHP >= 5.2.4
- Prestashop 1.5 - 1.7## Installation
```bash
$ composer create-project presta-expert/module mycustommodule
```Then you need to rename the file *name_of_module.php* to the name of your module, similarly change the name of class inside this file and you are ready to go.
```php
class NameOfModule extends \PrestaExpert\Helper\AbstractModule
```Note that your module extends *\PrestaExpert\Prestashop\Helper\AbstractModule* so you are able to use some helper methods that will make your code better, check README of [presta-expert/module-helper](https://github.com/presta-expert/module-helper) for details.
More information about creating Prestashop modules you can find here:
* [https://devdocs.prestashop.com/1.7/modules/](https://devdocs.prestashop.com/1.7/modules/)
* [http://doc.prestashop.com/pages/viewpage.action?pageId=51184607](http://doc.prestashop.com/pages/viewpage.action?pageId=51184607)## Authors
- [Presta.Expert](https://presta.expert) Team
## License
The files in this archive are released under the [MIT LICENSE](LICENSE).