2017 © Pedro Peláez
 

library laravel-static-image-cache

store/cache external images as a static file

image

mscharl/laravel-static-image-cache

store/cache external images as a static file

  • Thursday, August 31, 2017
  • by mscharl
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2,412 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

laravel-static-image-cache

store/cache external images as a static file, (*1)

Setup

Add the service provider to the app.php provider array, (*2)

[
    MScharl\LaravelStaticImageCache\Provider\LaravelStaticImageCacheProvider::class,
]

Usage

Just use the staticImage-helper to generate the static file url, (*3)

<img src="{{ staticImage('https://images.domain.com/my-image.jpg') }}" alt="An external image">

Clear the files

To clear all the files manually you can use an artisan task., (*4)

php artisan static-image-cache:clear

The Versions

31/08 2017

dev-master

9999999-dev

store/cache external images as a static file

  Sources   Download

MIT

The Requires

 

by Michael Scharl

31/08 2017
07/04 2017

v1.0

1.0.0.0

store/cache external images as a static file

  Sources   Download

MIT

The Requires

 

by Michael Scharl