Download the PHP package aliirfaan/citronel-error-catalogue without Composer
On this page you can find all versions of the php package aliirfaan/citronel-error-catalogue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aliirfaan/citronel-error-catalogue
More information about aliirfaan/citronel-error-catalogue
Files in aliirfaan/citronel-error-catalogue
Download aliirfaan/citronel-error-catalogue
More information about aliirfaan/citronel-error-catalogue
Files in aliirfaan/citronel-error-catalogue
Vendor aliirfaan
Package citronel-error-catalogue
Short Description Maintain an error catalogue code to display in error messages for better error reporting and support.
License MIT
Package citronel-error-catalogue
Short Description Maintain an error catalogue code to display in error messages for better error reporting and support.
License MIT
Please rate this library. Is it a good library?
Informations about the package citronel-error-catalogue
Citronel error catalogue
A catalogue of errors to use in your Laravel project that uses a standard format. This can be useful for customer support staff and to perform further analysis of errors after logging.
Features
- A catalogue of errors modelled in the following format: [main-process code]-[sub-process code]-[event code]
- General error codes for validation, authentication
- Commands to dump error codes and messages in CSV
Requirements
Installation
-
Install the package using composer:
- Publish files with:
or by using only php artisan vendor:publish and select the aliirfaan\CitronelErrorCatalogue\CitronelErrorCatalogueProvider from the outputted list.
Configuration
This package publishes two configuration files. Please view configuration files for documentation.
- citronel-general-error-catalogue.php - the error catalogue
- citronel-error-config.php - package configuration
Commands
-
Dump error catalogue in CSV
- Dump messages in CSV
Traits
- ErrorCatalogue.php
Usage
Add external configurations
- Add configuration file names in 'citronel_error_catalogue_external_catalogues' => []
- Example: 'citronel_error_catalogue_external_catalogues' => ['first-config, 'second-config']
- The exteral configuration must be the same format as general error catalogue.
Code usage
All versions of citronel-error-catalogue with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.0
The package aliirfaan/citronel-error-catalogue contains the following files
Loading the files please wait ...