Skip to content

gaboogled/simple_slim3

Repository files navigation

Slim 3 MVC Framework Skeleton Application

Summary


Use this skeleton application to quickly set up and start working on a new Slim Framework 3 MVC structured application. This application uses the latest Slim 3 with Plates PHP template renderer (league/plates) to replicate Views and render templates within Slim 3. It also uses a series of other Composer packages with plumbing in place to kickstart your new MVC PHP project.


Case Statement

At times, business trends, product requirements, and process policies within Non-Agile environments can lack the flexibility necessary to enforce complex development methodology processes and policies. Environments adopting Agile approaches require agile development processes.

The slim3mvc Skeleton is a Slim 3 Skeleton Application based on the Model-View-Controller (MVC) development structures, commonly used Agile Software Development.

The goal is to aid in the early stages of the development process by leveraging Slim 3's lightweight footprint while empowering reusability approaches that better support the separation of logic from business, functional, and presentation dependencies using modular and reusable components.

The main idea is to utilize a specific set of Composer Packages compatible with the Slim 3 micro-Framework to construct an MVC structured development workflow consisting of requirements, modeled as components or widgets, that are then selected from a policy-based library to support business needs. #horizontal-rule

Install Slim 3 MVC Application

WARNING: This is a Composer Skeleton Application. Installation will overwrite existing composer.json files if run within an existing Slim 3 folder.

To get started, simply

Then run this command from the directory in which you want to install your new Slim 3 Framework MVC application. (usually the root of your web server)

composer install

Next, you'll want to:

  • Point your virtual host document root to your new application's /public directory.
  • Ensure /logs is web writeable. (chmod -R 755 logs) #horizontal-rule

Minimum Requirements and Composer Packages

  • php >= 7.1
  • slim/slim^3.1
  • martynbiz/slim3-controller^0
  • shameerc/slim3-aura-di^1.0
  • illuminate/database^5.8
  • bryanjhv/slim-session^3.0
  • middlewares/https^1.3
  • monolog/monolog^1.17
  • dopesong/slim-whoops"^2
  • projek-xyz/slim-plates^0.2
  • phpunit/phpunit^4.8 < 6.0

Conclusion


That's it for now. Proceed with the ability of agility and build something cool!

Find slim3mvc useful? If so, a cup of coffee, a couple of Lottery tickets, or contributions to a Camera Lens fund is appreciated in advance. [https://cash.me/$GFreeneyJones]

Don't have the Cash App? Get it, it's free. [https://cash.me/app/VJGHCJK]