Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
csliangy opened this issue Sep 26, 2019 · 1 comment
Open

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

csliangy opened this issue Sep 26, 2019 · 1 comment

Comments

@csliangy
Copy link

  • Hooks Version: 1.0.9
  • voyager-hooks: 1.2.2
  • Voyager Version: 1.x-dev c9dd5a8
  • Laravel Version: 6.0.4
  • PHP Version: 7.2.20

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants