Yii2 Starter Kit
Last updated Jun 27, 2026
1.4k
Stars
621
Forks
25
Issues
0
Stars/day
Attention Score
93
Language breakdown
PHP 97.9%
JavaScript 1.0%
Less 0.5%
Batchfile 0.3%
Shell 0.2%
Dockerfile 0.1%
▸ Files
click to expand
README
Yii 2 Starter Kit
Stand with Ukraine!
While Russia is destroying my home and my country, killing my friends and neighbors - any russian company, organization, or citizen, who do nothing about it, is prohibited from using this package. For others - please, pray for us, share information about war crimes Russia is conducting in Ukraine, do everything you can to urge your governments to be on the right side of history. Ukraine will prevail! Good triumph over evil! Русский военный корабль, иди нах#й!
This is Yii2 start application template.
It was created and developing as a fast start for building an advanced sites based on Yii2.
It covers typical use cases for a new project and will help you not to waste your time doing the same work in every project
Before you start
Please, consider helping project via contributions or donations.TABLE OF CONTENTS
- Manual installation - Docker installationQuickstart
composer create-project yii2-starter-kit/yii2-starter-kit myproject.com --ignore-platform-reqs
cd myproject.com
taskctl start
FEATURES
Admin backend
- Beautiful and open source dashboard theme for backend AdminLTE 3
- Content management components: articles, categories, static pages, editable menu, editable carousels, text blocks
- Settings editor. Application settings form (based on KeyStorage component)
- File manager
- Users, RBAC management
- Events timeline
- Logs viewer
- System monitoring
Development tasks
To list all available development tasks follow these steps:- Install taskctl task runner
- Run `
taskctl
I18N
- Built-in translations:
- Language switcher, built-in behavior to choose locale based on browser preferred language
- Backend translations manager
Users
- Sign in
- Sign up
- Profile editing(avatar, locale, personal data)
- Optional activation by email
- OAuth authorization
- RBAC with predefined guest
,user,managerandadministratorroles - RBAC migrations support
Development
- Ready-to-use Docker-based stack (php, nginx, mysql, mailcatcher)
- .env support
- Webpack build configuration
- Key-value storage service
- Ready to use REST API module
- File storage component + file upload widget
- On-demand thumbnail creation trntv/yii2-glide
- Built-in queue component yiisoft/yii2-queue
- Command Bus with queued and async tasks support trntv/yii2-command-bus
- ExtendedMessageController
with ability to replace source code language and migrate messages between message sources - Some useful shortcuts
Other
- Useful behaviors (GlobalAccessBehavior, CacheInvalidateBehavior)
- Maintenance mode support (more)
- Aceeditor widget
- Datetimepicker widget,
- Imperavi Reactor Widget,
- Xhprof Debug panel
- Sitemap generator
- Extended IDE autocompletion
- Test-ready
- Docker support and Vagrant support
- Built-in mailcatcher
- Swagger for API docs.
DEMO
- Frontend: https://yii2-starter-kit.herokuapp.com
- Backend: https://yii2-starter-kit.herokuapp.com/backend
role account
<pre><code class="lang-">Login: webmaster
Password: webmaster</code></pre>
manager role account <pre><code class="lang-">Login: manager Password: manager</code></pre>
user` role account Login: user Password: user
How to contribute?
You can contribute in any way you want. Any help appreciated, but most of all i need help with docs (^_^)Have any questions?
Mail to victor@vgr.cl or yevhen.terentiev@gmail.comREAD MORE
NOTE
This template was created mostly for developers NOT for end users. This is a point where you can start your application, rather than creating it from scratch. Good luck!🔗 More in this category