2017 © Pedro Peláez
 

helper lorem

Dummy text and images for Laravel

image

ecrmnn/lorem

Dummy text and images for Laravel

  • Thursday, March 3, 2016
  • by ecrmnn
  • Repository
  • 2 Watchers
  • 2 Stars
  • 309 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

lorem Build Status Total Downloads

Dummy text and images for Laravel, (*1)

Install

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., (*2)

Ecrmnn\Lorem\LoremServiceProvider::class

Usage

Access Lorem by using the global helper lorem(), (*3)

Text

<body>
    <div class="content">
        <!-- Returns one paragraph of lorem ipsum -->
        {!! lorem(1) !!}
    </div>
</body>

```html , (*4)

{!! lorem(23) !!}

#### Image ```html <body> <div class="content"> <!-- Returns an image (1024x1024) --> {!! lorem()->image() !!} </div> </body>
<body>
    <div class="content">
        <!-- Returns an image (1000x600) with class -->
        {!! lorem()->image(1000, 600, ['class' => 'img-responsive']) !!}
    </div>
</body>

License

MIT © Daniel Eckermann, (*5)

The Versions

03/03 2016

dev-master

9999999-dev

Dummy text and images for Laravel

  Sources   Download

MIT

The Development Requires

by Daniel Eckermann

03/03 2016

1.0.3

1.0.3.0

Dummy text and images for Laravel

  Sources   Download

MIT

The Development Requires

by Daniel Eckermann

03/03 2016

1.0.2

1.0.2.0

Dummy text and images for Laravel

  Sources   Download

MIT

The Development Requires

by Daniel Eckermann

03/03 2016

1.0.1

1.0.1.0

Dummy text and images for Laravel

  Sources   Download

MIT

The Development Requires

by Daniel Eckermann

03/03 2016

1.0.0

1.0.0.0

Dummy text and images for Laravel

  Sources   Download

MIT

The Development Requires

by Daniel Eckermann