Download the PHP package pepeiborra/ci4-traffic-reader without Composer

On this page you can find all versions of the php package pepeiborra/ci4-traffic-reader. 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 ci4-traffic-reader

ci4-traffic-reader

Lightweight SIEM filter for CodeIgniter 4 (PHP 7.4+): visit tracking, threat detection, and security alerting. Equivalent to pepeiborra/traffic-reader for Laravel.

Features


Requirements

Versión
PHP ^7.4 | ^8.x
CodeIgniter ^4.0

Installation


Quick start

1. Publicar la config

Esto copia Config/TrafficReader.php a app/Config/TrafficReader.php.

O manualmente: copia vendor/pepeiborra/ci4-traffic-reader/src/Config/TrafficReader.php a app/Config/.

2. Registrar el filtro en app/Config/Filters.php

3. Registrar la ruta del dashboard en app/Config/Routes.php

4. Variables de entorno (.env)


Configuración completa (app/Config/TrafficReader.php)

Para leer desde .env, sobreescribe en el constructor:


Usar el lector directamente


Estructura del paquete


Tipos de amenaza detectados

Tipo Descripción
RCE_ATTEMPT Remote Code Execution en la URL
SQLI_ATTEMPT SQL Injection
XSS_ATTEMPT Cross-Site Scripting
PATH_TRAVERSAL Traversal de directorios
SCANNER_UA User-Agent de herramienta (sqlmap, nikto…)
UNUSUAL_METHOD TRACE, CONNECT, PROPFIND…
SUSPICIOUS_UA User-Agent vacío o muy corto
HIGH_RATE Más de N req/min desde la misma IP
ROUTE_SCAN Más de N 404s/hora
SENSITIVE_PROBE Accesos a rutas sensibles (.env, wp-admin…)
BRUTE_FORCE Más de N 401/403 por hora

License

MIT


All versions of ci4-traffic-reader with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0|^8.1|^8.2|^8.3
codeigniter4/framework Version ^4.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 pepeiborra/ci4-traffic-reader contains the following files

Loading the files please wait ...