Giter Club home page Giter Club logo

iron_core_php's Introduction

iron_core_php

iron_core_php is a collection of common functions for working with the RESTful APIs that we build at Iron.io from PHP.

Installation

Just copy IronCore.class.php class to required directory and that's all.

License

This software is released under the BSD 2-Clause License. You can find the full text of this license under LICENSE.txt in the module's root directory.

iron_core_php's People

Contributors

alex-litvak avatar gabrielayuso avatar grahamcampbell avatar gregavola avatar gsaulmon avatar kellytehuna avatar pyeremenko avatar robbyronk avatar thousandsofthem avatar tscheepers avatar ucirello avatar

Stargazers

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

Watchers

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

iron_core_php's Issues

HTTP status codes

First of all, thanks for providing this library! It allows us to quickly drop in the library code and get to work.

Unfortunately, we have a use-case for needing to know the exact HTTP response code from an API call. We want to be able to check the status code, including the 2XX codes and take slightly different actions, because they are very slightly different scenarios (OK vs Accepted vs Created)

At the moment, we only have access to the 4XX and 5XX status codes via the HTTP_Exception thrown.

If you could make the last status code available from IronCore, either directly, or indirectly, through a method call, that would help us a lot.

Thanks

Check if open_basedir is set in loadConfigFile

We recently had a production issue where the loadConfigFile method in IronCore checks file_exists on the given config file. At the top of this method you should probably check:

if ( ! ini_get('open_basedir')) return;

So that you don't have any open_basedir errors on installations that do not have that directive set.

Using SDK on Windows Environment fails

When using the SDK to push messages to queue on a Windows 8 environment fails.
Exception thrown is as follows:

  [Http_Exception]
  http error: 0 | SSL certificate problem: self signed certificate in certificate chain

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.