infyomlabs/laravel-upcitemdb

Laravel Wrapper for UPCItemDB.

v0.1.0 2019-10-30 13:35 UTC

This package is auto-updated.

Last update: 2021-09-10 10:49:33 UTC


README

Laravel UPCItemDB

Total Downloads Monthly Downloads Daily Downloads License

Laravel Wrapper for UPCItemDB.

Installation

Install the package by the following command,

composer require infyomlabs/laravel-upcitemdb

Publish the config file

Run the following command to publish config file,

php artisan vendor:publish --provider="InfyOm\UPCItemDB\UPCItemDBServiceProvider"

Add Facade

Add the Facade to your config/app.php into aliases section,

'UPCItemDB' => \InfyOm\UPCItemDB\UPCItemDB::class,

Usage

Lookup

For UPC Lookup, use the lookup method by calling,

\UPCItemDB::lookup('4002293401102');

Search

For Search API, you can use the search method,

\UPCItemDB::search('iphone 6');

\UPCItemDB::search('iphone 6', [
    'brand' => 'apple'
]);

Support Us

We have created 14+ Laravel packages and invested a lot of resources into creating these all packages and maintaining them.

You can support us by either sponsoring us or buying one of our paid products. Or help us by spreading the word about us on social platforms via tweets and posts.

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site.

68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f696e66796f6d6c6162732f73706f6e736f72732e7376673f77696474683d383930

Backers

Become a backer and get your image on our README on Github with a link to your site.

68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f696e66796f6d6c6162732f6261636b6572732e7376673f77696474683d383930

Buy our Paid Products

InfyJobs

You can also check out our other paid products on CodeCanyon.

Follow Us