Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

publish package configuration in Laravel 5.1 #11

Closed
Shemahmforash opened this issue Aug 1, 2015 · 2 comments
Closed

publish package configuration in Laravel 5.1 #11

Shemahmforash opened this issue Aug 1, 2015 · 2 comments

Comments

@Shemahmforash
Copy link

After installing correctly the package and defining the provider and the facade, the command for publishing the package configuration php artisan eloquent-oauth:install is not working in my L5.1 project. It says:

[InvalidArgumentException]
There are no commands defined in the "eloquent-oauth" namespace.

Also tried with: php artisan vendor:publish --provider="AdamWathan\EloquentOAuthL5\EloquentOAuthServiceProvider"
which responds: Nothing to publish for tag [].

Is the package ready for Laravel 5.1, or am I doing anything wrong?

Thanks in advance.

@adamwathan
Copy link
Owner

Hmm working fine here, here's an example L5.1 project with the package installed and working, can you poke around and see if you notice anything different?

https://github.com/adamwathan/eloquent-oauth-l5-example

@Shemahmforash
Copy link
Author

After running php artisan config:clear, I managed to publish the package and run the migration successfully.

Thanks for your help.

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

No branches or pull requests

2 participants