Skip to content
  • Kirby CMS Plugins
  • Discover
  • Search
  • Developers
  • New plugins
  • Recently updated
  • Most starred
  • Topics
  • Types
  • Free Plugins
  • Paid Plugins
  • Kirby 4
  • Kirby 3

  • Submit a plugin
  • getkirby.com
  • AI
  • Analytics
  • Assets
  • Authentication
  • Caching
  • Cli
  • Content Creation
  • CSS
  • Databases
  • Dates
  • Debugging
  • DX
  • E-Commerce
  • Feeds
  • Forms
  • Headless
  • Icons
  • Internationalisation
  • Jamstack
  • Logging
  • Media
  • Panel
  • Performance
  • Privacy
  • Routing
  • Search
  • Security
  • SEO
  • Social Media
  • Structured data
  • Templating
  • Text
  • Typography
  • Versioning
  • Videos
  • WYSIWYG
  • Blueprints

    All plugins

    • // site/blueprints/pages/blueprint.php
      $fields = [...]; // Fields for all users
      
      if (kirby()->user()->isAdmin()) {
          $fields = [...] // Fields for admins
      }
      
      return [
          'title' => 'PHP-based blueprint',
          'fields' => $fields,
      ];
      PHP Blueprint Loader Dynamically loads PHP-based blueprints from your Kirby CMS site folder K4
    • blueprints
        ├── pages
        │   ├── default.yml
        │   ├── home.policy.yml
        │   ├── simple.policy.yml
        │   ├── content.yml
        │   └── post.policy.yml
        ├── users
        │   ├── admin.yml
        │   └── editor.yml
        └── site.yml
      Policy Display different fields for different user roles in the Panel K4
    • return Field::make(FieldTypes::TEXT)
          ->label('Description')
          ->toArray();
      PHP Class-based Blueprints PHP Class-based Blueprints for better type safety and code completion K5 K4 K3
    • Code Editor Code editor field for Kirby 3 and 4. K4 K3