PHPackages                             artisanpack-ui/code-style-pint - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. artisanpack-ui/code-style-pint

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

artisanpack-ui/code-style-pint
==============================

Laravel Pint preset for ArtisanPack UI code standards

1.1.0(3mo ago)0638↓100%GPL-3.0-or-laterPHPPHP ^8.2

Since Nov 21Pushed 1mo agoCompare

[ Source](https://github.com/ArtisanPack-UI/code-style-pint)[ Packagist](https://packagist.org/packages/artisanpack-ui/code-style-pint)[ RSS](/packages/artisanpack-ui-code-style-pint/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

ArtisanPack UI Code Style Pint
==============================

[](#artisanpack-ui-code-style-pint)

Laravel Pint preset for ArtisanPack UI code standards. This package provides a pre-configured `pint.json` file that enforces coding standards matching the `artisanpack-ui/code-style` PHPCS package.

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require artisanpack-ui/code-style-pint --dev
```

Usage
-----

[](#usage)

### For Laravel Applications

[](#for-laravel-applications)

Publish the `pint.json` configuration file to your project root:

```
php artisan artisanpack:publish-pint-config
```

Use `--force` to overwrite an existing `pint.json`:

```
php artisan artisanpack:publish-pint-config --force
```

Alternatively, use Laravel's standard publish command:

```
php artisan vendor:publish --tag=artisanpack-pint-config
```

### For Laravel Packages

[](#for-laravel-packages)

When developing a Laravel package, use `PintConfigBuilder` directly since `php artisan` isn't available:

**Standard Pint Configuration:**

```
