nahid / imgurx by nahid

Imgurx is a package for laravel to access imgur web service based on Adyg/php-imgur-api-client
40
1
2
Package Data
Maintainer Username: nahid
Maintainer Contact: nahid.dns@gmail.com (Nahid Bin Azhar)
Package Create Date: 2016-01-23
Package Last Update: 2016-01-23
Language: PHP
License: Creative Commons
Last Refreshed: 2024-04-14 15:03:20
Package Statistics
Total Downloads: 40
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Imgurx

Imgurx is a laravel 5 package for Imgur based on Adyg/php-imgur-api-client

Installation

You can install it via composer. open your terminal and run this command from your project

composer require nahid/imgurx

Wait for a while. After installation complete you have to define your provider in app.php. Open `config/app.php' and add this code in providers key

Nahid\Imgurx\ImgurxServiceProvider::class,

If you want to use laravel facade then add this line in aliases key

'Imgurx'	=>	Nahid\Imgurx\Facades\Imgurx::class,

Okay, Your laravel integration was complete. Now open your terminal agian and run this code from your project

php artisan vendor:publish

now imgurx.php config file copy to config directory.

Configuration

If you successfully complete the installation process. Then now open config/imgurx.php file and enter your applications crentials.

return [
    'client_id'    =>  '',
    'client_secret'=>   '',
];

Great. You are sucessfully completed Imgurx configuration process :)

Usage

Imgurx is inherited from Adyg/php-imgur-api-client so you will feel free to use all functionalities of this package. See its doc section.

Happy Coding :)