filterable
laravel-medialibrary
filterable | laravel-medialibrary | |
---|---|---|
3 | 7 | |
183 | 5,971 | |
9.8% | 0.6% | |
8.2 | 8.5 | |
29 days ago | 29 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
filterable
-
Introducing Filterable: A Powerful, Modular Query Filtering System for Laravel
Ready to try Filterable in your Laravel application? Check out the GitHub repository and give it a star if you find it useful!
-
Show HN: Filterable – A PHP Package for Adding Filterable Queries to Eloquent
- Integrates seamlessly with Laravel's existing Eloquent models.
I believe this could be a useful tool for many developers working with Laravel and Eloquent. I'd love to get your feedback, contributions, or any suggestions for improvements.
Check out the project on GitHub: [Filterable on GitHub](https://github.com/Thavarshan/filterable)
Looking forward to hearing what you think!
laravel-medialibrary
-
Nova with Spatie MediaLibrary
I have it working ok for a single image using this idea but need the user to be able to add multiple images.
-
What's up with spatie not touching s3
The current version as of writing this is 10.5.2 released 8 days ago.
- Spatie Media Library has a server crashing vulnerability
-
Best practice: Image path in each model or single shared Image model?
Use this, i use it in all my projects.
-
Polymorphism in the database
An example of a good use of a polymorphic relationship can be seen in the Rails Active Storage module, which allows you to attach files to a model, and instead of duplicating the database columns and tables for each model that has attachments, there are two general tables: activestorage_attachments (attachments; relationship info) and activestorage_blobs (blobs; file info). A model can have one or many attachments (has_one_attachment and has_many_attachments, both can be used more than once depending on your needs), an attachment belongs to a record (record_id and record_type) and belongs to a blob (blob_id), and blobs have one attachment. You can access an attachment attribute on the related model like so, user.avatar # has_one_attachment(:avatar); or for many attachments of the same type, user.photos # an array of attachments; has_many_attachments(:photos). There’s a Laravel package similar to this called spatie/laravel-medialibrary.
-
Laravel + angular
For storing files and associating them with models, I can highly recommend Spatie's Media Library. Used it in a project recently and haven't had any hassle with it.
What are some alternatives?
firestore-eloquent - This Laravel library provides an Eloquent-like interface for interacting with Firestore, Google Cloud's NoSQL database.
laravel-eloquent-query-cache - Adding cache on your Laravel Eloquent queries' results is now a breeze.
eloquent-filter - Eloquent Filter is a package for filter data of models by the query strings. Easy to use and fully dynamic.
laravel-translatable - Making Eloquent models translatable
laravel-time-series - ⏰📊✨Laravel Time Series - Provides an API to create and maintain data projections (statistics, aggregates, etc.) from your Eloquent models, and convert them to time series.
laravel-mongodb - A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)