equip/project

A sample project for building an application using Equip.

Maintainers

Details

github.com/equip/project

Source

Issues

Installs: 215

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 10

Forks: 5

Open Issues: 2

Type:project

2.0.0 2016-05-31 15:35 UTC

This package is auto-updated.

Last update: 2024-10-09 04:16:49 UTC


README

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"}