loco / loco-php-sdk Goto Github PK
View Code? Open in Web Editor NEWLoco SDK for PHP including REST API client
Home Page: https://localise.biz/api
License: MIT License
Loco SDK for PHP including REST API client
Home Page: https://localise.biz/api
License: MIT License
I can see that examples show usages like $client->exportLocale(/* ... */);
, but the ApiClient
class does not define any such methods. This must mean that they are somehow translated to endpoint paths using __call()
automagic.
Please document these magic methods using @method
PHPDoc tags so that they will be available for code completion and won't trigger code inspection warnings in modern IDEs.
Alternatively return new static
instead of new self
in ApiClient::factory()
so that one can subclass it and add the missing PHPDoc to the subclass.
Could we bump symfony dependencies to 5.0 like we bumped them to 4.0 a while ago? Lumen 7.x needs symfony 5.
Update plz SDK to API version 1.0.16. Tnx.
guzzle/guzzle is deprecated and guzzlehttp/guzzle should be used instead
Hello,
when running an import (or even the authentication verification) I get the following error:
There was an error executing the authVerify command: cURL error 60: SSL certificate problem: self signed certificate in certificate chain (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://localise.biz/api/auth/verify
Hi,
For several weeks I get the following error:
There was an error executing the authVerify command: cURL error 60: SSL certificate problem: self signed certificate in certificate chain (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://localise.biz/api/auth/verify
Is there something I can do. If not it would be great if I can disable the verification for the Guzzle-Http client.
can you update so that you package also supports symfony 4?
I can see in the example that for the import
endpoint the correct argument name is src
, but I cannot figure this out for other POST endpoints (e.g. flag
) without inspecting the code. The REST API docs just say it should be the request body.
Hi!
Due to issues with guzzle:
GHSA-25mq-v84q-4j7r
GHSA-q559-8m2m-g699
Please up guzzle/psr7
version constraint to ~2.1
OR ^2.4.0
. This allows to instal latest guzzlehttp/guzzle
.
Hi @timwhitlock
Please can you release new version?
I know that it contains only one commit, but I can use only symfony/console: ^4.0
in my project.
And I really don't want depend on dev version.
Thank you so much!
Hi! Could you add support of latest PHP version ( ^8.0 ) ?
We are using your SDK in our project ( with Laravel 8) but we couldn't update to the latest PHP.
Why doesn't this repository have a .gitignore? Not even a completely basic Composer project .gitignore for things like vendor/ ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.