Download the PHP package jolitagrazyte/laravel-discogs without Composer
On this page you can find all versions of the php package jolitagrazyte/laravel-discogs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jolitagrazyte/laravel-discogs
More information about jolitagrazyte/laravel-discogs
Files in jolitagrazyte/laravel-discogs
Package laravel-discogs
Short Description An easy to use Laravel-Discogs package.
License MIT
Homepage https://github.com/jolitagrazyte/laravel-discogs
Informations about the package laravel-discogs
A easy to use Laravel-Discogs package.
Installation
You can install the package via composer:
Post-installation
You must set the service provider of this package in your application file.
This package also comes with a facade, which provides an easy way to call the the class.
Next up, you must publish the config file of this package with this command:
The following config file will be published in config/laravel-discogs.php
Some of the endpoints require authentication.
If you want to use one of those you must set your token.
Usage
Usage of this package is really simple.
For the most of the endpoints there is a method.
Optionally you can also use the get()-method.
Endpoints with no authentication required
Inventory not authenticated
If you are not authenticated as the inventory owner, only items that have a status of For Sale will be visible.
Endpoints where authentication is required
For the endpoints where authentication is required you must make sure that you have a token placed in your .env file or straight in the configuration file: config/laravel-discogs.php .
Orders
Search
If you want to add some extra search parameters you can do it by first creating a SearchParameters object and then chaining as many options as you want.
Inventory
When requesting your own inventory you also must authenticate.
As the inventory owner you will get additional weight, format_quantity, external_id, and location keys.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Jolita Grazyte
- All Contributors
About Spatie
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
License
The MIT License (MIT). Please see License File for more information.