Download the PHP package codebar-ag/coding-guidelines without Composer

On this page you can find all versions of the php package codebar-ag/coding-guidelines. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package coding-guidelines

codebar Solutions AG Coding Guidelines

Shared Laravel coding and architecture guidelines for codebar-ag projects, optimized for AI-assisted development with Laravel Boost, Claude CI, and Claude Desktop/Terminal.

Rule index: See RULES.md for the full rule structure and file reference.


Requirements


Installation

1. Require the package

In your Laravel project:

This will also install laravel/boost as a dependency.

2. Install and sync Boost

Laravel Boost automatically discovers skills from vendor/codebar-ag/coding-guidelines/resources/boost/skills/ when the package is installed.


Usage

Once the package is installed and boost:update has run:

No extra configuration is required beyond installing the package and running the Boost commands.


Multi‑agent usage with Laravel Boost

Laravel Boost acts as the index between your Laravel project and AI agents.
This package provides the skills and rules for that index; the agents are personas you prompt in your tools.

See AGENTS.md for full details. In short, the current role set includes:

Example prompts (Claude Desktop / Terminal)

Copy-paste and adapt these when talking to Claude Desktop/Terminal with Boost enabled. The examples below are common starting points; for full role coverage see AGENTS.md.


What’s included

Conceptually, this package covers:

Each area is implemented as a dedicated skill so AI assistants can follow focused, repeatable guidance.


Skills overview

Skills are reusable convention and workflow guides that assistants use when working with your codebase. Each skill includes rules, examples, anti‑patterns, and often a step‑by‑step process and checklists.

Category Skills Description
Laravel General, HelperFunctions, Models, Controllers, Migrations, Routing, FormRequests Framework conventions, config/logging, Eloquent, routes, validation
Backend Actions, Commands, DTO, Enums, Events, Exceptions, Helpers, Interfaces, Jobs, Middleware, Observers, Policies, Requests, Resources, Services, Traits PHP architecture, single-purpose classes, API resources, queue jobs
Frontend Blade, Design, Livewire, Tailwind, Translations Templates, design system, components, Tailwind CSS, i18n
Testing PHPUnit, PestTesting, PHPStan, Dusk Unit/feature tests, static analysis, browser tests
Services Saloon, DocuWare, Albatros External API integrations (Saloon, DocuWare, Albatros)

Total: 37 skills.


Full guidelines

For a complete, human-readable view of the guidelines:

Projects can treat RULES.md as the canonical index and the SKILL.md files as detailed playbooks.


Keeping guidelines up to date

Update the package and refresh Boost’s view of the skills with:


Project overrides

To customize a skill for your project, create a file at .ai/skills/{skill-name}/SKILL.md. Your local version takes precedence over the package default.

Example: override the Models skill:

Project overrides can also adjust the compatible_agents frontmatter for a skill to fit your local workflows.
See RULES.md for the agent/phase mapping and the compatible_agents convention.


How it works

This package places skills in resources/boost/skills/{skill-name}/SKILL.md. Laravel Boost v2.2+ automatically discovers skills from vendor packages when you run boost:update. No custom sync commands or Laravel service providers are required—Boost handles discovery directly from the vendor path.

When you install this package via Composer, laravel/boost is automatically installed as a dependency, so you do not need a separate Composer require for Boost.

Source Path
This package (default skills) vendor/codebar-ag/coding-guidelines/resources/boost/skills/
Project overrides .ai/skills/{skill-name}/SKILL.md

In day-to-day application work you typically only touch:

Package internals such as .github/workflows/skills-validation.yml and composer.json are maintained here and normally do not need changes in consumer applications.


Advanced AI integrations

Claude CI (GitHub Actions)

You can create a GitHub Actions workflow that uses Claude to challenge your changes against these rules and produce a copy‑pastable refactor plan.

To enable it, configure the Anthropic API secret as described in Anthropic secret configuration and follow the setup instructions of the chosen Claude GitHub Action.

Anthropic secret configuration

The Claude workflow expects an Anthropic API key to be available as a GitHub secret:

If your company uses a different secret name convention, update the workflow input to match (search for secrets.ANTHROPIC_API_KEY in your copied claude-guidelines-review.yml workflow and adjust accordingly).

Claude Desktop & Claude Terminal

When using Claude Desktop or Claude Terminal (for example inside PhpStorm), you can:

This makes local AI usage consistent with what runs in CI and via Boost.

MCP (optional)

If your editor supports MCP (Model Context Protocol), configure it to use the Boost MCP server for full context. See the Laravel Boost documentation for your editor's setup.


Claude-based skills validation

This package validates its own skills using Pest and the Laravel AI SDK (see also the 13.x docs when developing on Laravel 13):

The .github/workflows/skills-validation.yml workflow runs these checks on pushes and pull requests. Configure ANTHROPIC_API_KEY and ANTHROPIC_MODEL as GitHub secrets.

Under the hood, skills validation is performed by a small Laravel AI agent and supports both direct test execution and queued batch execution:

CI now validates skills directly through the per-skill test dataset, while the queue command remains available for manual or maintenance batch runs.


All versions of coding-guidelines with dependencies

PHP Build Version
Package Version
Requires illuminate/console Version ^12.41.1|^13.0
illuminate/support Version ^12.41.1|^13.0
laravel/boost Version ^2.2
php Version ^8.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codebar-ag/coding-guidelines contains the following files

Loading the files please wait ...