awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
carthage-software avatar

carthage-software/mago

0
View on GitHub↗
2,867 stele·123 fork-uri·Rust·apache-2.0·11 vizualizărimago.carthage.software↗

Mago

Mago is a PHP static analysis tool, linter, and code formatter. It detects type errors, dead code, and logic bugs through advanced type inference and flow analysis, while providing a deterministic engine to rewrite source files according to style guides.

The project distinguishes itself with a WebAssembly runtime that enables PHP analysis to execute entirely within a web browser, allowing results to be shared via URL. It also provides a minimal Dockerized toolchain distributed as a scratch image for consistent execution across different processor architectures.

The toolset covers architecture rule enforcement to prevent structural decay, automated violation fixes, and static type analysis involving generics and conditional types. It includes a rule-based linter and utilities for abstract syntax tree traversal and visualization.

Installation is supported via a Composer wrapper, shell scripts, system package managers, or manual binary downloads, with cryptographic attestation verification to ensure release authenticity.

Features

  • Static Code Analysis - Provides advanced static analysis for PHP code to detect type errors, dead code, and logic bugs.
  • Code Formatting and Linting - Enforces consistent coding standards and automatically fixes stylistic violations in PHP source files.
  • Automated Lint Fixes - Automatically corrects detected lint violations in PHP source code to reduce manual cleanup effort.
  • Code Formatting Tools - Enforces consistent indentation, spacing, and brace placement through automated source code formatting.
  • Static Analysis Rules - Validates dependency rules and structural conventions defined in configuration to guard the project structure.
  • Deterministic Formatters - Provides a deterministic formatting engine that rewrites source files to a consistent style guide.
  • PHP Formatters - Provides a deterministic engine that rewrites PHP source files to follow standard style guides.
  • PHP Linters - Scans PHP code against configurable rules to identify coding standard violations and apply automatic fixes.
  • Browser-Based Runtimes - Executes PHP static analysis in the browser via WebAssembly and enables sharing results via URL.
  • Static Code Linting - Scans PHP source files against configurable rules to detect coding standard violations and potential bugs.
  • WebAssembly - Compiles the static analyzer to WebAssembly to enable serverless execution entirely within the browser.
  • Architecture Rule Enforcement - Validates project structure and dependency rules to prevent architectural decay in large PHP codebases.
  • Recursive AST Traversal - Implements recursive traversal of the abstract syntax tree to detect coding violations and apply automated fixes.
  • Static Analysis Engines - Detects bugs, dead code, and type mismatches by evaluating generics, conditional types, and flow narrowing.
  • Static Code Analysis Tools - Detects type errors, dead code, and logic bugs in PHP code using advanced type inference and flow analysis.
  • Containerized Toolchains - Provides a minimal Docker image that packages the static analysis, linting, and formatting toolset for consistent execution.
  • Docker Container Execution - Enables the execution of static analysis tools within minimal Docker containers across different architectures.
  • Toolchain Images - Ships a minimal 26 MB Docker image packaging static analysis, linting, and formatting for PHP projects.
  • Scratch-Based Images - Provides a minimal Docker image built from scratch for lightweight, multi-architecture deployment.
  • Scratch Docker Images - Distributes the toolchain as a minimal scratch-based Docker image for multi-architecture compatibility.
  • Browser-Based Runtimes - Runs PHP static analysis entirely in the web browser via WebAssembly to enable results sharing by URL.
  • Signals & Reactivity - Utilizes a signals-based reactive system to propagate changes and enable efficient incremental analysis updates.
  • Compile-Time Code Generation - Generates optimized PHP code and fixers during the build process to enhance runtime performance.
  • Linting Rule Configurations - Supports project-specific linting and formatting rules loaded from external configuration files.
  • Static Analysis - Improves developer experience through static analysis.

Istoric stele

Graficul istoricului de stele pentru carthage-software/magoGraficul istoricului de stele pentru carthage-software/mago

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face carthage-software/mago?

Mago is a PHP static analysis tool, linter, and code formatter. It detects type errors, dead code, and logic bugs through advanced type inference and flow analysis, while providing a deterministic engine to rewrite source files according to style guides.

Care sunt principalele funcționalități ale carthage-software/mago?

Principalele funcționalități ale carthage-software/mago sunt: Static Code Analysis, Code Formatting and Linting, Automated Lint Fixes, Code Formatting Tools, Static Analysis Rules, Deterministic Formatters, PHP Formatters, PHP Linters.

Care sunt câteva alternative open-source pentru carthage-software/mago?

Alternativele open-source pentru carthage-software/mago includ: squizlabs/php_codesniffer — PHP_CodeSniffer is a static analysis tool, coding standard linter, and command-line validator for PHP. It scans files… wordpress/wordpress-coding-standards — WordPress Coding Standards is a collection of rules for the PHP CodeSniffer engine designed to enforce consistent… feross/standard — Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide… alibaba/p3c — p3c is a Java static analysis tool and code quality linter designed to enforce professional coding guidelines and… airbnb/ruby — This project provides a collection of coding standard specifications, style guides, and configuration assets used to… ansible/ansible-lint — ansible-lint is a static code analysis tool and linter designed to identify syntax errors and best practice violations…

Alternative open-source pentru Mago

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Mago.
  • squizlabs/php_codesnifferAvatar squizlabs

    squizlabs/PHP_CodeSniffer

    10,771Vezi pe GitHub↗

    PHP_CodeSniffer is a static analysis tool, coding standard linter, and command-line validator for PHP. It scans files and directories to detect and report formatting errors and language-specific coding violations without executing the code. The project functions as an automated code formatter capable of correcting detected style and formatting violations to bring source code into compliance with defined standards. It uses token-based lexical analysis to match code patterns against rule sets, ensuring consistency across a codebase. The tool provides comprehensive capabilities for recursive fi

    PHPautomationclicoding-standards
    Vezi pe GitHub↗10,771
  • wordpress/wordpress-coding-standardsAvatar WordPress

    WordPress/WordPress-Coding-Standards

    2,757Vezi pe GitHub↗

    WordPress Coding Standards is a collection of rules for the PHP CodeSniffer engine designed to enforce consistent coding conventions and best practices within PHP projects. It functions as a specialized static analysis tool that scans source code to identify style violations, security vulnerabilities, and potential bugs before execution. By integrating into development workflows, it ensures that code adheres to official project conventions, maintaining readability and consistency across large-scale plugin and theme development. The project distinguishes itself through deep domain-specific val

    PHPcoding-conventionsphp-codesnifferphpcs
    Vezi pe GitHub↗2,757
  • feross/standardAvatar feross

    feross/standard

    29,431Vezi pe GitHub↗

    Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide that enforces consistent coding rules and identifies programming errors without requiring manual configuration files. The tool distinguishes itself by providing an automatic code fixer that scans source files to correct style violations and ensure a uniform codebase. It implements a predefined rule set to eliminate the need for project-specific configuration. The project covers a broad range of static analysis capabilities, including support for experimental language syntax a

    JavaScript
    Vezi pe GitHub↗29,431
  • alibaba/p3cAvatar alibaba

    alibaba/p3c

    30,827Vezi pe GitHub↗

    p3c is a Java static analysis tool and code quality linter designed to enforce professional coding guidelines and quality standards. It utilizes a set of custom rules based on the PMD engine to scan source code for style violations, performance bottlenecks, and potential bugs. The project is distributed as an IDE linting plugin that provides real-time feedback and warnings during development. It also includes functionality for pre-commit code quality gates, allowing modified files to be scanned and blocked if they violate defined rules before being committed to version control. The analysis

    Kotlin
    Vezi pe GitHub↗30,827
Vezi toate cele 30 alternative pentru Mago→