laravel-cicd

laravel-cicd is a skill for Claude Code, Codex from iamBrzDev/enterprise-agent-skills. It costs 132 tokens per session (3,046 once invoked), scanned A, original, MIT.

A guide for building GitHub Actions automation for Laravel and PHP applications. It covers testing, dependency caching, security checks, secrets, and production deployment workflows.

In plain words
What is it for?
Use it to create or refactor Laravel pipelines, run PHPUnit or Pest with a database, test multiple PHP versions, cache Composer and NPM packages, scan pull requests for security issues, and configure zero-downtime releases.
Why use it?
It removes the guesswork from replacing manual releases with repeatable checks and deployments. It also helps avoid exposing credentials or deploying code before tests and security checks pass.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is run: ./vendor/bin/phpstan analyse --level=8 --no-progress.

Good fit Use it to create or refactor Laravel pipelines, run PHPUnit or Pest with a database, test multiple PHP versions, cache Composer and NPM packages, scan pull requests for security issues, and configure zero-downtime releases.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/iamBrzDev/enterprise-agent-skills
agentmods
npx agentmods add skills/iambrzdev/enterprise-agent-skills/laravel-cicd

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for laravel-cicd

README.md
[![agentmods](https://agentmods.dev/badge/skills/iambrzdev/enterprise-agent-skills/laravel-cicd/github.svg)](https://agentmods.dev/skills/iambrzdev/enterprise-agent-skills/laravel-cicd)
Your own site
<a href="https://agentmods.dev/skills/iambrzdev/enterprise-agent-skills/laravel-cicd"><img src="https://agentmods.dev/badge/skills/iambrzdev/enterprise-agent-skills/laravel-cicd/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for laravel-cicd

Your own site · 80×15
<a href="https://agentmods.dev/skills/iambrzdev/enterprise-agent-skills/laravel-cicd"><img src="https://agentmods.dev/badge/skills/iambrzdev/enterprise-agent-skills/laravel-cicd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,046 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00132 $0.03046
Opus 5 $0.00066 $0.01523
Sonnet 5 $0.00026 $0.00609
Haiku 4.5 $0.00013 $0.00305

Measured 2d ago against content hash 4bdd8593f2cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

laravel-cicd scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST \
skills/laravel-cicd/SKILL.md · 410 lines

How it starts

The opening of the file, as written. The whole thing — 410 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to activate

  • Creating a GitHub Actions workflow for a Laravel project from scratch
  • Migrating a manual deployment process to automated CI/CD
  • "How do I speed up my Laravel pipeline?" in a GitHub Actions context
  • Adding Composer or NPM caching to an existing workflow
  • Configuring PHPUnit or Pest to run in CI with a real database
  • Setting up matrix builds for multiple PHP versions
  • Adding security scanning (SAST) to PR validation
  • Managing environment variables and secrets in GitHub Actions
  • Configuring zero-downtime deployment to production
  • Any mention of Laravel Forge, Envoyer, Octane, Horizon, or queues in a CI/CD context

Rules — Non-negotiable

  1. Secrets never go in workflow .yml files. All sensitive values — DB passwords, API keys, APP_KEY — must come from GitHub Secrets injected as environment variables. Never hardcoded, never in plain env: at repo level.

  2. Deploy only from main after all checks pass. No manual deploys that bypass the pipeline. Deploy job must need: the test and security jobs.

  3. Cache vendor/ and node_modules/ on every pipeline. A pipeline without caching wastes 60–90 seconds per run on package downloads.

  4. Tests run against a real database. SQLite in-memory is acceptable only for unit tests. Feature tests must use MySQL or PostgreSQL via service containers.

  5. .env files are never committed. Use .env.ci or inline env: blocks with secrets. Never copy .env.example and commit real values.

Pipeline Structure

Push / PR → Quality Gates (parallel) → Build Assets → Deploy (gated)
                ├── PHPUnit / Pest
                ├── Static Analysis (Larastan)
                └── Security Scan (SAST)

Canonical workflow skeleton

# .github/workflows/ci.yml
name: CI/CD Pipeline

on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main]

jobs:
  tests:
    name: Tests
    runs-on: ubuntu-latest
    # ... (see Tests job below)

  static-analysis:
    name: Static Analysis
    runs-on: ubuntu-latest
    # ... (see Static Analysis below)

  security-scan:
    name: Security Scan
    runs-on: ubuntu-latest
    # ... (see Security Scan below)

  build-assets:
    name: Build Assets
    runs-on: ubuntu-latest
    needs: [tests, static-analysis, security-scan]
    # ... (see Build Assets below)

  deploy:
    name: Deploy to Production
    runs-on: ubuntu-latest
    needs: [build-assets]
    if: github.ref == 'refs/heads/main' && github.event_name == 'push'
    # ... (see Deploy below)

Read the full file on GitHub · 410 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed 4bdd8593f2cd
  2. 11d ago First seen · 410 lines · 132 tokens per session scan A d865292881eb

Subscribe to this mod's changes

laravel-cicd is a skill published in the GitHub repository iamBrzDev/enterprise-agent-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 132 tokens to every session and 3,046 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

php-deploy

Build and deploy PHP applications — Composer, Laravel, Symfony, FrankenPHP, PHP-FPM, and Dockerfile patterns. Use when deploying a PHP project, or when composer.json or index.php is detected.

nixopus/nixopus · 45 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

laravel-security

Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.

hashgraph-online/awesome-codex-plugins · 34 tokens

integration-fixture

Create or validate a .test integration fixture under tests/php/Integration/Fixtures.

phel-lang/phel-lang · 16 tokens

create-module

Scaffold a new Marko module — a self-contained Composer package with composer.json, namespaced src/, and Pest tests. Use this skill whenever the user asks to create, add, or scaffold a new Marko module or package. Concrete triggers: 'create a module named payment', 'scaffold an acme/blog package', 'add a new module…

marko-php/marko · 120 tokens

llamaindex-development

Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.

Mindrally/skills · 32 tokens