Download the PHP package manuelluvuvamo/laravel-bug-courier without Composer

On this page you can find all versions of the php package manuelluvuvamo/laravel-bug-courier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-bug-courier

Laravel Bug Courier

Introduction

laravel-bug-courier is a Laravel package designed to facilitate bug reporting and issue tracking across multiple platforms. It provides a structured way to capture, store, and report bugs using various integrations such as email, Azure DevOps, GitHub, and Trello. The package allows you to configure reporting methods and use predefined services, domain entities, and repositories either independently or in combination.

Installation

To install the package, run the following command:

After installing, publish the configuration file:

This will create a config/bug-courier.php file where you can customize the package settings.


Configuration

Environment Variables

Add the following environment variables to your .env file to configure the package:


Usage

Reporting Bugs Automatically

If BUG_COURIER_AUTOMATIC=true, the package will automatically capture and report application errors. Otherwise, you can manually report bugs using the CreateItemService service.

Manually Reporting Bugs

To manually create a bug report:

Using Services

The package provides the following services:

Using Domain Entities

The package includes domain entities to represent bug reports:

Using Infrastructure Repositories

The package provides repositories to interact with various bug tracking systems:

You can use a specific repository directly if needed:


Example Workflows

Reporting a Bug via GitHub

Reporting a Bug via Email

Ensure that EMAIL_ENABLED=true and the recipient email is set in .env.


Advanced Configuration

Enabling Only Specific Reporting Methods

You can only use one reporting method at a time. Enable the desired method in .env and disable the others. For example, to use only GitHub:

Queueing Email Reports for Performance

The laravel-bug-courier package allows sending error reports via email either synchronously or asynchronously, depending on the .env configuration.

To define the desired behavior, set the following variable:

If BUG_COURIER_EMAIL_QUEUE=true, the package will send emails using Laravel's queue system. Make sure your application is properly configured for queues in config/queue.php and that a worker is running:

If BUG_COURIER_EMAIL_QUEUE=false, emails will be sent immediately without using queues.

Note: There is no need to modify the CreateItemService. The package is already prepared to work with both options.


Conclusion

laravel-bug-courier provides a structured and flexible way to manage and report bugs in Laravel applications. With support for multiple platforms and easy customization, it can fit into various workflows. Configure the package as needed, use the provided services, domain entities, and repositories, and start tracking bugs efficiently.

For additional details, refer to the config/bug-courier.php file and the BugCourierServiceProvider.php service provider.

Contribution Guide

We welcome contributions to both the package and its documentation.

Bug Reports

If you find a bug in laravel-bug-courier, please open an Issue on GitHub.

Before Submitting a Bug Report

  1. Search open and closed issues to check if the issue has already been reported.
  2. If the issue is new, open a new issue and include:
    • A clear description of the problem.
    • Steps to reproduce the bug.
    • Any error messages you encountered.
    • The Laravel and PHP versions you are using.

Note: Issues that do not follow this format may be closed without notice.

Coding Standards

This project follows the PSR-1, PSR-4, and PSR-12 coding standards. Ensure your code adheres to these standards before submitting a pull request.

Additionally, we use StyleCI to automatically fix code style issues. You don't need to worry about formatting—StyleCI will handle it when your pull request is merged.

Code of Conduct

This project follows the Laravel Code of Conduct, which is based on the Ruby Code of Conduct. Please adhere to the following guidelines:

Branching Strategy

Submitting a Pull Request

  1. Fork the repository and create a new branch from the latest 1.x branch.
  2. Write clear, well-structured, and tested code.
  3. Ensure all tests pass before submitting (vendor/bin/pest).
  4. Open a pull request, providing a detailed description of your changes.

For more details, refer to the project's config/bug-courier.php file and BugCourierServiceProvider.php.


All versions of laravel-bug-courier with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
guzzlehttp/guzzle Version *
illuminate/support Version *
illuminate/http Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package manuelluvuvamo/laravel-bug-courier contains the following files

Loading the files please wait ...