snide / php-versioneye-client
PHP Version EYE Client
dev-master
2014-05-12 20:59 UTC
Requires
- php: >=5.3.3
- guzzle/http: 3.*
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-19 05:59:29 UTC
README
A PHP Client for Version Eye API
Installation
Installation by Composer
If you use composer, add versioneye-client library as a dependency to the composer.json of your application
"require": { ... "snide/php-versioneye-client": "dev-master" ... },
Usage
Projects
<?php // Fetch projects $client->fetchProjects(); // Project detail $client->fetchProject(new \Snide\VersionEye\Model\Project("composer_pdenis_travinizer_1"); // Create a project $client->createProject('../composer.json'); // Update a project $client->updateProject(new \Snide\VersionEye\Model\Project('composer_snide_php_versioneye_client_1'), '../composer.json');
Users
<?php // Fetch me $client->fetchMe(); // Project User by username $client->fetchUser(new \Snide\VersionEye\Model\User('pdenis'));
Ping Service
<?php // Ping service $client->pingService();