{"id":24370818,"url":"https://github.com/bgaze/laravel-php-cs-fixer","last_synced_at":"2025-04-10T18:07:14.011Z","repository":{"id":62493833,"uuid":"133333413","full_name":"bgaze/laravel-php-cs-fixer","owner":"bgaze","description":"A PHP-CS-Fixer bridge for Laravel 5.5+","archived":false,"fork":false,"pushed_at":"2020-06-01T03:58:26.000Z","size":36,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T15:47:34.002Z","etag":null,"topics":["beautify-php","fix-php","laravel","php-cs-fixer"],"latest_commit_sha":null,"homepage":"https://packages.bgaze.fr/laravel-php-cs-fixer","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bgaze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-14T09:01:41.000Z","updated_at":"2025-01-03T15:23:34.000Z","dependencies_parsed_at":"2022-11-02T09:30:43.725Z","dependency_job_id":null,"html_url":"https://github.com/bgaze/laravel-php-cs-fixer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgaze%2Flaravel-php-cs-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgaze%2Flaravel-php-cs-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgaze%2Flaravel-php-cs-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgaze%2Flaravel-php-cs-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgaze","download_url":"https://codeload.github.com/bgaze/laravel-php-cs-fixer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248266738,"owners_count":21075233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beautify-php","fix-php","laravel","php-cs-fixer"],"created_at":"2025-01-19T04:48:20.587Z","updated_at":"2025-04-10T18:07:13.982Z","avatar_url":"https://github.com/bgaze.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP CS Fixer for Laravel 5.5+\n\n[![GitHub license](https://img.shields.io/github/license/bgaze/laravel-php-cs-fixer)](https://github.com/bgaze/laravel-php-cs-fixer/blob/master/LICENSE) \n![Maintenance](https://img.shields.io/maintenance/yes/2020)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/bgaze/laravel-php-cs-fixer)](https://github.com/bgaze/laravel-php-cs-fixer/releases) \n[![GitHub stars](https://img.shields.io/github/stars/bgaze/laravel-php-cs-fixer)](https://github.com/bgaze/laravel-php-cs-fixer/stargazers) \n[![Packagist](https://img.shields.io/packagist/dt/bgaze/laravel-php-cs-fixer)](https://packagist.org/packages/bgaze/laravel-php-cs-fixer)\n\nThis package allows to use [PHP-CS-Fixer](https://cs.sensiolabs.org/) right into Laravel 5.5+ applications \nto format PHP code.\n\n# Documentation\n\nFull documentation is available at [https://packages.bgaze.fr/laravel-php-cs-fixer](https://packages.bgaze.fr/laravel-php-cs-fixer)\n\n# Quick start\n\nInstall this package using [Composer](https://getcomposer.org).\n\n```\n$ composer require bgaze/laravel-php-cs-fixer\n```\n\nTo customize the configuration, publish it:\n\n```\n$ php artisan vendor:publish --tag=bgaze-php-cs-fixer-config\n```\n\n\u003e **Notes :** Configuration returns an instance of `\\PhpCsFixer\\Config` and will be published into a `.php_cs.dist` file at the Laravel installation root.\n\nUse `php-cs-fixer:fix` artisan command to fix files in your application:\n\n```\n$ php-cs-fixer:fix [options] path1 [path2 path3 ...]\n```\n\nUse `php_cs_fixer()` helper to fix files from the code:  \n\n```php\n// Quick.\nphp_cs_fixer('path/to/a/file/or/dir');\n\n// Advanced.\nphp_cs_fixer(['path/to/file/or/dir/1', 'path/to/file/or/dir/2'], [\n    '--allow-risky' =\u003e true,\n    '--dry-run' =\u003e true,\n    '--config' =\u003e 'path/to/a/config/file'\n]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgaze%2Flaravel-php-cs-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgaze%2Flaravel-php-cs-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgaze%2Flaravel-php-cs-fixer/lists"}