An open API service indexing awesome lists of open source software.

https://github.com/ecrmnn/lorem

Dummy text and images for Laravel
https://github.com/ecrmnn/lorem

Last synced: 3 months ago
JSON representation

Dummy text and images for Laravel

Awesome Lists containing this project

README

        

# lorem [![Build Status](https://travis-ci.org/ecrmnn/lorem.svg?branch=master)](https://travis-ci.org/ecrmnn/lorem) [![Total Downloads](https://poser.pugx.org/ecrmnn/lorem/downloads)](https://packagist.org/packages/ecrmnn/lorem)

> Dummy text and images for Laravel

### Install
```bash
composer require ecrmnn/lorem
```

After you have installed open your Laravel config file ``config/app.php`` and add the following lines.
In the $providers array add the service providers for this package.
```php
Ecrmnn\Lorem\LoremServiceProvider::class
```

### Usage
Access ``Lorem`` by using the global helper ``lorem()``

#### Text
```html



{!! lorem(1) !!}

```
```html



{!! lorem(23) !!}

```

#### Image
```html



{!! lorem()->image() !!}

```

```html



{!! lorem()->image(1000, 600, ['class' => 'img-responsive']) !!}

```

### License
MIT © [Daniel Eckermann](http://danieleckermann.com)