Cross-platform PHP code quality analysis tool - Official distribution repository
# Latest version (v1.0.6)
curl -sSL https://raw.githubusercontent.com/abdulbaquee/sentinel-ai-releases/main/releases/v1.0.6/install.sh | bash# Download latest version files
curl -L https://raw.githubusercontent.com/abdulbaquee/sentinel-ai-releases/main/releases/v1.0.6/sentinel.phar -o sentinel.phar
curl -L https://raw.githubusercontent.com/abdulbaquee/sentinel-ai-releases/main/releases/v1.0.6/sentinel-linux-x86_64 -o sentinel
chmod +x sentinel && ./sentinel --versionSentinel AI is a comprehensive PHP code quality analysis tool that combines multiple static analysis tools into a single, easy-to-use interface. It provides:
- π Static Code Analysis - Detect bugs, type errors, and code smells
- π οΈ Automated Code Fixes - Auto-fix common issues with interactive mode
- π Detailed Reports - HTML reports with actionable insights
- π Cross-Platform - Native binaries for Linux, macOS, and Windows
- β‘ Fast Performance - Optimized for large codebases with intelligent caching
This repository follows a versioned release structure:
sentinel-ai-releases/
βββ releases/
β βββ v1.0.4/ # Previous release
β βββ v1.0.6/ # Latest release (current)
β βββ sentinel.phar
β βββ sentinel-linux-x86_64
β βββ sentinel-macos-x86_64
β βββ sentinel-windows-x86_64.bat
β βββ install.sh
β βββ install.ps1
β βββ uninstall.sh
β βββ uninstall.ps1
β βββ RELEASE_NOTES.md
β βββ QUICK_START.md
β βββ v1.0.6-checksums.txt
βββ README.md # This file
Each release includes:
| File | Platform | Description |
|---|---|---|
sentinel.phar |
Universal | Cross-platform PHAR executable |
sentinel-linux-x86_64 |
Linux | Native Linux binary |
sentinel-macos-x86_64 |
macOS | Native macOS binary |
sentinel-windows-x86_64.bat |
Windows | Windows batch wrapper |
install.sh |
Unix/Linux | Automated installation script |
install.ps1 |
Windows | PowerShell installation script |
uninstall.sh |
Unix/Linux | Uninstallation script |
uninstall.ps1 |
Windows | PowerShell uninstall script |
# Analyze a PHP project
sentinel analyze src/
# Auto-fix issues interactively
sentinel autofix src/ --interactive
# Generate HTML report
sentinel analyze src/ --format=html --output=report.html
# Check specific file
sentinel analyze app/Models/User.php
# Show help
sentinel --help- π User Guide - Complete usage documentation
- π Quick Reference - Command cheat sheet
- π» Developer Guide - Technical documentation
- π Production Deployment - Enterprise setup guide
- Main Repository - Source code and development (private)
- Documentation - Complete documentation
- Issue Tracker - Bug reports and feature requests
- Psalm - Static analysis for type safety
- PHP_CodeSniffer - PSR-12 coding standards
- PHPStan - Advanced static analysis
- PHP-CS-Fixer - Code style fixes
- PHPMetrics - Code quality metrics
- Interactive Fixing - Step-by-step issue resolution
- Smart Caching - Faster subsequent analyses
- Multiple Output Formats - JSON, HTML, text reports
- CI/CD Integration - Perfect for automated workflows
- Enterprise Ready - Scalable for large codebases
| Project Size | Analysis Time | Memory Usage |
|---|---|---|
| Small (< 1K files) | < 30 seconds | 256MB |
| Medium (1K-10K files) | 1-5 minutes | 512MB-1GB |
| Large (> 10K files) | 5-15 minutes | 1GB+ (with caching) |
# Download latest version installer
curl -sSL https://raw.githubusercontent.com/abdulbaquee/sentinel-ai-releases/main/releases/v1.0.6/install.sh | bash
# Verify installation
sentinel --version# Download latest version to project directory
curl -L https://raw.githubusercontent.com/abdulbaquee/sentinel-ai-releases/main/releases/v1.0.6/sentinel.phar -o sentinel.phar
curl -L https://raw.githubusercontent.com/abdulbaquee/sentinel-ai-releases/main/releases/v1.0.6/sentinel-linux-x86_64 -o sentinel
chmod +x sentinel
# Use in project
./sentinel analyze src/FROM php:8.4-cli
RUN curl -L https://github.com/abdulbaquee/sentinel-ai-releases/releases/latest/download/sentinel.phar -o /usr/local/bin/sentinel \
&& chmod +x /usr/local/bin/sentinel- PHP: 8.1+ (8.2+ recommended)
- Memory: 256MB minimum, 1GB+ for large projects
- Platform: Linux, macOS, Windows
- Dependencies: None (self-contained PHAR)
# Check current version
sentinel --version
# Update to latest version
curl -sSL https://raw.githubusercontent.com/abdulbaquee/sentinel-ai-releases/main/releases/v1.0.6/install.sh | bash- π Report Issues - Bug reports and feature requests
- π¬ Discussions - Community support
- π§ Email: info@webgrapple.com (if applicable)
- π Documentation - Complete guides
This project is licensed under the MIT License - see the license file for details.
Sentinel AI is built on top of excellent open-source tools:
- Psalm - Vimeo's static analysis tool
- Symfony Console - Command-line interface
- Box - PHAR compilation
- PHP Community - For amazing tools and libraries
β If Sentinel AI helps improve your code quality, please consider starring this repository!
π Ready to improve your PHP code quality? Download the latest release!