Closed Tegos closed 5 years ago
@Tegos Thanks for submitting this issue. Working on both problems you mentioned right now, should have a fix out shortly.
This should now be fixed in release 0.6.2. Please let me know how it works for you. Thanks!
@mikebronner I have a same issue. I'm using version 0.6.2, laravel 5.8, php version 7.1, may be still this issue.
But when I run command:
php artisan model:publish --config
It works fine. It will create laravel-model-caching.php file into config folder.
@letinh The correct command is: php artisan modelCache:publish --config
. I wrote the command incorrectly in the docs. Sorry about that. But you can always list the available artisan commands using php artisan list
if something isn't working as expected, which shows the correct commands for this package. :)
@mikebronner thanks a lot. It works perfect.!!! 👍
Hello. Have a problem, after upgrade to 0.6, try to run:
php artisan model-caching:publish --config
from your documentation but it doesn't work throws an error: There are no commands defined in the "model-caching" namespace. Maybe it should be php artisan vendor:publish, but there are no publishes in provider.Another problem: still used disabled: https://github.com/GeneaLabs/laravel-model-caching/blob/master/src/Traits/ModelCaching.php#L45
Environment