Minimum Viable Product

v22.03.02 2022-03-20 02:05 UTC

This package is auto-updated.

Last update: 2024-04-23 02:22:06 UTC


README

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