dystcz / lunar-api
Lunar API
Installs: 1 006
Dependents: 9
Suggesters: 1
Security: 0
Stars: 26
Watchers: 3
Forks: 4
Open Issues: 9
Requires
- php: ^8.2
- illuminate/support: ^11.0
- laravel-json-api/hashids: ^3.0
- laravel-json-api/laravel: ^4.0
- laravel-json-api/non-eloquent: ^4.0
- lunarphp/lunar: ^1.0.0-beta.4
- staudenmeir/eloquent-has-many-deep: ^1.20
Requires (Dev)
- barryvdh/laravel-ide-helper: ^3.0
- larastan/larastan: ^2.0
- laravel-json-api/testing: ^3.0
- laravel/pint: ^1.7
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-faker: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- spatie/laravel-ray: ^1.32
- 1.0.x-dev
- 1.0.0-beta.3
- 1.0.0-beta.2
- 1.0.0-beta.1
- 0.8.x-dev
- 0.8.21
- 0.8.20
- 0.8.19
- 0.8.18
- 0.8.17
- 0.8.16
- 0.8.15
- 0.8.14
- 0.8.13
- 0.8.12
- 0.8.11
- 0.8.10
- 0.8.9
- 0.8.8
- 0.8.7
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.x-dev
- 0.7.9
- 0.7.8
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.x-dev
- 0.5.x-dev
- dev-fix/fix-hashes-route-key-return-type
- dev-feature/update-custom-product-relations
- dev-feature/update-default-order-sort
- dev-feature/rename-to-dystore-api
- dev-fix/fix-attribute-data-when-null-value-occurs
- dev-feature/order-media-by-order
- dev-feature/add-image-methods-to-product-variants
- dev-feature/hide-relationship-links-by-default
- dev-feature/update-product-option-values
- dev-fix/fix-transactions
- dev-fix/fix-checkout
- dev-feature/update-cart-addresses
- dev-feature/update-cart-lines
- dev-feature/fix-cart-line-include-paths
- dev-feature/update-product-options
- dev-feature/add-lunar-api-config
- dev-feature/add-auth-domain
- dev-feature/update-authorization
- dev-feature/update-collections
- dev-feature/consistent-naming
- dev-feature/update-testing-workflow
- dev-feature/fix-set-payment-option-method-return-type
- dev-feature/fix-schema-model-container-resolution
- dev-feature/extract-model-logic-to-trait
- dev-feature/update-container-resolution
- dev-feature/update-cart-line-tests
- dev-feature/0.8-add-static-analysis
- dev-docs/update-docs
- dev-feature/fix-lunar-pipelines
- dev-feature/fix-pipeline-annotations
- dev-fix/remove-order-line-observer-override
- dev-feature/use-model-contracts-in-schemas
- dev-feature/update-to-lunar-1.0.0-beta
- dev-feature/update-to-lunar-1.0.0-alpha.37
- dev-feature/generate-typescript-types
- dev-fix/update-include-paths-and-relationship-links
- dev-feature/add-cart-model-contracts
- dev-fix/quickfix-attribute-data
- dev-feature/add-product-option-schema
- dev-feature/refactor-availability
- dev-feature/fix-media-resource
- dev-feature/fix-attribute-data-dropdown-values
- dev-feature/fix-auto-create-user-from-cart
- dev-feature/add-fields-to-product-variant-schema
- dev-feature/update-is-purchasable-action
- dev-fix/schema-media-conversions
- dev-feature/update-attribute-data-handling
- dev-feature/add-plaintext-value-to-attribute-data
- dev-feature/add-highest-price-to-product-variants
- dev-docs/init-vite-docs
- dev-feature/add-controller-contracts
- dev-feature/update-product-variants
- dev-feature/generate-urls-for-product-variants
- dev-feature/make-checkout-controller-swappable
- dev-feature/merge-0.8-to-1.0
- dev-feature/add-offline-payment-adapters
- dev-feature/fix-availability-action
- dev-feature/handle-availability-always-state-add-translations
- dev-feature/add-more-approximate-stock-configuration-options
- dev-feature/add-authorize-bank-transfer-action
- dev-feature/dev-329-lunar-v100-alpha
- dev-feature/update-availability-handling
- dev-feature/add-urls-to-product-variants
- dev-feature/make-models-accessible-by-all-urls
- dev-feature/dev-338-add-cash-on-delivery-payment-adapter-and-finish-purchasable
- dev-stock-management-improvements
- dev-feature/dyst-455-purchasable-payment-options-within-lunar-api
- dev-feature/dev-296-add-manual-cart-handling-flow
- dev-feature/dev-328-lunar-10-and-laravel-11
- dev-feature/fix-find-order-by-actions
- dev-docs/create-documentation
- dev-fix/filter-products-by-slug
- dev-feature/add-more-tests-1
- dev-feature/add-policy-for-every-schema
- dev-feature/update-order-observer
- dev-feature/configurable-non-eloquent-purchasable-types
- dev-feature/update-order-lines
- dev-feature/simplify-config
- dev-feature/find-order-redundancy
- dev-feature/update-collections-schema
- dev-feaure/update-postman-collection
- dev-feature/payments-custom-amount-cart-address-meta
- dev-feature/update-payments
- dev-feature/add-postman-collection
- dev-feature/upgrade-to-lunar-0.8
- dev-feature/add-collection-group-filters
- dev-feature/filters
- dev-feature/upgrade-to-lunar-0.7.5
- dev-feature/apply-published-scope-for-products
- dev-update-lunar-073
- dev-feature/use-attribute-dropdown-label-as-value
- dev-feature/fix-checking-order-signatures
- dev-feature/in-stock-product-filter
- dev-feature/swappable-checkout-cart-action
- dev-feature/dyst-328-global-manifest
- dev-feature/dyst-307-upgrade-schema-manifest
- dev-feature/dyst-306-add-rest-of-jsonapi-boilerplate
- dev-feature/dyst-308-add-policy-for-every-schema
- dev-feature/add-hashids-tests
- dev-feature/relation-naming-consistency
- dev-feature/translatable-validation-messages
- dev-dev
- dev-feature/hashids
- dev-feature/transactions
This package is auto-updated.
Last update: 2024-11-22 00:10:58 UTC
README
Caution
This package is currently under heavy development. It is already used in production, however, you should proceed with caution.
This package introduces an API layer for the Lunar ecommerce package. It connects the Lunar backend with your SPA, other applications, and possibly with a mobile app.
The main aim is to provide a solid foundation for your e-commerce project, giving you a head start while maintaining flexibility so you can easily build features to meet your project's needs.
Requirements
- PHP ^8.2
- Laravel 11
- Lunar requirements
Documentation
Testing
composer test
Compatible packages
- Reviews (Adds user reviews functionality)
- Product Views (Store unique product views in Redis)
- Product Stock Notifications (Notify users when product is in stock again)
- Newsletter (Newsletter sign up with support for Mailchimp / Mailcoach / Brevo)
- Stripe Payment Adapter
- Mollie Payment Adapter
- PayPal Adapter [🚧]
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 dev@dy.st instead of using the issue tracker.
Credits
- All Contributors
- Lunar for providing awesome e-commerce package
- Laravel JSON:API which is a brilliant JSON:API layer for Laravel applications
License
The MIT License (MIT). Please see License File for more information.