laravel-upgrade

laravel-upgrade is a skill for Claude Code, Codex from 1weiho/laravel-upgrade-skill. It costs 60 tokens per session (778 once invoked), scanned A, original, MIT.

A step-by-step upgrade helper for Laravel, a PHP web framework. It moves applications one major version at a time from Laravel 9 to 10, 10 to 11, or 11 to 12.

In plain words
What is it for?
Checking composer.json, reading the relevant upgrade guide, scanning the application, and fixing supported Laravel compatibility issues.
Why use it?
It finds version-specific breaking changes and applies the related code, dependency, and configuration updates.

Skill for Claude CodeCodex

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

Good fit Checking composer.json, reading the relevant upgrade guide, scanning the application, and fixing supported Laravel compatibility issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/1weiho/laravel-upgrade-skill/laravel-upgrade
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 1weiho/laravel-upgrade-skill --skill laravel-upgrade
Clone the repo
git clone --depth 1 https://github.com/1weiho/laravel-upgrade-skill

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-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/1weiho/laravel-upgrade-skill/laravel-upgrade/github.svg)](https://agentmods.dev/skills/1weiho/laravel-upgrade-skill/laravel-upgrade)
Your own site
<a href="https://agentmods.dev/skills/1weiho/laravel-upgrade-skill/laravel-upgrade"><img src="https://agentmods.dev/badge/skills/1weiho/laravel-upgrade-skill/laravel-upgrade/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-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/1weiho/laravel-upgrade-skill/laravel-upgrade"><img src="https://agentmods.dev/badge/skills/1weiho/laravel-upgrade-skill/laravel-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 778 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00060 $0.00778
Opus 5 $0.00030 $0.00389
Sonnet 5 $0.00012 $0.00156
Haiku 4.5 $0.00006 $0.00078

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

Security

Grade A, and why

laravel-upgrade scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/laravel-upgrade/SKILL.md · 117 lines

How it starts

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

Laravel Upgrade

Upgrade Laravel applications one major version at a time. Supports: 9→10, 10→11, 11→12.

Workflow

1. Detect Current Version

Read composer.json and find the laravel/framework version constraint:

// Example: "laravel/framework": "^10.0" means Laravel 10.x

Determine target version (current + 1). If already on Laravel 12, inform user they're on the latest supported version.

2. Load Upgrade Guide

Based on detected versions, read the appropriate reference file:

Current Target Reference File
9.x 10.x references/from-9-to-10.md
10.x 11.x references/from-10-to-11.md
11.x 12.x references/from-11-to-12.md

3. Scan and Fix

For each breaking change in the guide, scan the codebase and apply fixes:

High Impact (always check):

  • composer.json dependency versions
  • PHP version requirements
  • Database migrations using deprecated methods

Medium Impact (check relevant files):

  • Model $dates property → $casts (9→10)
  • Database expressions with (string) casting (9→10)
  • Column modification migrations missing attributes (10→11)
  • HasUuids trait behavior change (11→12)

Low Impact (check if patterns found):

  • Deprecated method calls (Bus::dispatchNow, Redirect::home, etc.)
  • Contract interface changes
  • Configuration file updates

4. Update Dependencies

After code fixes, update composer.json:

# Update laravel/framework constraint to target version
# Update related packages per upgrade guide
composer update

5. Post-Upgrade Verification

  • Run php artisan to verify framework boots
  • Run test suite if available
  • Check for deprecation warnings in logs

Common Patterns

Dependency Updates (all upgrades)

Search composer.json for outdated constraints and update per guide.

Model $dates to $casts (9→10)

// Before
protected $dates = ['deployed_at'];

// After
protected $casts = ['deployed_at' => 'datetime'];

Read the full file on GitHub · 117 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. 12d ago First seen · 117 lines · 60 tokens per session scan A e2d740ef24bc

Subscribe to this mod's changes

laravel-upgrade is a skill published in the GitHub repository 1weiho/laravel-upgrade-skill (5 stars, last pushed 7mo ago), licensed MIT. It adds 60 tokens to every session and 778 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. 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

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

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 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

craftcms

Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing…

michtio/craftcms-claude-skills · 327 tokens

laravel-expert

Laravel & PHP Development Instructions for GitHub Copilot.

GulajavaMinistudio/awesome-copilot-id · 15 tokens