dystrc / lunar-api
Lunar API
1.0.0-beta.1
2024-09-02 16:50 UTC
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
Requires (Dev)
- barryvdh/laravel-ide-helper: ^3.0
- laravel-json-api/testing: ^3.0
- laravel/pint: ^1.7
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- spatie/laravel-ray: ^1.32
- dev-main
- 1.0.x-dev
- 1.0.0-beta.1
- 1.0.0-alpha.37
- 1.0.0-alpha.2
- 1.0.0-alpha.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-feature/extract-model-logic-to-trait
- dev-feature/consistent-naming
- 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/add-lunar-api-config
- 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-09-14 21:27:14 UTC
README
注意
该包目前正在大力开发中。它已经被用于生产,但是你应该谨慎行事。
该包为Lunar电商包引入了一个API层。它将Lunar后端与您的SPA、其他应用程序以及可能还有移动应用连接起来。
主要目的是为您提供一个坚实的基础,让您在电子商务项目中领先一步,同时保持灵活性,以便您可以轻松构建满足项目需求的功能。
要求
- PHP ^8.2
- Laravel 11
- Lunar要求
文档
测试
composer test
兼容包
- 评价(添加用户评价功能)
- 产品查看(在Redis中存储独特的商品查看)
- 产品库存通知(通知用户商品重新有库存)
- 通讯录(支持Mailchimp / Mailcoach / Brevo的通讯录注册)
- Stripe支付适配器
- Mollie支付适配器
- PayPal适配器 [🚧]
变更日志
请参阅变更日志以获取有关最近更改的更多信息。
贡献
请参阅贡献以获取详细信息。
安全
如果您发现任何与安全相关的问题,请通过电子邮件dev@dy.st联系,而不是使用问题跟踪器。
致谢
- 所有贡献者
- Lunar提供了优秀的电商包
- Laravel JSON:API,它是Laravel应用程序中出色的JSON:API层
许可
MIT许可(MIT)。请参阅许可文件以获取更多信息。