Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Bagisto Api Laravel Package

bagisto/bagisto-api

REST and GraphQL API layer for Bagisto 2.3.8+, built on API Platform. Quickly install via Composer and an Artisan installer to get API docs, GraphQL Playground, and shop/admin endpoints for e‑commerce integrations and extensions.

View on GitHub
Deep Wiki
Context7
v1.0.3

1.0.3

Added

Customer account APIs

  • Customer orders list / detail endpoints (CustomerOrderProvider).
  • Customer order shipments (CustomerOrderShipmentProvider).
  • Customer invoices (CustomerInvoiceProvider) and invoice PDF download (InvoicePdfController).
  • Customer reviews list (CustomerReviewProvider).
  • Customer downloadable products listing (CustomerDownloadableProductProvider) and purchased-downloads download endpoint (DownloadablePurchasedController).
  • Cancel order (CancelOrderProcessor + CancelOrderInput DTO).
  • Reorder (ReorderProcessor + ReorderInput DTO).
  • Customer profile output resource (CustomerProfileOutput) and profile helper.
  • Customer address DTO + processor updates for address CRUD.

Catalog & storefront APIs

  • REST endpoints for Locale, Category tree, and Theme Customization.
  • CMS page lookup by URL key (PageProvider, GraphQL PageByUrlKeyResolver tagged as collection query resolver).
  • Channel endpoint (ChannelProvider).
  • Product API now exposes query fields for dynamic currency.
  • Booking product slot provider (BookingSlotProvider) and mutations for Booking / Event Booking product types.
  • Downloadable product sample download (DownloadSampleController).
  • More precise product search by title.
  • Contact Us submission (ContactUsProcessor + ContactUsInput/ContactUsOutput DTOs).

Cart, wishlist & compare

  • Merge cart API with configurable product support (CartTokenProcessor extended).
  • Compare item CRUD (CompareItemProvider/CompareItemProcessor) + delete-all (DeleteAllCompareItemsProcessor).
  • Wishlist CRUD (WishlistProvider/WishlistProcessor) + delete-all (DeleteAllWishlistsProcessor).
  • Move wishlist item to cart (MoveWishlistToCartProcessor + input/output DTOs).

Infrastructure

  • php artisan bagisto-api-platform:cache:clear (ClearApiPlatformCacheCommand).
  • CursorAwareCollectionProvider for cursor-based pagination.
  • FixedSerializerContextBuilder to patch API Platform serializer context handling.
  • SnakeCaseLinksHandler for consistent snake_case link rendering.
  • Push Notification integration.
  • Extensive Pest feature test coverage: GraphQL product/cart/checkout/customer/wishlist/compare/booking/reorder, REST customer orders/invoices/reviews/downloadable/CMS pages, customer auth and address flows, locale + channel + currency headers.

Changed

  • Cart price conversion now respects the active currency.
  • Translation fallback for products and product variants based on active status.
  • Translations extended across 21 locales (en/app.php + 20 locale files: ar, bn, ca, de, es, fa, fr, he, hi_IN, id, it, ja, nl, pl, pt_BR, ru, sin, tr, uk, zh_CN) including Event Booking product type strings.
  • Shipping rates now expose formattedPrice (ShippingRateOutput updated).
  • GraphQL Playground controller refreshed (~460 lines) with updated endpoints and UX.
  • InstallApiPlatformCommand now publishes vendor config.
  • api-platform/laravel and api-platform/graphql pinned to specific versions in composer.json.
  • OpenAPI info.version bumped to 1.0.3 in config/api-platform.php, config/api-platform-vendor.php, and the SwaggerUIController error fallback.
  • Add-to-cart error response updated with clearer payload.
  • Rate-limit enforcement tightened for storefront endpoints.

Fixed

  • Disabled products can no longer be added to the wishlist.
  • Moving a wishlist item to the cart now increments the cart quantity when the same product is moved again.
  • attributeValues key resolved correctly in product query data.
  • formattedPrice field for downloadable and Event Booking product types.
  • Cart merge behaviour for configurable products.
  • Translation fallback for products and cart price conversion.
  • Order, customer, and wishlist edge cases reported during QA.
  • README + api-platform-vendor.php newline hygiene.

Documentation

  • README: fixed step numbering (Step 9 → Step 6), stray backtick on the GraphQL endpoint URL, and the graphqligraphiql typo in the GraphQL Playground link.
  • Added CHANGELOG.md (this file).
v1.0.0

Storefront API Added

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
iio/libmergepdf
redaxo/project
zatona-eg/zatona-eg-api
patrickbussmann/oauth2-apple
3brs/enterprise-security-bundle
ardenexal/fhir-models
ardenexal/fhir-validation
dpfx/laravel-livewire-wizards
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle
dmstr/api-platform-utils-bundle
dmstr/api-configuration-bundle
chrisdev/ux-components
crudly/encrypted
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony