2017 © Pedro Peláez
 

library avatars

avatars.io client

image

flaviozantut/avatars

avatars.io client

  • Wednesday, February 17, 2016
  • by flaviozantut
  • Repository
  • 1 Watchers
  • 2 Stars
  • 89 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

avatars

Laravel 4 client to avatars.io, (*1)

Build Status Coverage Status Latest Stable Version Total Downloads, (*2)

Installation

Installation with php composer, (*3)

 composer require "flaviozantut/avatars:1.0.*"

add to app.php 'providers':, (*4)

'Flaviozantut\Avatars\AvatarsServiceProvider',

add to app.php 'aliases':, (*5)

'Avatars'    => 'Flaviozantut\Avatars\AvatarsFacade',

Register on avatars.io and after receiving the email with the configuration switches run the commands substituting the keys, (*6)

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('user@mail.com', '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

Docs, (*7)

MIT License

license.txt, (*8)

Bitdeli Badge, (*9)

The Versions

17/02 2016

dev-master

9999999-dev https://github.com/flaviozantut/avatars

avatars.io client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar flaviozantut

laravel laravel4 avatar gravatar avatars.io

18/07 2013

v1.0.0

1.0.0.0 https://github.com/flaviozantut/avatars

avatars.io client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar flaviozantut

laravel laravel4 avatar gravatar avatars.io

18/07 2013

v1.0.0-RC1

1.0.0.0-RC1 https://github.com/flaviozantut/avatars

avatars.io client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar flaviozantut

laravel laravel4 avatar gravatar avatars.io