Skip to content

Feature Requests: Add Support for Laravel Zero #122

@the-csaba

Description

@the-csaba

Laravel Zero is a stripped-down version of the full Laravel framework for console-based applications. See: https://laravel-zero.com

What are the steps to reproduce this issue?

  1. Create a Laravel Zero application (composer create-project --prefer-dist laravel-zero/laravel-zero movie-cli)
  2. Require and register Honeybadger
  3. Run the honeybadger:install command

What happens?

Could not install because Laravel Zero lacks Http, Router, and Request objects.

What were you expecting to happen?

Honeybadger should install on Laravel Zero.

Any logs, error output, etc?

./console.php honeybadger:install                                         

 Your API key:
 > 

Write HONEYBADGER_API_KEY to .env: ✔
Write HONEYBADGER_API_KEY placeholder to .env.example: ✔
Write HONEYBADGER_VERIFY_SSL placeholder to .env.example: ✔

Target class [request] does not exist.

Any other comments?

Installing the honeybadger-io/honeybadger-php package works perfectly, obviously lacking the Laravel-specific features such as context and environment configuration.

What versions are you using?

Operating System: not related
Package Version: 4.0

Happy to create a pull request if it helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions