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

Editorconfig Laravel Package

idiosyncratic/editorconfig

PHP implementation of EditorConfig. Load .editorconfig rules via Composer and query settings for a given file path. Returns matching declarations as an array or prints the resolved config, making it easy to enforce consistent coding style across projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables server-side processing of .editorconfig files for code quality tooling (e.g., custom linters, CI checks) where programmatic access to editor settings is required, such as dynamically applying indentation rules or line length limits during code analysis.
  • Supports "build vs buy" decisions by providing a ready-made PHP implementation of EditorConfig parsing, avoiding custom development for basic rule resolution in PHP-based tooling.
  • Critical for products needing to enforce consistent coding standards across heterogeneous editor environments (e.g., a PHP-based formatter or scaffolder that reads .editorconfig at runtime to standardize code style).

When to Consider This Package

  • Adopt if building lightweight PHP server-side tools (e.g., CLI scripts, CI/CD steps) that require simple EditorConfig resolution and you can accept minimal community support, no active maintenance, and potential compatibility risks.
  • Avoid if: your use case involves client-side functionality (e.g., browser-based tools), requires advanced EditorConfig features (e.g., nested file-specific rules), or demands modern PHP 8.2+ compatibility guarantees. Prefer established tools like PHP-CS-Fixer, Pint, or editorconfig-checker for broader support and active maintenance.

How to Pitch It (Stakeholders)

  • For executives: "This package offers a quick way to integrate EditorConfig parsing into PHP-based code quality tools without building from scratch. However, it's outdated (last update 2021) with no community support, so we'd need to weigh the short-term savings against long-term maintenance risks. Only consider if no better alternatives exist for our specific needs."
  • For engineering: "It's a simple Composer package for resolving .editorconfig rules in PHP, but with high technical debt risk. Test thoroughly for PHP 8+ compatibility, and prioritize using existing tools like Pint or PHP-CS-Fixer unless we have a unique requirement this package uniquely solves. If used, plan for internal maintenance."
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