Skip to content

Latest commit

 

History

History
131 lines (98 loc) · 4.48 KB

README.md

File metadata and controls

131 lines (98 loc) · 4.48 KB

laravel bug reporting tool

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

Installation

You can install the package via composer:

composer require appslanka/laravel-bug-fix

You can publish and run the migrations with:

php artisan vendor:publish --tag="bug-fix-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="bug-fix-config"

This is the contents of the published config file:

<?php

/**
 * Configuration for Appslanka/LaravelBugFix package
 */
return [
    /**
     * API endpoint URL where error reports will be sent.
     * Defaults to 'https://laravelbugfix.com/api/reports' if not provided in environment.
     */
    'api_url' => env('LBF_API_URL', 'https://laravelbugfix.com/api/reports'),

    /**
     * API key used for authentication when sending error reports.
     * Defaults to 'your-api-key' if not provided in environment.
     */
    'api_key' => env('LBF_API_KEY', 'your-api-key'),

    /**
     * Flag indicating whether to include detailed request information in error reports.
     * Set to true to include request details; false to exclude.
     */
    'include_request_details' => true,

    /**
     * Flag indicating whether to include cookies details in error reports.
     * Set to true to include server details; false to exclude.
     */
    'include_cookies' => false,

     /**
     * Flag indicating whether to include sessions details in error reports.
     * Set to true to include server details; false to exclude.
     */
    'include_sessions' => false,

    /**
     * Field name used to identify the authenticated user in error reports.
     * Default identifier field is 'id'. Customize as per application's user identifier field.
     */
    'exception_user_identifier_field' => 'id',

    /**
     * List of fields that should be masked (replaced with asterisks) in error reports.
     * Protects sensitive information such as passwords, credit card numbers, etc.
     */
    'masked_fields' => [
        'password',
        'credit_card_number',
        'social_security_number',
        'email',
        'phone_number',
        'date',
        'api_key',
        'token',
        'authorization',
        'auth',
        'verification',
        'credit_card',
        'cardToken',
        'cvv',
        'iban',
        'name',
        'email',
    ],
];

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.