larapack / voyager-hooks

Hooks system integrated into Voyager.
MIT License
208 stars 22 forks source link

Could not find package "test_hook" when add "test_hook" #33

Open csliangy opened 5 years ago

csliangy commented 5 years ago

Description:

After enable the "browse_hooks" permission, I can see the "hooks" menu, however, I cannot create any hook.

Steps To Reproduce:

  1. laravel new hooks
  2. cd hooks
  3. composer require tcg/voyager
  4. php artisan voyager:install --with-dummy
  5. add "browse_hooks" permission to database to make the menu visible
  6. "Add hook"

    Error message:

    InvalidArgumentException Could not find package test_hook. Did you mean one of these? yipl/hookah pxn/hooktest appventus/hooks dam1r89/test-hooks thecrypticace/hooks

image

fletch3555 commented 4 years ago

You don't create hooks through there, you add them. Take a look at known ones here: https://larapack.io/