library slim-scafold
A Slim Framework skeleton application for rapid development
corephp/slim-scafold
A Slim Framework skeleton application for rapid development
- Thursday, July 26, 2018
- by danteay
- Repository
- 1 Watchers
- 0 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Slim Scafold
This is a Slim preconfigured project to create a MVC or API projects based on the slim/Slim-Skeleton
repository from Slim Framework., (*1)
Requirements
Dependendies
Container specifications
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:, (*2)
slimcmd app:init [app-name]
Replace [app-name]
with the desired directory name for your new application. You'll want to:, (*3)
- 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, (*4)