Download the PHP package alpha-dev-team/logger without Composer

On this page you can find all versions of the php package alpha-dev-team/logger. 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 logger

Alpha-Dev-Logger

Requirements

Description

Logger via db records, telegram and files. Based on standard Laravel logger. It also utilizes the Monolog library. Plus, Alpha-Dev-Logger comes with a simple administration panel for reading, change status and delete log records.

Installation

First step is install Alpha-Dev-Logger via the Composer command

Next important step is published configuration file logger-alpha.php

Also need run migration for new logs table:

Configuration

General

Since Alpha-Dev-Logger based on standard Laravel logger, some configurations need to be made in logging.php in channels array. For convenience, all needed changes in logging.php contain in logger-alpha.php in channels array.

DB

Set in logging.php in channels (You can find it in logger-alpha.php in channels array):

Telegram

If You want to get log errors to Telegram channel set in logging.php in channels (You can find it in logger-alpha.php in channels array):

For using Telegram notifications it is necessary to determine and set telegram api bot and telegram channel name in Your .env file:

Also, You can make some changes for Telegram message view in logger-alpha.php.

Daily Files

If You want save log errors in files in json format, set in logging.php in channels (You can find it in logger-alpha.php in channels array):

Parameter days in daily array sets the retention period for files. You can set another.

General

Finally, make sure, that current log channel is stack in .env file.

And the last. Add to logging.php to array channels.stack.channels channels, that You will use:

Panel

Alpha-Dev-Logger comes with a simple administration panel for reading, change status and delete log records. You can make some changes for panel rotes in logger-alpha.php.

Fresh Logs

For refresh logs db retrieved special command RefreshLogsTable. You can configure edge date time for soft delete records and edge date time for totally delete records in logger-alpha.php in db.remove_in_months

Also, You can add this command to Task Scheduling in App\Console\Kernel to schedule method. For example every month:


All versions of logger with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.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 alpha-dev-team/logger contains the following files

Loading the files please wait ....