{"repo":"dietercoopman/smart","free":true,"listed":false,"github":"https://github.com/dietercoopman/smart","clone":"git clone https://github.com/dietercoopman/smart.git","description":"smart makes it possible to serve images and download files from any location including Laravel disks. It enables resizing and cacheing images before sending them to the browser. Templates make it super easy to preconfigure your settings to use them all over your site.","language":"PHP","stars":239,"topics":["laravel","image-processing","images","blade"],"license":"MIT","category":"media-processing","readme_excerpt":"Blade components for easy image manipulation and file downloads This package makes it possible to - serve images from anywhere, this might be a public path , a private path or a Laravel disk - resize images not only by defining height and width in the html image tag but by really resizing the content that is passed to the browser - apply templates to images, change the settings for all images from one place - automatically cache your images - apply the full intervention/image API to an image - download files from anywhere, this might be a public path , a private path or a Laravel disk - use smart-div to add background images to div blocks Typical use case For smart image Serving images that are stored wherever you want, changing the size and look&feel of an image without changing the original source. So you can use 1 image to once serve them for example grey on an overview page, but full color on a detail page. For smart download Downloading files that are stored wherever you want this can be your storage folder a Laravel disk or a https path For smart div Sometimes you have to add background images to div blocks, this can be achieved with smart-div. You can apply templates to the background images. Watch me explaining what smart is on YouTube Installation You can install the package via composer you can optionaly publish the config file if you want to use templates or change some settings ( see advanced usage with templates ) Smart Image Full example In this example the imag","default_branch":null,"files":null,"tree":[],"storefront":"/r/dietercoopman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dietercoopman/smart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}