Download the PHP package elevencodes/instagram-laravel without Composer
On this page you can find all versions of the php package elevencodes/instagram-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elevencodes/instagram-laravel
More information about elevencodes/instagram-laravel
Files in elevencodes/instagram-laravel
Package instagram-laravel
Short Description Instagram Service Provider for Laravel 4
License MIT
Informations about the package instagram-laravel
Instagram Service Provider for Laravel
A simple Laravel 4 service provider for including the PHP Instagram API.
Installation
The Instagram Service Provider can be installed via Composer by requiring the elevencodes/instagram-laravel
package.
If you are using the Laravel 4.0, use
"elevencodes/instagram-laravel": "1.*"
instead.
Usage
To use the Instagram Service Provider, you must register the provider when bootstrapping your Laravel application.
Use Laravel Configuration
Run config:publish
artisan command and update the package configuration file.
Find the providers
key in app/config/app.php
and register the Instagram Service Provider.
Find the aliases
key in app/config/app.php
and add in our Instagram
alias.
Authentication
The following example uses the Instagram Service Provider to authenticate user.
Add the following methods in your Users Controller.
Add the following routes in your routes.php
.
Example
Get current user
You can use static call to get the current authenticated user.
Reference
All versions of instagram-laravel with dependencies
laravel/framework Version >=4.0,<4.3
php-instagram-api/php-instagram-api Version dev-master