wubi / 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.
0.0.2
2017-09-25 02:04 UTC
Requires
- solis/phpbreaker: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.3
- squizlabs/php_codesniffer: ^3.0
This package is not auto-updated.
Last update: 2025-04-19 18:16:49 UTC
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.;