rgl / yii2-template-api
Yii 2 Api Project Template
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.2
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-bootstrap4: ~2.0.0
- yiisoft/yii2-swiftmailer: ~2.0.0 || ~2.1.0
- yiisoft/yii2-symfonymailer: ~2.0.3
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-yii2: ^1.0
- codeception/verify: ^2.2
- rgl/yii2-gii-api: *
- symfony/browser-kit: >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.2.0
README
Yii 2 Api Project Template
Yii 2 Api Project Template is a skeleton Yii 2 application best for rapidly creating modular projects.
Install via Composer
You can then install this project template using the following command:
composer create-project --prefer-dist --stability=dev raubel1993/yii2-template-api basic
Now you should be able to access the application through the following URL, assuming basic
is the directory
directly under the Web root.
http://localhost/basic/web/
Install with Docker
Update your vendor packages
docker-compose run --rm php composer update --prefer-dist
Run the installation triggers (creating cookie validation code)
docker-compose run --rm php composer install
Start the container
docker-compose up -d
You can then access the application through the following URL:
http://127.0.0.1:8000
NOTES:
- Minimum required Docker engine version
17.04
for development (see Performance tuning for volume mounts) - The default configuration uses a host-volume in your home directory
.docker-composer
for composer caches