conectra / active-rest
This is a library to make CRUD's with your REST API. With this package, and some framework like Slim. You can abstract operations: POST,PUT,PATCH,DELETE,FIND,FINDONE at your Routes.
Installs: 1 288
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:lib
Requires
- solis/phpbreaker: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.3
- squizlabs/php_codesniffer: ^3.0
README
This is a library to make CRUD's with your REST API. With this package, and some framework like Slim. You can abstract operations: POST,PUT,PATCH,DELETE,FIND,FINDONE at your Routes.
ORM OPERATIONS
- Find: Implement the
select
operation; - FindOne: Implement the
search
operation; - Post: Implement the
create
operation; - Patch: Implement the
update by replace
operation; - Put: Implement the
update by increment
operation; - Replicate: Implement the
replicate
operation.
The behavior is clone and update incremental keys; - Del: Implement the
delete
operation; - Disable: Implement the
disable
operation.; The behavior is disable the register by status change; - Last: Implement the
last
operation; The behavior is find the last register at repository.;