Download the PHP package flaviozantut/avatars without Composer
On this page you can find all versions of the php package flaviozantut/avatars. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download flaviozantut/avatars
More information about flaviozantut/avatars
Files in flaviozantut/avatars
Download flaviozantut/avatars
More information about flaviozantut/avatars
Files in flaviozantut/avatars
Vendor flaviozantut
Package avatars
Short Description avatars.io client
License MIT
Homepage https://github.com/flaviozantut/avatars
Package avatars
Short Description avatars.io client
License MIT
Homepage https://github.com/flaviozantut/avatars
Please rate this library. Is it a good library?
Informations about the package avatars
avatars
Laravel 4 client to avatars.io
Installation
Installation with php composer
composer require "flaviozantut/avatars:1.0.*"
add to app.php 'providers':
'Flaviozantut\Avatars\AvatarsServiceProvider',
add to app.php 'aliases':
'Avatars' => 'Flaviozantut\Avatars\AvatarsFacade',
Register on avatars.io and after receiving the email with the configuration switches run the commands substituting the keys
php artisan avatars:client_id YOURCLIENTID
php artisan avatars:secret_key YOURSECRETKEY
php artisan config:publish flaviozantut/avatars
Usage
//get avatar url
$app['avatars']->url('[email protected]', 'auto');
//upload avatar
$app['avatars']->upload(base64encodefile, userid);
//get by URL
http://yourapp.dev/avatars/userid/service/size
//POST photo to
http://yourapp.dev/avatars/userid
DOCS
MIT License
license.txt
All versions of avatars with dependencies
PHP Build Version
Package Version
The package flaviozantut/avatars contains the following files
Loading the files please wait ....