Weave 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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style