dystcz / lunar-api
Lunar API
v0.1.0
2022-09-28 12:38 UTC
Requires
- php: ^8.0
- illuminate/support: ^8.0|^9.0
- lunarphp/lunar: ^0.1
- symfony/yaml: ^6.0
- vyuldashev/laravel-openapi: ^1.5
Requires (Dev)
- nunomaduro/collision: ^5.0|^6.0
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^6.0|^7.0
- pestphp/pest: ^1.21
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2023-03-22 23:13:01 UTC
README
This package introduces an API layer for Lunar ecommerce package.
Installation
You can install the package via composer:
composer require dystcz/lunar-api
Publish config and migrations, run migrations
php artisan vendor:publish --provider="Dystcz\LunarApi\LunarApiServiceProvider" --tag="config"
Usage
// Usage description here
Todo list
- Products
- Filters
- Associations
- Product variants
- Collections
- Brands
- Prices
- Prices with tax
- Media
- Thumbnails
- Cart
- Orders
- Shippings
- Payments
- Create documentation
- Create and register policies for each resource and each resource method ideally
Useful resource
laravel-json-api
stubs https://github.com/laravel-json-api/laravel/tree/develop/stubs
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email jakub@dy.st instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.