Skip to content

Build With Phalcon Kit

Phalcon Kit is a database-first toolkit for building Phalcon applications and REST APIs with consistent scaffolding, model relationships, eager loading, identity, permissions, CLI tasks, and WebSocket support.

Get Started Browse The Cookbook

Latest-version documentation

This site documents the latest stable release of phalcon-kit/core and the runtime requirements declared by that release. Historical behavior belongs in the changelog and GitHub releases rather than a versioned copy of this site.

Phalcon Kit extends Phalcon rather than replacing it. Refer to the latest Phalcon documentation for native framework behavior, and use this site for Phalcon Kit conventions.

Jump Right In

Choose the path closest to what you want to build.

  • Get Started


    Install Phalcon Kit, understand the application layout, and boot your first project.

    Getting Started

  • Build A REST Resource


    Turn a database table into a model-backed API resource using the current controller conventions.

    First REST Resource

  • Understand The Architecture


    Learn how bootstrap, modules, providers, configuration, and application ownership fit together.

    Architecture

  • Work With Data


    Scaffold models, configure relationships, and load related records without N+1 queries.

    Models And Eager Loading

  • Secure The Application


    Connect identities, roles, permissions, sessions, JWT, and controller attributes.

    Identity And Permissions

  • Run Beyond HTTP


    Use the shared bootstrap and dependency injection model for CLI tasks and WebSocket runtimes.

    CLI And WebSocket

  • Solve A Common Task


    Copy focused recipes for endpoints, services, eager loading, workflow actions, transformers, CLI tasks, and tests.

    Developer Cookbook

  • Browse The API


    Explore the generated class, interface, trait, and function reference for the current source tree.

    API Reference

Install

composer require phalcon-kit/core
composer create-project phalcon-kit/app my-api

Keep Exploring

  • Configuration covers modules, providers, aliases, permissions, and integrations.
  • Database And Scaffolding explains the database-first development workflow.
  • REST APIs documents controllers, query composition, responses, and extension points.
  • Troubleshooting maps common symptoms back to the runtime, configuration, routing, model, or REST layer that owns them.
  • Migration Guides help older Zemit and PhalconKit applications move onto current namespaces and contracts.
  • Guide Index lists every maintained guide by workflow.