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

Feature Requests: Add Support for Laravel Zero #122

Open
the-csaba opened this issue Apr 26, 2024 · 1 comment
Open

Feature Requests: Add Support for Laravel Zero #122

the-csaba opened this issue Apr 26, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@the-csaba
Copy link

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.

@the-csaba the-csaba changed the title Feature requests: Support Laravel Zero Feature Requests: Add Support for Laravel Zero Apr 26, 2024
@subzero10 subzero10 added the enhancement New feature or request label May 1, 2024
@subzero10
Copy link
Member

Hey @om4csaba, thanks for submitting a feature request!

I guess we should be able to tweak the existing client integrations to support Laravel Zero. I can't say when we will be able to work on this, because of limited bandwidth.

Pull requests are always welcome!

@subzero10 subzero10 added the help wanted Extra attention is needed label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants