Minimum Viable Product

Maintainers

Details

github.com/bravedave/mvp

Source

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/bravedave/mvp

v24.06.01 2024-06-27 01:50 UTC

This package is auto-updated.

Last update: 2025-10-07 07:45:10 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