Download the PHP package seisigmasrl/lemonsqueezy-php without Composer
On this page you can find all versions of the php package seisigmasrl/lemonsqueezy-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download seisigmasrl/lemonsqueezy-php
More information about seisigmasrl/lemonsqueezy-php
Files in seisigmasrl/lemonsqueezy-php
Package lemonsqueezy-php
Short Description Lemon Squeezy API client for PHP
License MIT
Homepage https://github.com/seisigmasrl/lemonsqueezy.php
Informations about the package lemonsqueezy-php
Lemon Squeezy API client for PHP
I love the competition that came from innovation. For businesses and creators worldwide, being able to charge for services is one of the most needed requirements in this global world. Sadly, few companies can bring this kind of solution. Lemon Squeeze brings payments, tax & subscriptions for software companies by being your merchant of record, handling the tax compliance burden so you can focus on more revenue and less headache.
This SDK wraps the Lemon Squeeze API to simplify the service integration with the PHP language.
I started this project with personal and professional motivation. So I'm putting all the effort into finishing the to-do list as fast as possible. To start the hype about the package, I'm opening this from day one and pushing every new endpoint as a new feature release. I include the package core + Users endpoint information for the first release.
Installation
This package requires PHP 8.2. To get started, install it using Composer like this:
This SDK architecture is highly inspired by the DigitalOcean Client package by decoupling from any HTTP messaging client by using PSR-7, PSR-17, PSR-18, and HTTPlug. You can visit HTTPlug for library users to get more information about installing HTTPlug related packages. This package will automatically discover an HTTP client to use from what you have available.
Usage
I'll be creating an official website with the final documentation of the SDK, but in the meantime, here are the details of the current options:
Here's the list of the current methods provided by this package base on the existed endpoints:
User
Store
Customer
Product
Roadmap / To-Do
- [ ] General
- [x] Authentication - v.1.0.0
- [x] Rate Limiting - v.1.0.0
- [x] Errors (Exceptions) - v.1.0.0
- [ ] Pagination - WIP
- [ ] Related Resources
- [ ] Filtering
- [x] Authentication - v.1.0.0
- [x] Users - v.1.0.0
- [x] Retrieve Authenticated User Information - v.1.0.0
- [x] Retrieve logged User's Id - v.1.0.0
- [x] Stores - v.1.2.0
- [x] List all Stores - v.1.2.0
- [x] Retrieve Store - v.1.2.0
- [x] Customers - v.1.2.0
- [x] List all Customers - v.1.2.0
- [x] List all Customers from a Store - v.1.2.0
- [x] Retrieve a Customer - v.1.2.0
- [x] Products - v.1.3.0
- [x] List all Products - v.1.3.0
- [x] List all Products from a Store - v.1.3.0
- [x] Retrieve a Product - v.1.3.0
- [x] List all Variants of a Product - v.1.3.0
- [x] Retrieve a Product with all their Variants - v.1.3.0
- [ ] Files
- [ ] List all Files
- [ ] Retrieve a File
- [ ] Orders
- [ ] List all Orders
- [ ] Retrieve an Order
- [ ] List all Order Items
- [ ] Retrieve an Order Item
- [ ] Subscriptions
- [ ] List all Subscriptions
- [ ] Retrieve a Subscription
- [ ] Update a Subscription
- [ ] Cancel a Subscription
- [ ] List all Subscription Invoices
- [ ] Retrieve a Subscription Invoice
- [ ] Discounts
- [ ] Create a Discount
- [ ] List all Discounts
- [ ] Retrieve a Discount
- [ ] Delete a Discount
- [ ] List all Discount Redemptions
- [ ] Retrieve a Discount Redemption
- [ ] Checkouts
- [ ] List all Checkouts
- [ ] Retrieve a Checkout
- [ ] Create a Checkout
- [ ] License Keys
- [ ] List all License Keys
- [ ] Retrieve a License Key
- [ ] List all License Key Instances
- [ ] Retrieve a License Key Instance
- Webhooks? TBD
- API Documentation (A nice one).
All versions of lemonsqueezy-php with dependencies
ext-json Version *
nyholm/psr7 Version ^1.5
php-http/client-common Version ^2.6
php-http/discovery Version ^1.15
php-http/httplug Version ^2.3
psr/http-client-implementation Version *
psr/http-factory-implementation Version *
psr/http-message Version ^1.0
symfony/http-client Version ^6.2
symfony/polyfill-php82 Version ^1.27