saheed / availability-check
Returns the available products with the conditions added in each service
dev-master
2020-03-07 17:36 UTC
This package is auto-updated.
Last update: 2025-07-08 06:00:43 UTC
README
Returns the available products with the conditions added in each service
Basic Usage
Now we can check the product availabilty by 3 services.
- speed_greater_than -which means, product will be shown or listed only if product speed is greater than 'X'
- color_not - This service has a rule which checks if a product color is not X
- price_less_than - This service provides a check or rule for the price, say price should be less than 'X'
E.g;
//Get api/products?speed_greater_than=500&color_not=black&price_less_than=100
Installation
composer require saheed/availability-check
Migrate database
php artisan migrate:fresh