nogo / api
This package is abandoned and no longer maintained.
No replacement package was suggested.
Api server
dev-master
2015-05-04 13:19 UTC
Requires
- php: >=5.4.0
- illuminate/database: *
- kirkbushell/eloquence: dev-master
- nogo/framework: dev-master
Requires (Dev)
This package is not auto-updated.
Last update: 2020-06-12 18:03:35 UTC
README
Why?
NoGo Api server provide access via a json rest api to you database.
Comes with
- Resource controller
- Resource factory
- Eloquent
- Json middleware and view
Configuration
Add resource controller to routes:
routes:
- "Nogo\\Api\\Controller\\Resource"
Define your api
api:
prefix: "/api" # Api prefix
version: 1 # Versioning
resources:
name: # Resource name after /api
model: "Namespace\\To\\Model"