Giter Site home page Giter Site logo

shipengine / shipengine-php Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 10.0 810 KB

The official PHP SDK for ShipEngine API

Home Page: https://www.shipengine.com/docs/

License: Apache License 2.0

Nix 0.37% PHP 97.41% Makefile 2.22%
address-normalization address-validation dhl-api fedex-api package-tracking php rest-api sdk shipengine shipment-tracking shipping-api shipping-cost shipping-label shipping-rates tracking-number ups-api usps-api

shipengine-php's People

Contributors

anthonyshull avatar github-actions[bot] avatar j-r-j avatar jpill avatar kaseycantu avatar nate-williams-auctane avatar pierce-h avatar semarj avatar

Stargazers

 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

shipengine-php's Issues

Dependency conflicts

Description

Hi ShipEngine team,

Could you please make the dependency friendsofphp/php-cs-fixer a dev dependency?
When I try to install its conflicting with the project but it should not be part of the non-dev dependencies.

Thanks

Project Milestones

Hi ๐Ÿ‘‹

I've starred your project and am watching with interest. Do you have any estimates on when this is going to get a public release?

We are in the process of upgrading our internal tooling to PHP >=7.4 and I would be keen to revisit this as a possible alternative to our current integration, which is lacking many features.

Thanks!

how can i create a tracking page?

Describe the bug

I want to create brand tracking page in development, my api-key is TEST..........z and this is my code:

let data = {
    "tracking_pages": [
      {
        "tracking_number": "890...",
        "carrier_code": "ups",
        "service_code": "ups",
      }
    ]

  };
      var options = {
        method: 'POST',
        url: 'https://api.shipengine.com/v-beta/tracking_page',
        headers: {
          Host: 'api.shipengine.com',
          'API-Key': 'TEST_a1b1c1...z',
          'Content-Type': 'application/json',
        },
        body: JSON.stringify(data),
      }
      request(options, function (error, response) {
        if (error) throw new Error(error)
        console.log(response.body)
      })

but it returns this error

{
"request_id": "b3a5190c-1-4099-1-7151179be0d8",
"errors": [
{
"error_source": "shipengine",
"error_type": "security",
"error_code": "unauthorized",
"message": "An API key is required. Please see https://www.shipengine.com/docs/auth"
}
]
}

Laravel 10 compatibility

The PHP SDK for ShipEngine at https://github.com/ShipEngine/shipengine-php is not compatible with Laravel version 10.x framework. I get the following error:
Problem 1

  • Root composer.json requires shipengine/shipengine ^1.0 -> satisfiable by shipengine/shipengine[v1.0.0].
  • laravel/framework[v10.0.0, ..., v10.19.0] require symfony/process ^6.2 -> satisfiable by symfony/process[v6.2.0, ..., v6.3.2].
  • Conclusion: don't install symfony/process v6.3.2 (conflict analysis result)
  • Root composer.json requires laravel/framework ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., v10.19.0].

Please advise if there is an SDK which I can use with Laravel.

We have just signed up for a test account with Ship Engine and want to integrate and go live shortly.

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.