ablitica/quotes

A Laravel 4 package for generating a single random quote.

dev-master 2015-03-05 21:36 UTC

This package is not auto-updated.

Last update: 2024-05-07 05:23:31 UTC


README

Returns a single random quotation.

Example: Management is doing things right; leadership is doing the right things. - Peter F. Drucker

How to Install

In the `requirekey of yourcomposer.json` file, add the following:


Run the Composer update command:

```$ composer update```

In your ```config/app.php``` add ```'Ablitica\Quotes\QuotesServiceProvider'``` to the end of the ```$providers``` array.

## Usage ##

```
Route::get('/quote', function(){
	echo Quotes::single();
});
```