Coder Social home page Coder Social logo

loco / loco-php-sdk Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 5.0 452 KB

Loco SDK for PHP including REST API client

Home Page: https://localise.biz/api

License: MIT License

PHP 98.88% Smarty 1.12%
localisation localization php translation translation-management

loco-php-sdk's People

Contributors

bancer avatar digitv avatar timwhitlock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

loco-php-sdk's Issues

Document ApiClient magic methods with @method PHPDoc tag

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.

symfony 5

Could we bump symfony dependencies to 5.0 like we bumped them to 4.0 a while ago? Lumen 7.x needs symfony 5.

Error with self-signed SSL certificate

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

Option to disable verification

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.

symfony 4

can you update so that you package also supports symfony 4?

Release new version

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!

PHP 8 support

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.

[Repository quality] .gitignore?

Why doesn't this repository have a .gitignore? Not even a completely basic Composer project .gitignore for things like vendor/ ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.