The definitive guide to Yii3
We release this guide under the Terms of Yii Documentation.
Introduction
Getting started
- What do you need to know?
- Creating a project
- Running applications
- Saying hello
- Working with forms
- Working with databases
- Generating code with Gii TODO
- Looking ahead
Application structure
- Application structure overview
- Entry scripts
- Application
- Service components
- Actions
- Domain
- Middleware
- Packages
Key concepts
Handling requests
Views
- View
- Template engines TODO: verify!
- View injections
- Scripts, styles and metatags TODO: verify!
- Assets TODO: verify!
- Widgets TODO: verify!
Working with databases
- Yii DB
- Active Record
- Migrations TODO: verify/update!
Getting data from users
Displaying data
- Data formatting TODO
- Pagination TODO
- Sorting TODO
- Data providers TODO
- Data widgets TODO
Security
- Security overview
- Authentication
- Authorization TODO: verify and complete!
- Working with passwords
- Cryptography
- Best practices
Caching
REST APIs
- Quick start TODO
- Resources TODO
- Controllers TODO
- Routing TODO
- Authentication TODO
- Rate limiting TODO
- Versioning TODO
- Error handling TODO
Development tools
- Debug toolbar and debugger
- Generating code using Gii
- Generating API documentation
Testing
- Testing overview TODO
- Testing environment setup TODO
- Unit tests TODO
- Functional tests TODO
- Acceptance tests TODO
- Fixtures TODO
Special topics
- Console applications
- Internationalization TODO
- Mailing
- Performance tuning
- Using Yii with event loop
- Using Yii with RoadRunner
- Using Yii with Swoole