How can I use sentry with laravel 5?

前端 未结 4 1661
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-14 04:46

I have tried installing sentry in laravel 5 but it doesn\'t work. I would like to know if anyone has done it and how to do it.

Update: I used the instructions for La

4条回答
  •  眼角桃花
    2020-12-14 05:09

    I haven't personally installed it, but I know it's compatible. https://medium.com/@Cartalyst/laravel-5-support-4c11e01c3337

    The installation instructions do not have specific Laravel5 information though it should be identical to L4 pending you pull in the correct branch. Assuming you are using composer you can do this by requiring "cartalyst/sentry": "dev-feature/laravel-5" in your composer.json.

    Follow the rest of the L4 installation (add to providers and aliases array) and information except remember app.php is no longer in app/config/app.php but in config/app.php

    If things are still not working for you, be sure to update your question with at least some information...

提交回复
热议问题