https://github.com/friends-of-presta/doctrine
Module that experiments Doctrine ORM use in PrestaShop modules (1.7.6+)
https://github.com/friends-of-presta/doctrine
doctrine-orm prestashop-1-7 prestashop-module routes-annotations
Last synced: 3 months ago
JSON representation
Module that experiments Doctrine ORM use in PrestaShop modules (1.7.6+)
- Host: GitHub
- URL: https://github.com/friends-of-presta/doctrine
- Owner: friends-of-presta
- Created: 2019-07-03T23:24:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T01:01:43.000Z (about 2 years ago)
- Last Synced: 2025-04-30T20:47:50.311Z (5 months ago)
- Topics: doctrine-orm, prestashop-1-7, prestashop-module, routes-annotations
- Language: PHP
- Size: 1.58 MB
- Stars: 8
- Watchers: 4
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Module demonstrating Doctrine features in PrestaShop 1.7.6+
### Requirements
1. Composer, see [Composer](https://getcomposer.org/) to learn more
2. Yarn, see [Yarn](https://yarnpkg.com/lang/en/) to learn more
### How to install1. Download or clone module into `modules` directory of your PrestaShop installation
2. Make sure module directory is named `doctrine`
3. `cd` into module's directory and run following commands:
- `composer dumpautoload` to generate autoloader for module
- `yarn install` to install Encore (see [Webpack Encore](http://symfony.com/doc/current/frontend.html) to learn more about Encore)
- `yarn encore dev` to compile assets for development environment
- (optional) `yarn encore production` to compile assets for production use (e.g. before submitting module to Addons Marketplace or installing on live shop)
4. Install module from Back Office