Is there a way to install the Shippo PHP files manually without Composer or Laravel?
I uploaded the files manually, but I get an error when I run the examples:
Warning: require_once(/var/www/html/shippo/examples../../vendor/autoload.php): failed to open stream: No such file or directory.
I'm not familiar with Composer or Laravel and have not been able to get Composer to work.
In order to manually install the library, you'd need to be sure you're including full path to shippo-php-client/lib/Shippo.php. So something like:
require('shippo-php-client/lib/Shippo.php')
If you're going this route though, you'll want to be sure that you have all of the required dependencies. The library currently depends on the following PHP extensions:
The library was designed to be most easily installed using Composer, since its fairly ubiquitous amongst PHP projects and frameworks. I would still recommend revisiting setting up and using Composer to manage installing the Shippo library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With