Laravel Studio

    by Takbir Zaman Bhuiyan

    1

    Expert Laravel engineering for architecture, Eloquent optimization, Filament, and secure API design.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    Laravel Studio

    Example session with this skill installed

    Create a new feature to handle user profile updates including an avatar upload, ensuring it uses a Form Request and a dedicated Action class.

    • Read your context and instructions
    • Compiled the laravel studio

    I will implement a profile update feature using a dedicated UpdateUserProfile Action and a ProfileUpdateRequest to handle validation and file storage.

    User Profile Update Implementation

    // app/Http/Requests/ProfileUpdateRequest.php
    <?php
    
    declare(strict_types=1);
    
    namespace App\Http\Requests;
    
    use Illuminate\Foundation\Http\FormRequest;
    use Illuminate\Validation\Rule;
    
    class ProfileUpdateRequest extends FormRequest
    {
        public function authorize(): bool
        {
            return true;
        }
    
        public function rules(): array
        {
            return [
                'name' => ['required', 'string', 'max:255'],
                'email' => ['required', 'email', 'max:255', Rule::unique('users')->ignore($this->user()->id)],
                'avatar' => ['nullable', 'image', 'max:2048'],
            ];
        }
    }
    
    // app/Actions/UpdateUserProfile.php
    <?php
    
    declare(strict_types=1);
    
    namespace App\Actions;
    
    use App\Models\User;
    use Illuminate\Support\Facades\Storage;
    
    class UpdateUserProfile
    {
        public function handle(User $user, array $data): User
        {
            if (isset($data['avatar'])) {
                if ($user->avatar_path) {
                    Storage::disk('public')->delete($user->avatar_path);
                }
                $data['avatar_path'] = $data['avatar']->store('avatars', 'public');
            }
    
            $user->update(collect($data)->except('avatar')->toArray());
    
            return $user;
        }
    }
    

    Artisan Commands:
    php artisan make:request ProfileUpdateRequest
    php artisan storage:link

    Verified with:
    Static analysis via Larastan confirmed type safety for the Action class.

    Watch out for:

    Security: Ensure the public disk is properly configured to prevent unauthorized access to other storage directories.

    • Optimization: If updating profiles frequently, consider processing avatar resizing via a queued Job.
    • Authorization: Ensure the route is protected by auth middleware.

    Next steps

    1. Add a Pest test to verify the avatar upload and old file deletion.
    2. Update the User model to include avatar_path in the $fillable array.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Building a Laravel application requires more than just knowing PHP. It demands a deep understanding of service containers, Eloquent optimization, and framework-specific security patterns. This skill provides senior-level engineering expertise to ensure your Laravel builds are idiomatic, performant, and maintainable.

    What it does

    • Architects systems using DTOs, actions, and service patterns to keep logic out of controllers.
    • Optimizes databases by fixing N+1 issues, implementing eager loading, and managing complex Eloquent relationships.
    • Secures APIs with Sanctum or Fortify auth, implementing robust RBAC through policies and gates.
    • Manages frontend integration across Livewire, Inertia (Vue/React), and Blade with Vite.
    • Automates testing using Pest or PHPUnit, including model factories and mocking for high coverage.
    • Configures infrastructure for Redis/Horizon queues, Task Scheduling, and deployment via Forge or Docker.

    How it works

    1. Analyze environment: The skill reads composer.json to match your specific Laravel and PHP versions.
    2. Consult references: It checks internal documentation for specific domains like payments, realtime Reverb, or Filament admin panels.
    3. Execute workflow: It uses Artisan generators to maintain framework conventions for models, migrations, and requests.
    4. Quality gate: It validates output by running Pint for styling, Larastan for static analysis, and Pest for functional verification.

    Frameworks & tools

    This skill is built for the Laravel ecosystem, including Eloquent, Sanctum, Fortify, Horizon, Cashier, Reverb, and Filament. It supports testing via Pest and PHPUnit, and frontend stacks including Livewire, Inertia, and Tailwind CSS.

    Why this beats prompting it yourself

    Generic prompts often result in bloated controllers or insecure $guarded = [] models. This skill enforces strict architectural boundaries, mandatory authorization, and prevents common pitfalls like env() calls outside of config files that break production caching.

    Use cases

    • Refactoring legacy PHP into a modern Laravel service-action architecture.
    • Building a multi-tenant SaaS with isolated data and subscription billing via Cashier.
    • Designing a high-performance REST API with versioned resources and form request validation.
    • Implementing a real-time dashboard using Reverb websockets and Filament widgets.

    Known limitations

    Does not support editing already deployed migrations. Requires manual verification of environment secrets as it will not commit .env files.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Cannot edit already deployed migrations. Will not generate code using unverified third-party packages. Requires existing PHP/Laravel environment for script-based quality checks.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This skill acts as a senior engineer to architect systems using service patterns, optimize Eloquent databases to fix N+1 issues, and implement secure API authentication with Sanctum or Fortify. It also handles frontend integration with Livewire or Inertia and automates testing via Pest or PHPUnit.

    You only need your AI agent. The skill will automatically read your composer.json file to match your Laravel and PHP versions and check your existing routes and patterns to ensure idiomatic code.

    The skill produces idiomatic Laravel code following framework conventions, including models, migrations, and form requests generated via Artisan. Every response includes a brief architecture summary, file-pathed code blocks, and a quality gate report covering security and performance checks.

    It cannot edit migrations that have already been deployed to production and it will not manage or commit your .env files for security reasons. You must manually verify environment secrets and handle existing database schema changes through new migrations.

    You can ask it to refactor legacy code into a service-action architecture, design a multi-tenant SaaS with Cashier billing, or build a high-performance REST API. Even casual requests like "fix this" or "add a dashboard" trigger its senior engineering workflow.

    New in APIs & Backend