I'm building a package that needs to publish to these directories when php artisan vendor:publish
is called.
Directories includes
public_path('vendor/package/assets')
resources_path('vendor/package/views')
resources_path('vendor/package/translations')
I get permission related error when I run vendor:publsih
which tries to write to these directories.
However vendor:publish
works for database_path('migrations')
.
Laravel requires permission 775 for storage
and bootstrap/cache
.
I don't want package users to be forced to give write permission to public and resources directories.
What am I missing about artisan vendor:publish
, and how do I get this to work?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iQwexW
via IFTTT
Aucun commentaire:
Enregistrer un commentaire