talira

PHP framework for rapid development of modern applications

open sourceBSD-3-Clausefree

Yii is a high-performance, component-based PHP framework for web applications and APIs. Yii 2 is a full-stack MVC framework with Active Record, a query builder and migrations, form validation, caching, RBAC authorization, RESTful API support, widgets such as GridView, and the Gii code generator and debug toolbar. Yii3, released at the end of 2025, is a rewrite as independent packages, each versioned on its own. Yii is maintained by volunteers and released under the BSD 3-Clause licence.

Problems it solves

  • a fast PHP framework for building a database-backed web app with CRUD screens generated for me
  • generate models, controllers and forms from my database tables instead of writing them by hand
  • build a REST API in PHP with authentication, rate limiting and versioning built in
  • a PHP MVC framework with Active Record, migrations and a query builder
  • show sortable, paginated data tables in my PHP admin pages without writing them myself
  • role-based access control for a PHP application
  • debug PHP requests with a toolbar that shows queries, logs and timings
  • maintain a long-lived PHP application on a framework with a published support timeline
  • a component-based PHP framework I can use as a micro framework or a full stack

Features

  • Active Record, query builder and database migrations
  • Gii code generator for models, CRUD, forms and modules
  • Debug toolbar and debugger
  • RESTful web services with authentication, rate limiting and versioning
  • Role-based access control and authentication
  • Data, fragment, page and HTTP caching
  • Data widgets: GridView, ListView, DetailView and ActiveForm
  • Console commands
  • Internationalization
  • Testing support for unit, functional and acceptance tests
View 1 more
  • Yii3: independent packages, each with semantic versioning

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Yii does.

  1. Laravel The PHP framework for web artisans.
  2. CakePHP Rapid development MVC framework for PHP, with conventions and batteries included
  3. Phalcon High performance, full-stack PHP framework delivered as a C extension
  4. Symfony A PHP framework for web applications, built from reusable components

Compare Yii with the top 3