PHP 8 · Plugins for Cursor | Prompt Studio
    1. Cursor
    2. Plugins
    3. PHP 8
    Cursor · PluginsLenguajes

    PHP 8

    Strict types, enums and readonly.

    by Prompt Studio

    php

    License: MITView original

    Contents

    Where it goes: .cursor/rules/php.mdc

    ---
    description: Convenciones y buenas prácticas de PHP 8
    globs: **/*.php
    alwaysApply: false
    ---
    
    # PHP 8
    
    - `declare(strict_types=1)
    - ` en cada archivo
    - Tipos en parámetros, retornos y propiedades
    - Usa `enum` y propiedades `readonly`
    - Comparaciones con `===` e `in_array(..., true)`
    

    More in Plugins

    • Next.js

      App Router, Server Components, Server Actions and caching.

    • Python

      Typing, package layout and tests with pytest.

    • React + TypeScript

      Function components, hooks and strict typing.

    • Expo / React Native

      Expo Router, styling and mobile performance.

    • Go

      HTTP APIs, error handling and context.

    • Tailwind + shadcn/ui

      Utility classes, design tokens and accessible components.

    See all in Plugins (508) →

    Your ultimate collection of AI prompts. Gather inspiration, explore examples, and create with AI.

    Main hubs

    • Prompts
    • Images
    • Videos
    • Generate Videos
    • Templates
    • Animations
    • Prices
    • About
    • Affiliate

    Browse by type

    • Component kits
    • Image Tags
    • Video Tags
    • Webs

    Popular topics

    • Music
    • Portfolio
    • Gaming
    • Travel
    • Nano Banana Pro

    Legal

    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Licenses Policy
    • Refund Policy
    • Affiliate Program Terms
    • Crowdfunding Terms

    Magzin LLC, 800 Third Avenue Associates, New York, NY, 10022, United States

    © 2026 Prompt Studio by Magzin. All rights reserved.