Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.22 KB

File metadata and controls

43 lines (26 loc) · 1.22 KB

Laravel Thumbor url helper

Latest Version on Packagist Total Downloads

This Laravel package is a wrapper around 99designs/phumbor package which generates Thumbor URLs.

Requirements

  • PHP 8.2+
  • Laravel 10+

Features

  • Generates Thumbor URLs

Usage

echo \Thumbor::url('https://example.com/photo.jpg)->resize(160, 90)->build();

Installation

Install the package in a Laravel project via Composer:

composer require datomatic/laravel-thumbor

(Optional) Publish the configuration file and edit it to your preference:

php artisan vendor:publish --provider="Datomatic\LaravelThumbor\ServiceProvider" --tag="config"

Credits

License

Laravel Thumbor is open-sourced software licensed under the MIT license.