Download the PHP package ahinest/laravel-log-viewer without Composer

On this page you can find all versions of the php package ahinest/laravel-log-viewer. 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-log-viewer

Laravel Log Viewer

Tests

Visualizador de logs para Laravel con soporte para Blade, Inertia y API.

Permite inspeccionar archivos de log, filtrar registros, visualizar excepciones y administrar múltiples archivos de log desde una interfaz sencilla.


Características


Requisitos


Instalación

Publicar configuración:

Publicar vistas Blade:

Publicar componentes Vue:


La vista Inertia publicada es únicamente una referencia.

Debe adaptar:

a la estructura de su aplicación.

Configuración

Archivo:

Log por defecto

Archivo mostrado al ingresar al visor.


Middleware de acceso

Ejemplos:

Compatible con Spatie Laravel Permission.


Middleware para limpieza

Ejemplo:

Permite restringir la limpieza de logs independientemente del acceso de lectura.


Habilitar limpieza

Si está deshabilitado, la ruta responderá con error HTTP 403.


Logs autorizados para limpieza

Solo los archivos incluidos en esta lista podrán vaciarse.


Prefijo de rutas

Genera rutas como:


Tipo de interfaz

Opciones disponibles:


Vista Blade

Vista utilizada cuando ui = blade.


Página Inertia

Componente utilizado cuando ui = inertia.


Canales permitidos

Si utilizas canales personalizados deberás agregarlos aquí.


Niveles permitidos

Basados en los niveles estándar de Monolog.


Rutas

Visor de logs


Limpiar log

Parámetros:


Filtros disponibles

Archivo

Nivel

Canal

Fecha

Con excepción


Ejemplos

Mostrar errores

Mostrar errores del canal local

Mostrar registros de una fecha

Mostrar únicamente excepciones

Leer otro archivo


Compatibilidad con Spatie Laravel Permission

Configuración:

Crear permisos:


Arquitectura

El paquete está organizado utilizando:

Componentes principales

Componente Responsabilidad
LogViewerController Orquesta las peticiones HTTP
ReadLogsAction Lee y filtra registros
ClearLogAction Limpia archivos de log
LogParserService Parsea el contenido de los logs
LogFileService Gestiona archivos de log
RendererFactory Resuelve el renderer configurado
BladeRenderer Renderiza vistas Blade
InertiaRenderer Renderiza páginas Inertia
ApiRenderer Retorna respuestas JSON
LogFilters DTO de filtros
LogEntry DTO de registros

Roadmap

Características previstas para futuras versiones:


Licencia

MIT


All versions of laravel-log-viewer with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
laravel/framework Version ^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 ahinest/laravel-log-viewer contains the following files

Loading the files please wait ...