corephp/slim-scafold
Composer 安装命令:
composer require corephp/slim-scafold
包简介
A Slim Framework skeleton application for rapid development
README 文档
README
This is a Slim preconfigured project to create a MVC or API projects based on the slim/Slim-Skeleton repository from Slim Framework.
Requirements
- Composer
- Docker
- Docker Compose
- AWS-cli
- PHP >= 7.1
- PHP pgsql extension
- PHP pdo_pgsql extension
Dependendies
Container specifications
- Image: webdevops/php-nginx:7.3
Namespaces
| Namespace | Route folder |
|---|---|
| Controllers | src/app/controllers |
| Models | src/app/models |
| Middlewares | src/app/middlewares |
| Libraries | src/app/libraries |
| Helpers | src/app/helpers |
Install the Application
Yu can install it from the slimcmd tool with this command:
slimcmd app:init [app-name]
Replace [app-name] with the desired directory name for your new application. You'll want to:
- Point your virtual host document root to your new application's
public/directory. - Ensure
logs/is web writeable.
Install project
composer install
Run the aplication
docker-compose up
Deploy app with AWS Pipelines and AWS ECS
Configure yur build steps into buildspect.yml file with your AWS ECR information and setup the service configurations into imagedefinitios.json file according to the AWS Documentation
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-19