hecq-et-lesort/README.md
isUnknown b3760958a3 readme : mise à jour setup et php cs fixer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 08:50:36 +02:00

769 B

Setup the project

Requirements: PHP 8.4+, Composer, Node.js/npm.

Install the dependencies

composer install
npm install

Start the local server

npm run serve

Opens localhost:3000 (BrowserSync + PHP server on port 8000).

PHP code style

The project uses PHP CS Fixer to format PHP code (PSR-12, single quotes, => alignment).

Format on save with VS Code / VS Codium: install the junstyle.php-cs-fixer extension. The workspace config (.vscode/settings.json) automatically points to vendor/bin/php-cs-fixer.

Run manually:

./vendor/bin/php-cs-fixer fix