# Yii

> PHP framework for rapid development of modern applications

Source: https://talira.ai/catalog/yii-91shb62k
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / full stack](https://talira.ai/categories/frameworks/web/full-stack), [languages / php](https://talira.ai/categories/languages/php)
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free for open source and commercial projects.
- Free tier: yes[^1]
- Plugins: yes[^2]
- Backed by: [Yii Software](https://talira.ai/orgs/yiisoft.md)

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.

## Links

- Website: https://www.yiiframework.com/
- GitHub: https://github.com/yiisoft/yii2
- Docs: https://www.yiiframework.com/doc/guide/2.0/en

## 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
- Yii3: independent packages, each with semantic versioning

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.74 out of 1.
Signals: maintenance 0.95, adoption 0.83, momentum 0.58, community 1.00, backing 0.30, extensibility 0.40.

- last commit 5 days ago
- 52 commits in the last 90 days
- latest release 2.0.55 6 months ago
- 14.3k GitHub stars
- 1529 contributors
- accepts sponsorship (Github, Open Collective, Tidelift)
- backed by Yii Software
- has a plugin system

## Alternatives

- [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md): The PHP framework for web artisans.
- [CakePHP](https://talira.ai/catalog/cakephp-dy095p5h.md): Rapid development MVC framework for PHP, with conventions and batteries included
- [Phalcon](https://talira.ai/catalog/phalcon-0snqxk4f.md): High performance, full-stack PHP framework delivered as a C extension
- [Symfony](https://talira.ai/catalog/symfony-e514zcgt.md): A PHP framework for web applications, built from reusable components

## Sources

[^1]: https://www.yiiframework.com/license (checked 25 Nov 2026)
[^2]: https://www.yiiframework.com/doc/guide/2.0/en/intro-yii (checked 25 Nov 2026)
