/project

A PSR-7 compliant ADR framework

Primary LanguagePHP

Equip

Equip is a PSR-7 compliant Action Domain Responder (ADR) system. While it may look like a micro-framework (and it is), it is more like a wrapper around the real logic of your application domain. It's also PSR-1, PSR-2, and PSR-4 compliant.

Check out the source project here.

Installing Equip

You will need Composer to install Equip.

Pick a project name, and use Composer to create it with Equip. Let's create one called equip-project:

composer create-project -s dev equip/project equip-project

Confirm the installation by changing into the project directory and starting a development web server:

cd equip-project
bin/serve

You can then browse to http://localhost:8000/hello and see JSON output:

{"hello": "world"}

You can also browse to http://localhost:8000/hello/nancy and see modified JSON output:

{"hello":"nancy"}