Download the PHP package usamamuneerchaudhary/laraclient without Composer
On this page you can find all versions of the php package usamamuneerchaudhary/laraclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download usamamuneerchaudhary/laraclient
More information about usamamuneerchaudhary/laraclient
Files in usamamuneerchaudhary/laraclient
Package laraclient
Short Description Package that simplifies the process of working with multiple APIs in Laravel.
License MIT
Informations about the package laraclient
Introduction
Lara Client simplifies the process of working with APIs in Laravel, making it easy to handle authentication, rate limiting, and error handling. It allows to set up several API connections in a central configuration file, specifying the credentials for each connection. The package also includes a cache layer to speed up requests, and a logging system to track API requests and responses for debugging purposes. With Lara Client, developers can quickly integrate multiple APIs into their Laravel applications, reducing development time and effort, and making it easier to manage API integrations over time.
Here's a quick example of what you can do in your models to enable tagging:
- This package supports Laravel 10
- Minimum PHP v8.1 supported
Installation
You can install the package via composer:
composer require usamamuneerchaudhary/laraclient
Run Migrations
Once the package is installed, you can run migrations,
php artisan migrate
Publish Config File
This will create a lara_client.php
file, where you can define multiple third party API connections.
Service Provider
Don't forget to add the ServiceProvider in app.php
:
Logging & Publish Views
We're using a logging table to store requests and responses, you can access this by the following route:
Tutorial
How to handle multiple API connections in Laravel
Tests
composer test
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laraclient with dependencies
illuminate/database Version >=v10.1.4
illuminate/support Version >=v10.1.4
guzzlehttp/guzzle Version ^7.5