Sentry-laravel: No config file is created with command

Created on 16 Mar 2018  路  8Comments  路  Source: getsentry/sentry-laravel

Hello, when I do this command

php artisan vendor:publish --provider="Sentry\SentryLaravel\SentryLaravelServiceProvider"

No config file is created and I get this message of publish complete. vendor:publish does not display anything related to sentry.

I'm using L56 and Sentry 1.8.3

All 8 comments

Ah, the guide on the webpage says you should do this:

composer require "sentry/sentry"

but this ones says

composer require sentry/sentry-laravel

this one worked. So update your guide on the page?

Hey @joveice on which webpage are you seeing the guide?

https://sentry.io/< team >/< project >/getting-started/php-laravel/

Thanks! I am going to dig in why a little bit of the generic php guide is prepended to this, however the Laravel 5.x instructions are right below it with the correct composer commands.

A PR is submitted (getsentry/sentry-php#570) to fix this, will soon be resolved.

Happening on 1.0.0-beta2 with Laravel 5.4.36

image

@luizguilhermefr Laravel 5.4 does not auto configure service providers. Make sure you added the service provider to your config/app.php as per the docs: https://docs.sentry.io/platforms/php/laravel/. If that doesn't work please open a new issue.

Yes, shame on me. I was on automatic mode thinking on 5.5+.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

acidjazz picture acidjazz  路  4Comments

InstanceOfMichael picture InstanceOfMichael  路  6Comments

IMM9O picture IMM9O  路  5Comments

carlosrgzm picture carlosrgzm  路  7Comments

errogaht picture errogaht  路  8Comments