Download the PHP package frddl/laravel-simple-logging without Composer

On this page you can find all versions of the php package frddl/laravel-simple-logging. 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-simple-logging

Laravel Simple Logging

An elegant solution for monitoring your Laravel application's actual flow with comprehensive logging of warnings, infos, debug variables, and performance metrics. Features automatic method wrapping and a beautiful web interface for real-time application monitoring.

Latest Version on Packagist Total Downloads License Tests Code Style PHP Version Laravel Version

image

Features

๐ŸŽฏ Perfect for Application Flow Monitoring

This package is specifically designed for monitoring your Laravel application's actual execution flow. It excels at:

Perfect for debugging complex business logic, monitoring API responses, tracking user interactions, and understanding your application's behavior in production.

Installation

Publish the config file and migrations:

Run the migrations:

Quick Start

1. Add the trait to your controller:

2. Wrap your methods with automatic logging:

3. Add comprehensive monitoring with debug variables:

Configuration

Edit config/simple-logging.php:

Log Cleanup & Maintenance

The package includes automatic log cleanup to prevent database bloat:

Automatic Cleanup

Manual Cleanup

Configuration

Disable Cleanup

Set the cleanup days to null or 0 to disable automatic cleanup:

Usage

Automatic Method Logging

The logMethod function automatically logs:

Direct Logging for Application Flow Monitoring

Monitor your application's execution flow with detailed logging:

Log Levels

Web Interface

Access the log viewer at: http://your-app.com/logs

Features:

Disable Logging

Environment Variable (Recommended):

Or in code:

API Endpoints

Sensitive Data Sanitization

The package automatically sanitizes sensitive data:

Performance

Examples

Complete Controller Example

image

๐Ÿงช Comprehensive Testing

The package includes built-in comprehensive testing functionality to validate all logging features:

Quick Test

Comprehensive Test

The comprehensive test covers:

Clean Test Logs

Test Features Demonstrated

The comprehensive test generates 26+ log entries covering:

Log Levels & Categories

Complex Data Structures

Data Type Permutations

Real-World Examples

View Test Results

After running tests, view the results in the web interface:

The test logs will be grouped by request ID, showing the complete flow of the comprehensive test with all data structures, log levels, and nested function calls.

Unit Testing

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

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

Changelog

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

Credits

Support

If you discover any issues, please open an issue on GitHub.


All versions of laravel-simple-logging with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
illuminate/view Version ^9.0|^10.0|^11.0|^12.0
illuminate/routing Version ^9.0|^10.0|^11.0|^12.0
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 frddl/laravel-simple-logging contains the following files

Loading the files please wait ...