Skip to content
/ mvp Public template

Minimum Viable Product

License

Notifications You must be signed in to change notification settings

bravedave/mvp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVP - Minimum Viable Product

For PHP using composer initiated AutoLoad (PSR-4)

In deployment PHP is easily maintained using Composer. Composer handles distribution and updating.

This simple agnostic example can be extended using a Markdown Parser.

What can I do with this ?

Easily extend the environment - and to publish the extension for use in this and any PSR-4 enviroment - See example at https://github.com/bravedave/pages

1.Setup a new project

composer create-project bravedave/mvp <my-project> @dev

2.Install dependencies & run

cd <my-project>
composer update

# to run locally ..
./run.sh

... the result is visible at http://localhost/

Extend with Slim

  • Install Extension & run
composer require slim/slim slim/psr7 slim/php-view twbs/bootstrap twbs/bootstrap-icons

# if you are installing on CentOS running under apache or similar, it will need a data folder
mkdir src/data
chmod 777 src/data

# to run locally ..
./run.sh
  • Remove Extension & run
composer rem slim/slim slim/psr7 slim/php-view twbs/bootstrap twbs/bootstrap-icons

Extend with erusev/parsedown

  • Install Extension & run
composer require erusev/parsedown

# to run locally ..
./run.sh
  • remove Extension
composer remove erusev/parsedown

more