https://github.com/outl1ne/laravel-thumbor
https://github.com/outl1ne/laravel-thumbor
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/outl1ne/laravel-thumbor
- Owner: outl1ne
- License: mit
- Created: 2020-02-22T11:48:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T05:00:46.000Z (about 1 year ago)
- Last Synced: 2025-03-24T06:04:51.339Z (2 months ago)
- Language: PHP
- Size: 46.9 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Thumbor url helper
[](https://packagist.org/packages/outl1ne/laravel-thumbor)
[](https://packagist.org/packages/outl1ne/laravel-thumbor)This [Laravel](https://laravel.com) package is a wrapper around [99designs/phumbor](https://github.com/99designs/phumbor) package which generates [Thumbor](https://thumbor.readthedocs.io/) URLs.
## Requirements
- Laravel 5+
## Features
- Generates Thumbor URLs
## Usage
```
echo \Thumbor::url('https://example.com/photo.jpg)->resize(160, 90)->build();
```## Installation
Install the package in a Laravel Nova project via Composer and run migrations:
```
composer require outl1ne/laravel-thumbor
```(Optional) Publish the configuration file and edit it to your preference:
```
php artisan vendor:publish --provider="Outl1ne\LaravelThumbor\ServiceProvider" --tag="config"
```## Credits
- [Allan Tatter](https://github.com/allantatter)
- [Kaarel Õun](https://github.com/kaareloun)
- [99designs (phumbor)](https://github.com/99designs/phumbor)## License
Laravel Thumbor is open-sourced software licensed under the [MIT license](LICENSE.md).