Download the PHP package codeiqbv/laravel-mww without Composer
On this page you can find all versions of the php package codeiqbv/laravel-mww. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codeiqbv/laravel-mww
More information about codeiqbv/laravel-mww
Files in codeiqbv/laravel-mww
Package laravel-mww
Short Description Integration between Laravel and MijnWebwinkel
License MIT
Homepage https://github.com/codeiqbv/laravel-mww
Informations about the package laravel-mww
Laravel MyOnlineStore Integration
A Laravel package for seamless integration with the MyOnlineStore API.
Table of Contents
- Installation
- Configuration
- Basic Usage
- Articles
- Orders
- Payments
- Discount Codes
- Shipping Methods
- Offline Locations
- Query Builders
- Resources
- Data Transfer Objects
- Error Handling
- Testing
- Multi-tenant Usage
Installation
You can install the package via composer:
Configuration
Publish the config file:
Add these environment variables to your .env
file:
Basic Usage
The package provides a fluent interface for all API operations:
Articles
Listing Articles
Single Article Operations
Orders
Listing Orders
Single Order Operations
Payments
Order Payments
Payment Gateways
Discount Codes
Query Builders
The package provides fluent query builders for:
ArticleQueryBuilder
OrderQueryBuilder
PaymentQueryBuilder
DiscountCodeQueryBuilder
LocationQueryBuilder
ShippingQueryBuilder
Each builder provides methods for filtering and manipulating the respective resources.
Resources
API responses are transformed through Laravel Resources:
ArticleResource
OrderResource
PaymentResource
DiscountCodeResource
OrderLineResource
PriceResource
TaxResource
AddressResource
DebtorResource
- And more...
Data Transfer Objects
Type-safe DTOs for creating and updating resources:
CreateArticleData
UpdateArticleData
CreateOrderData
UpdateOrderData
CreatePaymentData
UpdatePaymentData
CreateDiscountCodeData
UpdateDiscountCodeData
- And more...
Error Handling
The package throws these exceptions:
Testing
Multi-tenant Usage
For multi-tenant applications:
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- CodeIQ
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-mww with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0