Download the PHP package lokalise/php-lokalise-api without Composer
On this page you can find all versions of the php package lokalise/php-lokalise-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lokalise/php-lokalise-api
More information about lokalise/php-lokalise-api
Files in lokalise/php-lokalise-api
Package php-lokalise-api
Short Description Lokalise API client
License MIT
Homepage https://app.lokalise.com/api2docs/curl/
Informations about the package php-lokalise-api
Lokalise API v2 official PHP library
Client library for Lokalise API 2.0, written with PHP. Full API reference.
Changelog is located here.
Getting started
- PHP 7.4.x or greater is required
- Install LokaliseApiClient using Composer (recommended) or manually
Composer installation
- Get Composer
- Require LokaliseApiClient with
php composer.phar require lokalise/php-lokalise-api
- Add the following to your application's main PHP file:
require 'vendor/autoload.php';
Construct LokaliseApiClient
Create and grab your API token at Lokalise profile
Request
Comments
Contributors
Files
Keys
Languages
Payment Cards
Projects
Queued Processes
Screenshots
Snapshots
Tasks
Teams
Team Users
Team User Groups
Translations
Translation Providers
Orders
Webhooks
Branches
Response
Utils
Exceptions and errors
Best practice
Rate limits
Access to all endpoints is limited to 6 requests per second from 14 September, 2021. This limit is applied per API token and per IP address. If you exceed the limit, a 429 HTTP status code will be returned and the corresponding exception will be raised that you should handle properly. To handle such errors, we recommend an exponential backoff mechanism with a limited number of retries.
Only one concurrent request per token is allowed.
All versions of php-lokalise-api with dependencies
ext-fileinfo Version *
ext-json Version *
php-http/guzzle7-adapter Version ^0.1.1 || ^1.0.0