https://github.com/pdir/contao-api-bundle
https://github.com/pdir/contao-api-bundle
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pdir/contao-api-bundle
- Owner: pdir
- License: lgpl-3.0
- Created: 2019-08-15T13:33:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T13:34:12.000Z (almost 7 years ago)
- Last Synced: 2025-02-04T04:27:59.674Z (over 1 year ago)
- Language: PHP
- Size: 492 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Contao 4 skeleton bundle
Contao is an Open Source PHP Content Management System for people who want a
professional website that is easy to maintain. Visit the [project website][1]
for more information.
You can use the skeleton bundle as basis for your own Contao bundle.
## Install
Download the skeleton bundle:
```bash
wget https://github.com/contao/skeleton-bundle/archive/master.zip
unzip master.zip
mv skeleton-bundle-master [package name]
cd [package name]
```
## Customize
First adjust the following files:
* `.php_cs.php`
* `composer.json`
* `phpunit.xml.dist`
* `README.md`
Then rename the following files and/or the references to `PdirBundle` in
the following files:
* `src/ContaoManager/Plugin.php`
* `src/DependencyInjection/PdirApiExtension.php`
* `src/PdirApiBundle.php`
* `tests/PdirApiBundleTest.php`
Finally add your custom classes and resources.
## Release
Run the PHP-CS-Fixer and the unit test before you release your bundle:
```bash
vendor/bin/php-cs-fixer fix -v
vendor/bin/phpunit
```
[1]: https://contao.org