troubleshooting-backend

仓库创建 2026年7月4日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

覆盖连接、路由、迁移与类型生成等日常高频问题,实用性强。

这个 Skill 做什么

诊断并修复 Laravel、PHP 与后端相关的常见错误与异常。

遇到 Laravel、PHP 或后端报错时快速定位并修复。会帮你分析异常堆栈、数据库连接与查询、路由注册、Controller/Action 问题以及 Artisan 命令和 PHP→TypeScript 的类型生成错误,给出具体排查步骤和修复建议。特点是结合框架细节和常用命令,把抽象错误翻成可操作的改动。

▸ 展开 SKILL.md 英文原文

Troubleshooting Laravel, PHP, and backend-related errors.

开发编程后端排错LaravelPHP通用
0
Stars
0
Forks
23
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ceilidhboy/skills/master/skills/troubleshooting-backend/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ceilidhboy/skills/master/skills/troubleshooting-backend/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Troubleshooting Backend Issues

## When to Activate This Skill

Activate this skill when encountering:
- Laravel framework errors or exceptions
- PHP errors or type errors
- Database connection or query errors
- Route registration issues
- Controller or action problems
- Artisan command failures
- Type generation failures (PHP → TypeScript)

## Common Backend Issues and Solutions

### Route Registration Issues

**Problem**: Wayfinder action file not generated, import fails
**Cause**: Route not registered in `routes/web.php`
**Solution**:
1. Check `routes/web.php` for the route registration
2. Verify the controller class name matches
3. Run `php artisan wayfinder:generate --no-interaction`
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有