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
- Host: GitHub
- URL: https://github.com/ecrmnn/lorem
- Owner: ecrmnn
- Created: 2016-03-03T19:39:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-03T20:46:14.000Z (over 9 years ago)
- Last Synced: 2025-03-19T07:53:24.262Z (3 months ago)
- Language: PHP
- Homepage: https://packagist.org/packages/ecrmnn/lorem
- Size: 9.77 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lorem [](https://travis-ci.org/ecrmnn/lorem) [](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)