All Projects → spatie → Laravel Medialibrary

spatie / Laravel Medialibrary

Licence: mit
Associate files with Eloquent models

Programming Languages

PHP
23972 projects - #3 most used programming language
Blade
752 projects

Projects that are alternatives of or similar to Laravel Medialibrary

Quicksand
Easily schedule regular cleanup of old soft-deleted Eloquent data.
Stars: ✭ 259 (-94.54%)
Mutual labels:  hacktoberfest, eloquent, laravel
Befriended
Eloquent Befriended brings social media-like features like following, blocking and filtering content based on following or blocked models.
Stars: ✭ 596 (-87.43%)
Mutual labels:  eloquent, laravel, media
Laravel Filemanager Example 5.3
Demo integration for laravel-filemanager (https://github.com/UniSharp/laravel-filemanager).
Stars: ✭ 100 (-97.89%)
Mutual labels:  laravel, media, upload
Laravel Mediable
Laravel-Mediable is a package for easily uploading and attaching media files to models with Laravel 5.
Stars: ✭ 541 (-88.59%)
Mutual labels:  hacktoberfest, eloquent, laravel
Laravel Guided Image
Simplified and ready image manipulation for Laravel through intervention image.
Stars: ✭ 32 (-99.33%)
Mutual labels:  hacktoberfest, laravel, upload
Laravel Translatable
A Laravel package for multilingual models
Stars: ✭ 624 (-86.84%)
Mutual labels:  hacktoberfest, eloquent, laravel
Laravel Imageup
Auto Image & file upload, resize and crop for Laravel eloquent model using Intervention image
Stars: ✭ 646 (-86.38%)
Mutual labels:  eloquent, laravel, upload
Laravel Schedulable
Schedule and unschedule eloquent models elegantly without cron jobs
Stars: ✭ 78 (-98.36%)
Mutual labels:  hacktoberfest, eloquent, laravel
Corcel
Use WordPress backend with Laravel or any PHP application
Stars: ✭ 3,504 (-26.12%)
Mutual labels:  hacktoberfest, eloquent, laravel
Elasticsearch
The missing elasticsearch ORM for Laravel, Lumen and Native php applications
Stars: ✭ 375 (-92.09%)
Mutual labels:  eloquent, laravel
Collision
💥 Collision is a beautiful error reporting tool for command-line applications
Stars: ✭ 3,993 (-15.81%)
Mutual labels:  hacktoberfest, laravel
Laravel Model Cleanup
Clean up unneeded records
Stars: ✭ 388 (-91.82%)
Mutual labels:  eloquent, laravel
Larasail
LaraSail - Set Sail with your Laravel app on DigitalOcean
Stars: ✭ 348 (-92.66%)
Mutual labels:  hacktoberfest, laravel
Laravel Modules
Module Management In Laravel
Stars: ✭ 3,910 (-17.56%)
Mutual labels:  hacktoberfest, laravel
Laravel Eloquent Uuid
A simple drop-in solution for providing UUID support for the IDs of your Eloquent models.
Stars: ✭ 388 (-91.82%)
Mutual labels:  eloquent, laravel
Bagisto
An easy to use, free and open source laravel eCommerce platform to build your online shop in no time.
Stars: ✭ 4,140 (-12.71%)
Mutual labels:  hacktoberfest, laravel
Comments
Native comments for your Laravel application.
Stars: ✭ 390 (-91.78%)
Mutual labels:  hacktoberfest, laravel
Laravel Datatables
jQuery DataTables API for Laravel 4|5|6|7|8
Stars: ✭ 4,134 (-12.84%)
Mutual labels:  hacktoberfest, laravel
Phpmussel
PHP-based anti-virus anti-trojan anti-malware solution.
Stars: ✭ 337 (-92.89%)
Mutual labels:  hacktoberfest, upload
Laravel Ueditor
UEditor integration for Laravel.
Stars: ✭ 392 (-91.74%)
Mutual labels:  laravel, upload

Social Card of Laravel Media Library

Associate files with Eloquent models

Latest Version GitHub Workflow Status Total Downloads

This package can associate all sorts of files with Eloquent models. It provides a simple API to work with. To learn all about it, head over to the extensive documentation.

Here are a few short examples of what you can do:

$newsItem = News::find(1);
$newsItem->addMedia($pathToFile)->toMediaCollection('images');

It can handle your uploads directly:

$newsItem->addMedia($request->file('image'))->toMediaCollection('images');

Want to store some large files on another filesystem? No problem:

$newsItem->addMedia($smallFile)->toMediaCollection('downloads', 'local');
$newsItem->addMedia($bigFile)->toMediaCollection('downloads', 's3');

The storage of the files is handled by Laravel's Filesystem, so you can use any filesystem you like. Additionally the package can create image manipulations on images and pdfs that have been added in the media library.

Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Documentation

You'll find the documentation on https://docs.spatie.be/laravel-medialibrary.

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the media library? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.

If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.

Testing

You can run the tests with:

vendor/bin/phpunit

Upgrading

Please see UPGRADING for details.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

A big thank you to Nicolas Beauvais for helping out with the issues on this repo.

And a special thanks to Caneco for the logo

Alternatives

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].