readme : mise à jour setup et php cs fixer

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

View file

@ -1,36 +1,30 @@
<img src="http://getkirby.com/assets/images/github/plainkit.jpg" width="300"> # Setup the project
**Kirby: the CMS that adapts to any project, loved by developers and editors alike.** Requirements: PHP 8.4+, Composer, Node.js/npm.
The Plainkit is a minimal Kirby setup with the basics you need to start a project from scratch. It is the ideal choice if you are already familiar with Kirby and want to start step-by-step.
You can learn more about Kirby at [getkirby.com](https://getkirby.com). ## Install the dependencies
### Try Kirby for free ```bash
composer install
npm install
```
You can try Kirby and the Plainkit on your local machine or on a test server as long as you need to make sure it is the right tool for your next project. … and when youre convinced, [buy your license](https://getkirby.com/buy). ## Start the local server
### Get going ```bash
npm run serve
```
Read our guide on [how to get started with Kirby](https://getkirby.com/docs/guide/quickstart). Opens [localhost:3000](http://localhost:3000) (BrowserSync + PHP server on port 8000).
You can [download the latest version](https://github.com/getkirby/plainkit/archive/main.zip) of the Plainkit. ## PHP code style
If you are familiar with Git, you can clone Kirby's Plainkit repository from Github.
git clone https://github.com/getkirby/plainkit.git The project uses [PHP CS Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to format PHP code (PSR-12, single quotes, `=>` alignment).
## What's Kirby? **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`.
- **[getkirby.com](https://getkirby.com)** Get to know the CMS. **Run manually:**
- **[Try it](https://getkirby.com/try)** Take a test ride with our online demo. Or download one of our kits to get started.
- **[Documentation](https://getkirby.com/docs/guide)** Read the official guide, reference and cookbook recipes.
- **[Issues](https://github.com/getkirby/kirby/issues)** Report bugs and other problems.
- **[Feedback](https://feedback.getkirby.com)** You have an idea for Kirby? Share it.
- **[Forum](https://forum.getkirby.com)** Whenever you get stuck, don't hesitate to reach out for questions and support.
- **[Discord](https://chat.getkirby.com)** Hang out and meet the community.
- **[Mastodon](https://mastodon.social/@getkirby)** Spread the word.
- **[Bluesky](https://bsky.app/profile/getkirby.com)** Spread the word.
--- ```bash
./vendor/bin/php-cs-fixer fix
© 2009 Bastian Allgeier ```
[getkirby.com](https://getkirby.com) · [License agreement](https://getkirby.com/license)