Download the PHP package apsg/da-gallery-fetcher without Composer
On this page you can find all versions of the php package apsg/da-gallery-fetcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download apsg/da-gallery-fetcher
More information about apsg/da-gallery-fetcher
Files in apsg/da-gallery-fetcher
Package da-gallery-fetcher
Short Description deviantArt Gallery fetcher
License MIT
Homepage https://github.com/apsg/da-gallery-fetcher
Informations about the package da-gallery-fetcher
deviantArt Gallery fetcher
deviantArt gallery fetcher for Laravel. Use dA as data source and create awesome stuff (like a gallery!).
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
The DA_USERNAME
variable is the default name of user you want to fetch the gallery (in most cases: your username).
Other variables (client ID and secret) can be obtained by registering your own OAUTH app here:
https://www.deviantart.com/developers/apps
Usage
To change user just use fluent syntax:
Disable cache
To disable cache permanently just set the config's variable cache
to false.
To disable temporarily just use helper:
DTOs
To fetch data and automatically transform it using DTOs:
Testing
Credits
It uses great oauth2 subscriber for guzzle: https://github.com/kamermans/guzzle-oauth2-subscriber
License
The MIT License (MIT). Please see License File for more information.
All versions of da-gallery-fetcher with dependencies
guzzlehttp/guzzle Version ^7.2
illuminate/contracts Version ^8.0
kamermans/guzzle-oauth2-subscriber Version ^1.0
laravel/framework Version ^8.0
spatie/laravel-package-tools Version ^1.4.3