https://github.com/inquid/extension-generator-example
Inquid Extension Generator Example
https://github.com/inquid/extension-generator-example
Last synced: 4 months ago
JSON representation
Inquid Extension Generator Example
- Host: GitHub
- URL: https://github.com/inquid/extension-generator-example
- Owner: inquid
- License: bsd-3-clause
- Created: 2021-02-23T02:47:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-23T06:22:07.000Z (over 4 years ago)
- Last Synced: 2024-12-29T14:37:30.684Z (5 months ago)
- Language: PHP
- Size: 57.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Yii Inquid Extension generator
To use this example:
* Clone the project: `git clone https://github.com/inquid/extension-generator-example`
* Get into the folder `cd extension-generator-example`
* Install the dependencies `composer install`
* Serve the project `php -S localhost -t web`
* Open gii [http://localhost/index.php?r=gii](http://localhost/index.php?r=gii)
* Open the extension generator.
* Fill the fields.
* You will see that the files in the folder `templates/inquid/extension/default` are bing modified and copied to th destination folder `runtime/tmp-extensions/yii-example/`
* While the folders in `templates/inquid/extension/default/static_files` are just being copied.* Please take a look on the file `app\templates\inquid\extension\Generator` this file modifies the files and copies the static files.
The final generated extension should have the same files as: [https://github.com/inquid/php-library-template](https://github.com/inquid/php-library-template)