Download the PHP package winex01/backpack-filter without Composer
On this page you can find all versions of the php package winex01/backpack-filter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download winex01/backpack-filter
More information about winex01/backpack-filter
Files in winex01/backpack-filter
Package backpack-filter
Short Description Laravel backpack free filter without buying pro version.
License MIT
Homepage https://github.com/winex01/backpack-filter
Informations about the package backpack-filter
BackpackFilter
This package provides a filter functionality for Backpack for Laravel administration panel. If you don't have the budget or haven't purchased the pro version, this is a great alternative for implementing filters.
Screenshots
Theme Supported
- theme-coreuiv2 - YES
- theme-coreuiv4 - YES
- theme-tabler - YES
Supported Fields
- Free Backpack Fields(except relationship field)
- date_range (this is custom so it has limited customization, can change wrapper and attributes)
Installation
Via Composer
Usage
Make sure to remove this, or manually enter the columns, or unset list.field in list operation:
Create a file resources/vendor/backpack/crud/list.blade.php and paste the original backpack file contents. Inside, add this line:
OR you can download the file here: list.blade.php
To use the filter this package provides, inside your EntityCrudController do:
To apply the filter field into queries, inside your setupListOperation:
If you want to make your own validation:
This package also provides with export using https://laravel-excel.com/, this operation automatically add entity/export route, be sure you have EntityExport.php file in your export directory. example if you have UserCrudController, you must have app/Exports/UserExport.php file. Also if you have an active filters it will also apply into the export.
Change log
Changes are documented here on Github. Please see the Releases tab.
Testing
Contributing
Please see contributing.md for a todolist and howtos.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Winnie A. Damayo
- All Contributors
License
This project was released under MIT, so you can install it on top of any Backpack & Laravel project. Please see the license file for more information.
However, please note that you do need Backpack installed, so you need to also abide by its YUMMY License. That means in production you'll need a Backpack license code. You can get a free one for non-commercial use (or a paid one for commercial use) on backpackforlaravel.com.