laravel-excel
Skill by SpartnerNL
Laravel Excel guides AI assistants through building, testing, and debugging spreadsheet exports and imports with the maatwebsite/excel package. It is for Laravel developers and maintainers of the package.
Install laravel-excel
Built from the published package, never by AI.
git clone --depth 1 https://github.com/SpartnerNL/Laravel-Excel /tmp/Laravel-Excel && mkdir -p ~/.claude/skills && cp -r /tmp/Laravel-Excel/resources/boost/skills/laravel-excel ~/.claude/skills/laravel-excelRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/SpartnerNL/Laravel-Excel /tmp/Laravel-Excel && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Laravel-Excel/resources/boost/skills/laravel-excel ~/.gemini/antigravity-cli/skills/laravel-excelAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Laravel Excel is an agent skill for spreadsheet work in Laravel using the maatwebsite/excel package. It covers facade APIs, export and import classes, concerns, queues, batches, validation, failures, chunking, CSV settings, and testing with Excel::fake(). It helps the assistant pick the right concern for a given data source, such as FromQuery for large exports or ToModel for persisting imported rows.
The skill tells the assistant which package files to read, including src/Excel.php, src/Exporter.php, src/Importer.php, config/excel.php, and the tests folder. For feature audits it points to references/package.md as a checklist. It also sets working rules, such as keeping controllers thin and keeping queued classes serializable. It is aimed at Laravel developers who build or debug spreadsheet features and at maintainers of the package.
Written from the project's SKILL.md and checked against it.
What it can do
- Export classesPicks sources such as FromQuery, FromCollection, FromArray, or FromView and adds output concerns like WithHeadings.
- Import classesChooses ToModel, ToCollection, ToArray, or OnEachRow and adds validation and failure handling.
- Queues and batchesCovers queued exports and imports with ShouldQueue, queue(), queueImport(), and ShouldBatch.
- Testing with Excel::fake()Asserts downloads, stores, queues, and imports with assertDownloaded, assertStored, assertQueued, and assertImported.
- Styling and layoutCovers WithStyles, WithColumnFormatting, ShouldAutoSize, WithColumnWidths, and WithEvents.
- CSV handlingUses WithCustomCsvSettings for delimiter, enclosure, input encoding, and BOM-sensitive work.
- Large importsPairs WithChunkReading with WithBatchInserts for large ToModel imports.
- Package maintenanceGuides changes to concerns, config/excel.php, fakes, and the matching PHPUnit tests.
What you need
- A Laravel project
- The maatwebsite/excel package
- Optional search-docs tool for Laravel framework details
Try asking
- Build a Laravel export class that streams users from a query to xlsx
- Write an import class that validates uploaded CSV rows and skips failures
- Add a Excel::fake() test that asserts my controller queues an export
Good to know
- Large spreadsheets should not be loaded fully into memory unless complete workbook inspection is needed.
- Queued import chunks should avoid cross-row state that cannot survive chunk jobs.
- Queued export and import classes must stay serializable, without closures or open file handles.
- Repository-specific guidance applies when working inside the maatwebsite/excel package repository.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: resources/boost/skills/laravel-excel/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
examples/exports-imports.md6 KB -
references/package.md10 KB
Alternatives to laravel-excel
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
laravel-excel: common questions
Does laravel-excel handle queued exports and imports?
Yes. The skill covers ShouldQueue, queue(), queueImport(), ShouldBatch, and ShouldQueueWithoutChain. It advises keeping queued classes serializable.
How does the skill help with testing spreadsheet code?
It recommends Excel::fake() to check that the right export or import was requested. It suggests reading real files only when testing cell values, sheets, formatting, or formulas.
Which file types does it cover?
The source covers CSV settings and the Excel::XLSX and Excel::CSV types. It says writer and reader types are usually detected from the file extension.
How do I install laravel-excel?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is laravel-excel free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is laravel-excel safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to laravel-excel?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
