trntv / yii2-starter-kit
Yii2 Starter Kit Application Template
Installs: 14 375
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1 371
Watchers: 170
Forks: 680
Open Issues: 17
Type:project
Requires
- php: >=7.1.0
- ext-gd: *
- ext-intl: *
- alexantr/yii2-elfinder: ^1.3
- almasaeed2010/adminlte: ^3.0
- asofter/yii2-imperavi-redactor: >=0.0.3@dev
- guzzlehttp/guzzle: ^6.0
- intervention/image: ^2.1
- kartik-v/yii2-widgets: ^3.4
- npm-asset/flot: ^3.2
- npm-asset/font-awesome: ^5.0
- npm-asset/html5shiv: ^3.0
- npm-asset/jquery-slimscroll: ^1.3
- rmrevin/yii2-fontawesome: ^3.4
- symfony/process: ^4.0
- trntv/cheatsheet: ^0.1@dev
- trntv/probe: ^1.0
- trntv/sitemaped: ^0.1
- trntv/yii2-aceeditor: ^2.0
- trntv/yii2-command-bus: ^3.0
- trntv/yii2-datetime-widget: dev-master@dev
- trntv/yii2-glide: ^1.2
- vlucas/phpdotenv: ^2.0
- yii2-starter-kit/yii2-file-kit: ^2.1.0
- yii2mod/yii2-swagger: ^1.1
- yiisoft/yii2: ^2.0.13
- yiisoft/yii2-authclient: ^2.0.0
- yiisoft/yii2-bootstrap4: ^2.0
- yiisoft/yii2-debug: ^2.0.0
- yiisoft/yii2-jui: ^2.0.0
- yiisoft/yii2-swiftmailer: ^2.0.0
Requires (Dev)
- codeception/codeception: 2.4.0
- codeception/verify: ^0.3.1
- yiisoft/yii2-faker: ^2.0.0
- yiisoft/yii2-gii: ^2.0.0
Suggests
- trntv/yii2-debug-xhprof: dev-master@dev
- dev-main
- 4.1.0
- 4.0.0
- 3.0.3
- v3.0.2
- 3.0.1
- 3.0.0
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.5.1
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.0.0
- dev-master
- dev-dependabot/npm_and_yarn/dot-prop-4.2.1
- dev-heroku
- dev-docker-update
- dev-adminlte3
- dev-develop
- dev-feature/adminlte-frontend
This package is auto-updated.
Last update: 2021-02-26 19:22:28 UTC
README
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
- Demo
- Features
- Installation
- Components documentation
- Console commands
- Testing
- FAQ
- How to contribute?
- Have any questions?
Quickstart
- Install taskctl
- Install docker
- Install docker-compose
- Run
composer create-project yii2-starter-kit/yii2-starter-kit myproject.com --ignore-platform-reqs cd myproject.com taskctl start
- Go to http://yii2-starter-kit.localhost
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:
- English
- Spanish
- Russian
- Ukrainian
- Chinese
- Vietnamese
- Polish
- Portuguese (Brazil)
- Indonesian (Bahasa)
- 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
,manager
andadministrator
roles - 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
administrator
role account
Login: webmaster
Password: webmaster
manager
role account
Login: manager
Password: manager
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.com
READ 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!