corephp/slim-scafold

A Slim Framework skeleton application for rapid development

1.3.0.0 2019-03-13 20:40 UTC

This package is auto-updated.

Last update: 2024-04-07 06:02:55 UTC


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

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:

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