unopim / bagisto-rest-api
v1.0.4
2025-03-10 06:24 UTC
Requires
- darkaonline/l5-swagger: ^8.5
README
Bagisto REST API is a medium to use the features of the core Bagisto System. By using Bagisto REST API, you can integrate your application to serve the default content of Bagisto.
1. Requirements:
- Bagisto: v2.2.x
2. Installation:
Install the stable version of Bagisto Rest API from your console using the below command:
composer require unopim/bagisto-rest-api
Add below options in the .env file (i.e. http://localhost/public your domain):
SANCTUM_STATEFUL_DOMAINS=http://localhost/public
To configure the REST API L5-Swagger Documentation run below command:
php artisan bagisto-rest-api:install
To check the Admin end API documentation:
http://localhost/public/api/admin/documentation
To check the Shop end API documentation:
http://localhost/public/api/shop/documentation
3. Using Bulk Product API with Queues
To enable the Bulk Product API to run using queues, update your .env
file:
QUEUE_DRIVER=database QUEUE_CONNECTION=database
This ensures that bulk operations are processed asynchronously using the queue system.
- You can check the L5-Swagger guidelines too regarding the configuration the API documentation.