core.md
General code style and PHP language conventions.
Foundation guidelines
General code style and PHP language conventions. No standalone installer yet — it's installed automatically when you install laravel.
$ curl https://agents.c11.dev/laravel | sh
php has no installer of its own yet — the command above installs laravel, which pulls php in. The files below are what you get.
core.md
General code style and PHP language conventions.
/** @var \App\Models\User $currentUser */. Generate comments only for something that needs extra explanation for the reasons why that code was written.match operator over switch whenever possible## PHP instructions - Don't generate code comments above the methods or code blocks if they are obvious. Don't add docblock comments when defining variables, unless instructed to, like `/** @var \App\Models\User $currentUser */`. Generate comments only for something that needs extra explanation for the reasons why that code was written. - In PHP, use `match` operator over `switch` whenever possible - Don't create a temporary variable for a value that is used only once — inline it instead.