larapack / hooks

Hooks is a extension system for your Laravel application.
https://larapack.io
MIT License
218 stars 15 forks source link

[Feature Request] Hooks lookup #3

Open marktopper opened 7 years ago

marktopper commented 7 years ago

It will be possible to do some hook lookups.

$search = Hooks::search('Foobar') // Search for `Foobar`
    ->tag('voyager') // Find only hooks with the `voyager` tag
    ->orderBy('downloads')
    ->get();

$hooks = $search->items();