Giter VIP home page Giter VIP logo

stackify-api-php's People

Contributors

aromka avatar darinhoward avatar dimitrytarasov avatar eric-martin avatar homiedopie avatar jmichaelis avatar rajesh-kumawat avatar t-lair avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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

stackify-api-php's Issues

debugLogPath variable should be from config

Hi all,

In AbstractTransport.php constructor:

    public function __construct()
    {
        $ds = DIRECTORY_SEPARATOR;
        $this->debugLogPath = realpath(dirname(__FILE__) . "$ds..$ds..") . $ds . 'debug/log.log';
        $this->errorGovernor = new ErrorGovernor();
        // add empty implementation to avoid method calls on non-object
        $this->setMessageBuilder(new NullBuilder());
    }

This debugLogPath is hardcoded with constant value in vendor folder. Maybe its good idea to have configurable variable?

Customizable timeout

If you are using the library in a vagrant environment with a localized hostname, the 5 second timeout is not enough for the ExecTransport to successfully send the curl payload.

Having the timeout set in the Api class as a constant prevents users from being able to change this option. Could this please be modified to use the options array in the ExecTransport constructor?

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.