maurohmartinez / compare-operation-backpack-laravel
Compare two models
Installs: 208
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 1
Language:Blade
Requires
- php: ^8.0
- backpack/crud: ^6.4
README
This package adds a Compare Operation for projects using the Backpack for Laravel administration panel.
Screenshot
Installation
Via Composer
composer require maurohmartinez/compare-operation-backpack-laravel
Usage
To use the Operation this package provides, inside your custom CrudController add the trait:
use \MHMartinez\CompareOperation\CompareOperation;
And then customize the columns to show just like you wouyld do with the Show Operation:
protected function setupCompareOperation(): void { $this->crud->column('id'); $this->crud->column('name'); $this->crud->column('email'); // etc... }
Change log
Changes are documented here on Github. Please see the Releases tab.
Testing
composer test
Contributing
Contributions are welcome and will be fully credited:
- code contributions are accepted via Pull Requests to this Github repo;
- documentation contributions are accepted via Pull Requests to this Github repo;
- other contributions are most likely welcome in the way you see fit;
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
- Mauro Martinez Developer
- Cristian Tabacitu For creating Backpack for Laravel!
License
This project is free for use, so you can install it on top of any Backpack & Laravel project.
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.