quidmye / products-endpoint
dev-master
2021-11-19 09:56 UTC
Requires
- php: ^7.2.5|^8.0
- laravel/framework: ^7.29|^8.0
This package is auto-updated.
Last update: 2025-07-19 18:27:17 UTC
README
composer require quidmye/products-endpoint
Then run the command
php artisan migrate
ENDPOINTS
POST: https://example.app/api/v1/format/ PARAMS:
[
'products' => [
[
'name' => 'SAMPLE NAME',
'price' => 9.99,
'image' => 'https://example.app/image.png',
'category' => 'Category'
]
]
]
GET: https://example.app/api/v1/format/{id} RESPONSE:
{
"status": "Success",
"link": "https://example.app/storage/products/ymls/1.yml"
}
BASIC TEST
php artisan test vendor/quidmye/products-endpoint