equip / project
A sample project for building an application using Equip.
Installs: 216
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 10
Forks: 5
Open Issues: 2
Type:project
Requires
- equip/framework: ^2.0
- josegonzalez/dotenv: ^2.0
- monolog/monolog: ^1.19
- zendframework/zend-diactoros: ^1.0.4
This package is auto-updated.
Last update: 2024-11-09 04:29:34 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"}