This is a Slim preconfigured project to create a MVC or API projects based on the slim/Slim-Skeleton repository from Slim Framework.
- Composer
- Docker
- Docker Compose
- AWS-cli
- PHP >= 7.1
- PHP pgsql extension
- PHP pdo_pgsql extension
- Image: webdevops/php-nginx:7.3
Namespace | Route folder |
---|---|
Controllers | src/app/controllers |
Models | src/app/models |
Middlewares | src/app/middlewares |
Libraries | src/app/libraries |
Helpers | src/app/helpers |
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.
composer install
docker-compose up
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