Download the PHP package matih/yii2-one-domain-starter-kit without Composer
On this page you can find all versions of the php package matih/yii2-one-domain-starter-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download matih/yii2-one-domain-starter-kit
More information about matih/yii2-one-domain-starter-kit
Files in matih/yii2-one-domain-starter-kit
Package yii2-one-domain-starter-kit
Short Description Yii2 Starter Kit Application Template
License BSD-3-Clause
Informations about the package yii2-one-domain-starter-kit
Yii 2 Starter Kit
This is Yii2 one-domain start application template, Based on yii2-starter-kit
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
- Manual installation
- Docker installation
- Vagrant installation
- Application components
- Console commands
- Testing
- FAQ
- How to contribute?
- Donations
- Have any questions
DEMO
Demo is hosted by awesome Digital Ocean
Frontend: http://yii2-starter-kit.terentev.net
Backend: http://backend.yii2-starter-kit.terentev.net
administrator
role account
manager
role account
user
role account
FEATURES
- Beautiful and open source dashboard theme for backend AdminLTE 2
- Translations: English, Spanish, Russian, Ukrainian, Chinese
- Translations Editor
- Language change action + behavior to choose locale based on browser preferred language
- Sign in, Sign up, profile(avatar, locale, personal data), email activation etc
- OAuth authorization
- User management
- RBAC with predefined
guest
,user
,manager
andadministrator
roles - RBAC migrations support
- Content management components: articles, categories, static pages, editable menu, editable carousels, text blocks
- Key-value storage component
- Application settings form (based on KeyStorage component)
- Ready-to-go RESTful API module
- File storage component + file upload widget
- On-demand thumbnail creation trntv/yii2-glide
- Command Bus with queued and async tasks support trntv/yii2-command-bus
- Useful behaviors (GlobalAccessBehavior, CacheInvalidateBehavior, MaintenanceBehavior)
- Yii2 log web interface
- Application timeline component
- Cache web controller
- Maintenance mode component (more)
- System information web interface
- dotenv support
ExtendedMessageController
with ability to replace source code language and migrate messages between message sources- Aceeditor widget
- Datetimepicker widget,
- Imperavi Reactor Widget,
- Elfinder Extension
- Xhprof Debug panel
- Extended IDE autocompletion
- Nginx config example
- Test-ready
- Docker support and Vagrant support
- Built-in mailcatcher
- Assets compression and concatenation
- Some useful shortcuts
- many other features i'm lazy to write about :-)
Application Components
I18N
If you want to store application messages in DB and to have ability to edit them from backend, run:
it will copy all existing messages to database
Then uncomment config for DbMessageSource
in
KeyStorage
Key storage is a key-value storage to store different information. Application settings for example. Values can be stored both via api or by backend CRUD component.
Maintenance mode
Starter kit has built-in component to provide a maintenance functionality. All you have to do is to configure maintenance
component in your config
This component will catch all incoming requests, set proper response HTTP headers (503, "Retry After") and show a maintenance message. Additional configuration options can be found in a corresponding class.
Starter kit configured to turn on maintenance mode if frontend.maintenance
key in KeyStorage is set to true
Command Bus
In Starter Kit Command Bus pattern is implemented with tactician package and it's yii2 connector - yii2-tactician
Command are stored in common/commands/command
directory, handlers in common/commands/handler
To execute command run
Timeline (Activity)
Behaviors
CacheInvalidateBehavior
GlobalAccessBehavior
Add in your application config:
It will allow access to you application only for authentificated users.
Command Bus
Read more about command bus on in official repository
Widgets configurable from backend
Carousel
- Create carousel in backend
- Use it:
DbText
- Create text block in backend
- Use it:
DbMenu
- Create text block in backend
- Use it:
Widgets
Grid
EnumColumn
API
Starter Kit has fully configured and ready-to-go REST API module. You can access it on http://yii2-starter-kit.dev/api/v1 For some endpoints you should authenticate your requests with one of available methods - https://github.com/yiisoft/yii2/blob/master/docs/guide/rest-authentication.md#authentication
MultiModel
common\base\MultiModel
- class for handling multiple models in one
In controller:
In view:
Other
-
common\behaviors\GlobalAccessBehavior
- allows to set access rules for your application in application config -
common\behaviors\LocaleBehavior
- discover user locale from browser or account settings and set it -
common\behaviors\LoginTimestampBehavior
- logs user login time -
common\validators\JsonValidator
- validates a value to be a valid json -
common\rbac\rule\OwnModelRule
- simple rule for RBAC to check if the current user is model owner common\filters\OwnModelAccessFilter
- action filter to check if user is allowed to manage this model
How to contribute?
You can contribute in any way you want. Any help appreciated, but most of all i need help with docs (^_^)
Donations
- [Paypal] (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=X7UFA3F3ALPM8)
- [Bitcoin] (https://www.coinbase.com/checkouts/2f1c1cb31c395e5aaafa1ba70003552e)
- [WebMoney] (Z110052695454)
- Other way: [email protected]
Have any questions?
mail to [email protected]
READ MORE
https://github.com/yiisoft/yii2/blob/master/apps/advanced/README.md https://github.com/yiisoft/yii2/tree/master/docs
NOTE
This template was created mostly for developers NOT for end users. This is a point where you can begin your application, rather than creating it from scratch. Good luck!
All versions of yii2-one-domain-starter-kit with dependencies
ext-intl Version *
yiisoft/yii2 Version ^2.0.6
yiisoft/yii2-bootstrap Version ^2.0.0
yiisoft/yii2-swiftmailer Version ^2.0.0
yiisoft/yii2-authclient Version ^2.0.0
yiisoft/yii2-jui Version ^2.0.0
asofter/yii2-imperavi-redactor Version dev-master@dev
mihaildev/yii2-elfinder Version ^1.0
trntv/yii2-aceeditor Version ^2.0
trntv/probe Version ^0.2
trntv/yii2-file-kit Version ^1.0.0
trntv/yii2-glide Version ^1.0.0
trntv/yii2-datetime-widget Version ^1.0.0
trntv/cheatsheet Version ^0.1@dev
trntv/yii2-command-bus Version ^2.0
intervention/image Version ^2.1
vlucas/phpdotenv Version ^2.0
bower-asset/admin-lte Version ^2.0
bower-asset/font-awesome Version ^4.0
bower-asset/html5shiv Version ^3.0
bower-asset/jquery-slimscroll Version ^1.3
bower-asset/flot Version ^0.8
symfony/process Version ^3.0