PHP code example of artengin / laravel-pint-artisan

1. Go to this page and download the library: Download artengin/laravel-pint-artisan library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

artengin / laravel-pint-artisan example snippets

bash
# Format all files
php artisan pint

# Use specific preset
php artisan pint --preset=laravel

# Format specific directories/files
php artisan pint app src tests

# Combine options
php artisan pint --dirty --preset=psr12 app config

...