Package name starting with laravel- #122
Unanswered
dominik-eller
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my opinion there is maybe an issue if you name your package starting with laravel-
for example a package named laravel-package will lead to a command called package by design. That's ok, when you know it.
The migration create_package_table created is called but in the LaravelPackageServiceProvider it is referenced as ->hasMigration('create_laravel-package_table'). So the "laravel-" is removed from the migration name. The Migration gets not published like that.
There might me more issues related to that. I stopped naming my packages like that.
Instead of vendor/laravel-package I currently use vendor/package
Beta Was this translation helpful? Give feedback.
All reactions