readme : réécriture

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-06-11 08:52:43 +02:00
parent b3760958a3
commit f4c4cbbf83

View file

@ -1,29 +1,33 @@
# Setup the project
# Hecq & Lesort
Requirements: PHP 8.4+, Composer, Node.js/npm.
Website built with [Kirby CMS](https://getkirby.com).
## Install the dependencies
## Requirements
- PHP 8.28.5
- Composer
- Node.js / npm
## Install
```bash
composer install
npm install
```
## Start the local server
## Dev server
```bash
npm run serve
```
Opens [localhost:3000](http://localhost:3000) (BrowserSync + PHP server on port 8000).
Opens [localhost:3000](http://localhost:3000) (BrowserSync proxy on PHP's port 8000).
## PHP code style
## Code style
The project uses [PHP CS Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to format PHP code (PSR-12, single quotes, `=>` alignment).
PHP files are formatted with [PHP CS Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) (included in `require-dev`).
**Format on save with VS Code / VS Codium:** install the [`junstyle.php-cs-fixer`](https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer) extension. The workspace config (`.vscode/settings.json`) automatically points to `vendor/bin/php-cs-fixer`.
**Run manually:**
Install the [`junstyle.php-cs-fixer`](https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer) VS Code extension for format on save. Or run manually:
```bash
./vendor/bin/php-cs-fixer fix