| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 137 | All time:  9,259 This week: 63  | ||||
| Version | License | PHP version | Categories | |||
| mezon-crud-service-c 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, Web services, Design Patterns | 
Mezon provides simple client for CRUD service.
Just print in console
composer require mezon/crud-service-client
And that's all )
This class provides CRUD-like all-purpose methods:
create($data)
update(int $id, array $data, int $crossDomain = 0)
newRecordsSince($date)
recordsCount()
lastRecords($count, $filter)
delete(int $id, int $crossDomain = 0): string
recordsCountByField(string $field, $filter = false): array
deleteFiltered($crossDomain = 0, $filter = false)
getRecordsBy($filter, $crossDomain = 0)
getById($id, $crossDomain = 0)
getByIdsArray($ids, $crossDomain = 0)
getList(int $from = 0, int $limit = 1000000000, $crossDomain = 0, $filter = false, $order = false): array
// and some utilities
static function instance(string $service, string $token): \Mezon\CrudService\CrudServiceClient
getFields(): array
|  Files (15) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  Tests (3 files, 1 directory) | ||||
|    .travis.yml | Data | Auxiliary data | ||
|    composer.json | Data | Auxiliary data | ||
|    composer.lock | Data | Auxiliary data | ||
|  CrudServiceClient.php | Class | Class source | ||
|  CrudServiceClientInterface.php | Class | Class source | ||
|    phpunit.xml | Data | Auxiliary data | ||
|    README.md | Doc. | Documentation | ||
|  Files (15) | / | Tests | 
| File | Role | Description | ||
|---|---|---|---|---|
|  Conf (5 files) | ||||
|  CrudServiceClientTests.php | Class | Class source | ||
|  CrudServiceClientUnitTest.php | Class | Class source | ||
|  CrudServiceClientUnitTests.php | Class | Class source | ||
|  Files (15) | / | Tests | / | Conf | 
| File | Role | Description | 
|---|---|---|
|    Create.json | Data | Auxiliary data | 
|    GetByIdsArray.json | Data | Auxiliary data | 
|    GetFields.json | Data | Auxiliary data | 
|    GetList.json | Data | Auxiliary data | 
|    RecordsCountByField.json | Data | Auxiliary data | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
|  | mezon-crud-service-c-2020-10-23.zip 11KB | 
|  | mezon-crud-service-c-2020-10-23.tar.gz 7KB | 
|  | Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.