spatie / spatie-price-api
The Price API used at promotional sites for our own products
Installs: 12 286
Dependents: 1
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.2
- illuminate/contracts: ^10.0|^11.0
- illuminate/http: ^10.0|^11.0
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0
- phpunit/phpunit: ^10.5|^11.0
- spatie/phpunit-snapshot-assertions: ^5.1
README
The price API used at promotional sites for our own products
This package can retrieve prices from the API at spatie.be. It is used at the promotional sites for our own products. Though it is open source, the package is not intended to be used by third parties.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
composer require spatie/spatie-price-api
Usage
You can get a pricing information using the App\Support\SpatiePrices\SpatiePriceApi::getPriceForPurchasable()
method.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.