lordjoo / laraapigee
This is my package laraapigee
Fund package maintenance!
lordjoo
v0.2.2
2024-10-20 13:43 UTC
Requires
- php: ^8.2
- firebase/php-jwt: v6.10.1
- illuminate/contracts: ^10.0||^11.0
- nesbot/carbon: ^3.8
- spatie/laravel-package-tools: ^1.16
- symfony/property-access: ^7.1
- symfony/serializer: ^7.1
Requires (Dev)
- laravel/pint: ^1.14
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
This package is auto-updated.
Last update: 2024-12-25 11:40:38 UTC
README
Getting Started
- Install the package via composer:
composer require lordjoo/laraapigee
- Set the environment variables in your
.env
file:
APIGEE_USERNAME= APIGEE_PASSWORD= APIGEE_ENDPOINT= APIGEE_ORGANIZATION=
Usage Example
// fetch all developers \Lordjoo\LaraApigee\Facades\LaraApigee::edge()->developers()->get(); // create a developer $dev = new \Lordjoo\LaraApigee\Api\Edge\Entities\Developer(); $dev->setFirstName('Ammar')->setLastName("Agha")->setEmail('ammar@apigee.com')->setUserName('ammar'); $dev = \Lordjoo\LaraApigee\Facades\LaraApigee::edge()->developers()->create($dev); // update a developer $dev->setFirstName('Ammar')->setLastName("Aghaa"); $dev = \Lordjoo\LaraApigee\Facades\LaraApigee::edge()->developers()->update($dev->getEmail(), $dev);