Gravitas Bundle, by Phill Sparks
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits ahead of michaelowens:master.

Gravitas Bundle


php artisan bundle:install gravitas

Bundle Registration

Add the following to your application/bundles.php file:

'gravitas' => array(
	'autoloads' => array(
		'map' => array(
			'Gravitas\\API' => '(:bundle)/api.php',

## Guide

Get a Gravatar URL

Gravitas\API::url('', 120);

Get the HTML for a Gravatar image

Gravitas\API::image('', null, 'Phill Sparks');


You can configure the size, rating and default image in config/default.php. Full documentation is included in the config file.