Download the PHP package manggala/sentinel without Composer

On this page you can find all versions of the php package manggala/sentinel. 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 sentinel

manggala/sentinel (sentinel)

Latest Stable Version Total Downloads PHP Version Laravel Version

manggala/sentinel (Package Name: sentinel) adalah Web Application Firewall (WAF), Intrusion Detection System (IDS), Brute Force Shield, dan Security Monitoring Dashboard serbaguna untuk aplikasi Laravel.

Package ini memberikan perlindungan real-time otomatis dari ancaman OWASP Top 10 (SQL Injection, Cross-Site Scripting, Path Traversal, Remote Code Execution) dan serangan Brute Force Login pada tingkat HTTP Kernel.


๐ŸŒŸ Mengapa Menggunakan manggala/sentinel?

  1. Universal WAF Engine: Beroperasi di tingkat HTTP Kernel Laravel, otomatis melindungi semua stack frontend tanpa perlu mengubah kode controller.
  2. OWASP Top 10 Protection: Scanner regex presisi tinggi untuk mencegah SQLi, XSS, Path Traversal (../), dan Remote Execution (eval(), system()).
  3. Smart Lockout (Zero Friction): Membedakan pengguna asli yang salah password (Temporary Lockout 60 detik) dari bot peretas (Permanent IP Ban).
  4. Multi-Stack Security Dashboard: Tampilan visual monitoring ancaman untuk Blade, Livewire, Inertia React, Inertia Vue, dan REST API.
  5. Dukungan 4 Versi Major Laravel: 100% kompatibel dengan Laravel ^10.0 || ^11.0 || ^12.0 || ^13.0 dan PHP ^8.2 || ^8.3 || ^8.4.

๐Ÿ“‹ Matriks Kompatibilitas Framework & Stack

Parameter Dukungan Versi & Framework
Package Name manggala/sentinel (Folder: sentinel)
PHP Version ^8.2 || ^8.3 || ^8.4
Laravel Framework (4 Major Versions) ^10.0 || ^11.0 || ^12.0 || ^13.0
Frontend Stack Support Blade, Livewire (v2/v3), Inertia React, Inertia Vue, REST API
Testing Engine Pest PHP (pestphp/pest)
Static Analysis PHPStan Level 5+ (larastan/larastan)

๐Ÿ“ฆ Instalasi

Pasang package menggunakan Composer:

Jalankan perintah instalasi otomatis untuk mempublikasikan file konfigurasi dan migrasi database:

Jalankan migrasi database untuk membuat tabel sentinel_logs dan sentinel_blocked_ips:


โš™๏ธ Pengaturan Middleware WAF

Untuk Laravel 11, 12, dan 13 (bootstrap/app.php)

Daftarkan SentinelGuardMiddleware di bootstrap/app.php:

Untuk Laravel 10 (app/Http/Kernel.php)

Tambahkan SentinelGuardMiddleware pada array $middleware di app/Http/Kernel.php:


๐Ÿ›ก๏ธ Mesin Pemindai Ancaman (Threat Inspection Engine)

manggala/sentinel menggunakan model Anomaly Scoring untuk mengevaluasi setiap request yang masuk:

  1. SQL Injection Scanner (SqlInjectionScanner):
    • Mendeteksi perintah berbahaya seperti UNION SELECT, OR 1=1, DROP TABLE, SLEEP(), BENCHMARK().
    • Skor Ancaman: +5 poin.
  2. Cross-Site Scripting Scanner (XssScanner):
    • Mendeteksi tag script dan inline event berbahaya seperti <script>, javascript:, onload=, onerror=.
    • Skor Ancaman: +4 poin.
  3. Path Traversal Scanner (PathTraversalScanner):
    • Mendeteksi upaya navigasi folder terlarang seperti ../../../../etc/passwd atau ..\..\windows.
    • Skor Ancaman: +5 poin.
  4. Command Injection Scanner (CommandInjectionScanner):
    • Mendeteksi perintah eksekusi kode seperti system(), passthru(), exec(), shell_exec(), eval().
    • Skor Ancaman: +5 poin.

Setiap request dengan Total Anomaly Score >= 5 (dapat diubah di config/sentinel.php) akan otomatis diblokir dengan status HTTP 403 Forbidden dan dicatat ke dalam log.


๐Ÿ”’ Proteksi Brute Force & Smart Lockout

Sistem proteksi login manggala/sentinel membedakan kesalahan tak sengaja dari serangan bot:

Menerapkan Brute Force Guard pada Route Login


๐Ÿ–ฅ๏ธ Security Monitoring Dashboard

manggala/sentinel menyediakan dashboard visual untuk memantau serangan secara real-time.

Akses Dashboard Web

Navigasikan peramban Anda ke:

Akses REST API Dashboard

Response JSON:


โš™๏ธ Opsi Konfigurasi (config/sentinel.php)


๐Ÿ› ๏ธ Perintah Artisan (Artisan Commands)

1. Memasang Package

2. Membuka Blokir IP (Unban IP)

3. Memasukkan IP ke Whitelist

4. Membersihkan Log Lama

5. Menampilkan Ringkasan Keamanan


๐Ÿ“– Penggunaan Facade Sentinel

Anda dapat berinteraksi secara programatis menggunakan Facade Sentinel:


๐Ÿ”— Integrasi Manggala Suite

manggala/sentinel terintegrasi secara native dengan package Manggala Suite lainnya:


๐Ÿงช Pengujian (Testing)

Jalankan pengujian otomatis menggunakan Pest PHP:

Jalankan analisis statis menggunakan PHPStan:


๐Ÿค Kontribusi

Silakan baca CONTRIBUTING.md untuk panduan berkontribusi pada proyek ini.


๐Ÿ”’ Kebijakan Keamanan

Jika Anda menemukan kerentanan keamanan pada package ini, mohon laporkan melalui email ke [email protected] sesuai dengan petunjuk pada SECURITY.md.


๐Ÿ“„ Lisensi

Package manggala/sentinel dirilis di bawah Lisensi MIT. Copyright (c) 2026 Ilham Hatta Manggala.


All versions of sentinel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2 || ^8.3 || ^8.4
illuminate/contracts Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/http Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/console Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/routing Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/cache Version ^10.0 || ^11.0 || ^12.0 || ^13.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 manggala/sentinel contains the following files

Loading the files please wait ...