lizhineng / nova-relation-search
There is no license information available for the latest version (v0.1) of this package.
Handle relation search feature on Nova resource.
v0.1
2020-04-27 10:52 UTC
Requires
- laravel/nova: ~3.0
Requires (Dev)
- orchestra/testbench: ^5.1
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-10-28 17:07:32 UTC
README
Currently, Nova resource doesn't support relation search out of the box, and the package is to give that ability to you.
Installation
You can install the package to your Laravel app by using the following command via Composer.
composer require lizhineng/nova-relation-search
Usage
// in the App/Nova/Post.php ... import LiZhineng\NovaRelationSearch\HandleRelationSearch; use HandleRelationSearch; public static $relatedSearch = [ 'user' => ['name'], ]; ...
After the extremely easy setup, now you can go to search your resource and test it, have fun :-)