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

Code Style Pint Laravel Package

artisanpack-ui/code-style-pint

Laravel Pint preset matching ArtisanPack UI coding standards. Publishes a ready-made pint.json for apps or generates it via builder for packages. Optional WordPress-style spacing support via PHP-CS-Fixer stubs and commands.

View on GitHub
Deep Wiki
Context7
v1.1.1

Changed

  • Widened illuminate/support constraint to allow Laravel 13 (^10.0|^11.0|^12.0|^13.0), unblocking Laravel 13 installs for downstream ArtisanPack UI packages that depend on this package.
v1.0.0

Added\n- Initial release of ArtisanPack UI Code Style Pint package\n- Pre-configured pint.json with ArtisanPack UI coding standards\n- PublishPintConfigCommand artisan command for publishing configuration\n- PintConfigBuilder class for programmatic configuration generation\n- ArtisanPackUIPreset class with organized rule groups\n- Support for Laravel applications via artisan commands\n- Support for Laravel packages via programmatic configuration\n- Comprehensive documentation:\n- Customization guide with rule group toggles\n- Rules mapping between PHPCS and Pint\n- IDE integration guides (PhpStorm, VS Code, Vim, Emacs)\n- CI/CD integration examples (GitHub Actions, GitLab CI, Bitbucket, CircleCI, Azure DevOps, Jenkins)\n- Migration guide from various code style tools\n- Laravel Boost AI guidelines integration\n- Override guideline for replacing default Pint standards\n- Complete test suite with 54 tests (Unit, Feature, Integration)\n- GitLab CI/CD pipeline with automated releases\n### Features\n- Three rule groups: Formatting, Code Structure, Best Practices\n- Aligned assignment operators (= and =>)\n- Short array syntax enforcement\n- Strict types declaration\n- Alphabetically sorted imports\n- Yoda style for equality comparisons\n- Single quotes for simple strings\n- Visibility required on all class elements\n- Trailing commas in multiline constructs\n- Comprehensive exclusion defaults (vendor, node_modules, storage, etc.)\n### Compatibility\n- PHP 8.2+\n- Laravel 10.x, 11.x, 12.x\n- Laravel Pint 1.x\n- Complements artisanpack-ui/code-style PHPCS package

v1.1.0

Added\n- WordPress-style spacing support via custom PHP-CS-Fixer fixers\n- SpacesInsideParenthesisFixer - Adds spaces inside parentheses (e.g., if ( ))\n- SpacesInsideBracketsFixer - Adds spaces inside brackets for variable array indices (e.g., [ ])\n- concat_space rule for spacing around concatenation operators (e.g., .)\n- .php-cs-fixer.dist.php configuration file with custom fixers\n- .php-cs-fixer.dist.php.stub for publishing to user projects\n- --wordpress flag for artisan artisanpack:publish-pint-config command\n- WordPress spacing documentation in README for both Laravel applications and packages\n- Package-specific WordPress spacing setup instructions\n- Comprehensive WordPress spacing examples in Laravel Boost guidelines\n### Changed\n- Updated PublishPintConfigCommand to support WordPress-style spacing option\n- Enhanced Laravel Boost AI guidelines with WordPress spacing instructions\n- Updated README with WordPress-style spacing section\n- Modified rule groups documentation to reflect concatenation spacing\n- Updated composer scripts examples for both Pint and PHP-CS-Fixer workflows\n### Removed\n- declare_strict_types rule from default configuration (was too strict for some projects)\n- Strict types mentions from documentation and guidelines\n### Fixed\n- Custom bracket fixer now correctly processes closing brackets by handling index shifts\n- WordPress spacing correctly distinguishes between variable indices ([ ]) and literal indices (['key'])

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.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony