Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer error trying to "publish:config" in L5 #9

Closed
Lloople opened this issue Dec 23, 2014 · 2 comments
Closed

Composer error trying to "publish:config" in L5 #9

Lloople opened this issue Dec 23, 2014 · 2 comments

Comments

@Lloople
Copy link

Lloople commented Dec 23, 2014

Hi, i'm trying to install the package in my Laravel 5 app. I added the line to composer.json, made a composer update, added the service provider and I get this error when I try to run the php artisan publish:config command:

C:\Users\David\www\project>php artisan publish:config anhskohbo/no-captcha
exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined method Illuminate\Config\Repository::package()' in C:\Users\David\www\project\vendor\anhskohbo\no-captcha\src\NoCaptchaServiceProvider.php:23
Stack trace:
#0 C:\Users\David\www\project\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(115): Illuminate\Foundation\Bootstrap\HandleExceptions->fatalExceptionFromError(Array)
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#2 {main}

Don't know if I'm doing something bad.

I also tried with commands like composer self-update and composer clear-compiled and nothing.

@anhskohbo
Copy link
Owner

It is removed in Laravel 5. laravel/framework@0561d92

@MartijnThomas
Copy link

@anhskohbo might be an idea to remove the line to use 'publish:config' in L5 from the docs ;)

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

No branches or pull requests

3 participants