Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Coding Standard Laravel Package

lmc/coding-standard

Deprecated PHP coding standard for Alma Career Czechia (formerly LMC). Based on PSR-12 and partially PER 2.0, delivered via EasyCodingStandard with rules for PHP-CS-Fixer and PHP_CodeSniffer to enforce readable, consistent code and catch common mistakes.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Low. The package is explicitly deprecated and replaced by almacareer/coding-standard. Using it introduces technical debt as it lacks alignment with modern PHP standards (e.g., PHP 8.3+ compatibility) and active maintenance. Its PSR-12/PER-2 foundation is outdated compared to current industry practices.

Integration feasibility: Not recommended. While technically installable via Composer, the archived status and direct replacement notice make this a non-viable option for new projects. Any integration would require immediate migration to the successor package, negating short-term benefits.

Technical risk: High. Critical risks include unpatched security vulnerabilities (e.g., the NullableTypeDeclarationFixer bug in 4.1.2), dependency conflicts (locked PHP-CS-Fixer versions), and incompatibility with modern PHP versions. The 0 dependents and archived status indicate no community or vendor support for fixes.

Key questions:

  • Why consider this deprecated package over the actively maintained replacement?
  • Are there legacy constraints preventing migration to almacareer/coding-standard?
  • How will unaddressed bugs in this package impact CI/CD pipelines or code quality?

Integration Approach

Stack fit: Poor. Designed for legacy PHP versions (7.4-8.2), it conflicts with modern toolchains (e.g., symplify/easy-coding-standard >12.4). The replacement package supports current PHP versions and integrates seamlessly with modern IDEs and CI systems.

Migration path: Immediate migration required. Steps:

  1. Replace lmc/coding-standard with almacareer/coding-standard in composer.json
  2. Update ecs.php to reference the new package's config path (vendor/almacareer/coding-standard/ecs.php)
  3. Audit custom rules against replacement documentation (e.g., PhpUnitAttributesFixer replaces deprecated PhpUnitExpectationFixer)
  4. Validate fixes via composer analyze before deployment

Compatibility: Incompatible with current PHP versions beyond 8.2 and modern symplify/easy-coding-standard releases. Known issues include broken fixers (e.g., PhpdocAlignFixer

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport