Closed nullifiedaccount3 closed 8 years ago
As I mentioned in the issue description the problem was with incorrect event syntax.
This worked for my Laravel version 5.2.39
php artisan hook:add http://localhost:10000 'eloquent.updated: App\Vessel'
Answer on SO: http://stackoverflow.com/a/39989728/1202145
Issue description
I have been trying to get captainhook to work for a model and was not able to do so. I'm not sure where I'm doing a mistake but I assume Laravel is not firing
eloquent.saved
or any other events. I followed all the exact instructions mentioned in readme.Here are my project files that might help resolve the issue:
Any help is greatly appreciated.
php artisan hook:list
composer.json
.env
config/captain_hook.php