Download the PHP package trntv/yii2-starter-kit without Composer
On this page you can find all versions of the php package trntv/yii2-starter-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trntv/yii2-starter-kit
More information about trntv/yii2-starter-kit
Files in trntv/yii2-starter-kit
Package yii2-starter-kit
Short Description Yii2 Starter Kit Application Template
License BSD-3-Clause
Informations about the package yii2-starter-kit
Yii 2 Starter Kit
An application template for building advanced websites on Yii 2. It ships the parts most projects rebuild from scratch: authentication with RBAC, a content-managed backend, a REST API, internationalisation, file storage and a Docker development stack.
It is aimed at developers. The result is a starting point for your own application, not a finished product.
Requirements
| Requirement | Version | Needed for |
|---|---|---|
| PHP | 8.4 or newer | The application. ext-intl and ext-gd are declared in composer.json; pdo_mysql, fileinfo and zip are required at runtime |
| MySQL | 8.4 or newer | The application and the test suite |
| Node.js | 24 or newer | Asset builds |
| Composer | 2.x | Creating and updating the project |
| Docker with Compose v2 | Current release | The recommended route: the containers provide PHP, Node and MySQL |
| taskctl | Optional | An alternative to make |
The Docker route needs only Docker and Composer on the host, because make build installs the PHP
and Node dependencies inside the containers. The manual route in
docs/installation.md needs everything in the table.
Quickstart
- Install Docker with Compose v2.
-
Create the project:
-
Create the environment file and start the stack:
- Open http://yii2-starter-kit.localhost. If your system
does not resolve
*.localhost, add the four host names to/etc/hostsas described in the installation guide.
The same stack answers on http://backend.yii2-starter-kit.localhost for the backend, on http://api.yii2-starter-kit.localhost for the API and its Swagger UI, and on http://localhost:8025 for Mailpit.
make is the maintained entry point. Run make help to list every target, and make install to
put the Composer and npm packages on the host as well, which you need for IDE autocompletion and
for make test-local. If you use another runner, the taskctl pipelines (taskctl install,
taskctl start) and the Composer scripts (composer run-script docker:build) do the same work.
Documentation
Guides
- Installation
- Configuration
- Components
- Console commands
- Testing
- FAQ
Project
- Contributing
- Development workflow
- Changelog
- Upgrading from 4.x
- Security policy
Features
Backend
- AdminLTE 3 dashboard theme
- Content management: articles, categories, static pages, menus, carousels and text blocks
- Settings editor backed by the key-value storage component
- File manager and file storage
- Users and RBAC management
- Events timeline
- Log viewer and system information
- Translation manager
Development
- Docker stack with PHP, nginx, MySQL 8.4, Mailpit and Node
.envconfiguration- Webpack asset build
- REST API module with a Swagger UI
- Queue component (yiisoft/yii2-queue)
- Command bus with queued and asynchronous tasks (trntv/yii2-command-bus)
- Key-value storage, file uploads and on-demand thumbnails (yii-starter-kit/yii2-glide)
- Sitemap generator
- Extended IDE autocompletion
- Codeception suites for the
api,backend,common,consoleandfrontendapplications
Internationalisation
- Shipped locales:
es,fr,hu,id,pl,pt-BR,ru,uk,viandzh, plus English - Language switcher and locale detection from the browser
- Backend translation manager
Users
- Sign in, sign up, and profile editing with avatar, locale and personal data
- Optional activation by email
- OAuth sign in
- RBAC with the predefined
guest,user,managerandadministratorroles - RBAC migrations
Widgets and behaviours
- WYSIWYG Redactor widget, date and time picker, Ace editor and Xhprof debug panel
GlobalAccessBehaviorandCacheInvalidateBehavior- Maintenance mode support (details)
Default accounts
The seed migration creates three accounts, one per role. The credentials and the role each one holds are listed in docs/installation.md. Change them before deploying.
Contributing
Contributions of every kind are welcome, documentation included. CONTRIBUTING.md covers local setup and the checks a pull request has to pass. docs/development-workflow.md explains branches, Conventional Commits and the release flow.
Questions
Open an issue or write to [email protected], the current maintainer.
Licence
Released under the BSD-3-Clause licence. See LICENSE.md.
See also
Stand with Ukraine 🇺🇦
This starter kit began as the work of Yevhen Terentiev, who is Ukrainian. In March 2022, days after Russia launched its full-scale invasion, he added the note quoted below. The project keeps that position: the war is a crime, and staying silent about it is not neutrality. Companies, organisations and individuals who profit from the war, or who look away while it happens, are not welcome to use this package.
Everyone else is welcome here, and there are concrete ways to help:
- UNITED24: the official Ukrainian platform for defence, medical, humanitarian and rebuilding projects.
- Ukrainian Red Cross: humanitarian aid for civilians inside Ukraine.
- Razom for Ukraine: a US non-profit funding medical and civil defence supplies, with tax-deductible donations.
Sharing verified reporting about war crimes, and asking your representatives to support Ukraine, costs nothing and matters just as much. Thank you for taking the time.
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! Русский военный корабль, иди нах#й!
All versions of yii2-starter-kit with dependencies
ext-intl Version *
ext-gd Version *
yiisoft/yii2 Version ^2.0.13
yiisoft/yii2-swiftmailer Version ^2.0.0
yiisoft/yii2-authclient Version ^2.0.0
yiisoft/yii2-bootstrap4 Version ^2.0
yiisoft/yii2-jui Version ^2.0.0
yiisoft/yii2-debug Version ^2.0.0
yii2-starter-kit/yii2-file-kit Version ^2.1.0
asofter/yii2-imperavi-redactor Version >=0.0.3@dev
trntv/yii2-aceeditor Version ^2.0
trntv/probe Version ^1.0
trntv/yii2-glide Version ^1.2
trntv/yii2-datetime-widget Version dev-master@dev
trntv/cheatsheet Version ^0.1@dev
trntv/yii2-command-bus Version ^3.0
intervention/image Version ^2.1
vlucas/phpdotenv Version ^2.0
almasaeed2010/adminlte Version ^3.0
npm-asset/font-awesome Version ^5.0
npm-asset/html5shiv Version ^3.0
npm-asset/jquery-slimscroll Version ^1.3
npm-asset/flot Version ^3.2
symfony/process Version ^4.0
guzzlehttp/guzzle Version ^6.0
alexantr/yii2-elfinder Version ^1.3
trntv/sitemaped Version ^0.1
yii2mod/yii2-swagger Version ^1.1
rmrevin/yii2-fontawesome Version ^3.4
kartik-v/yii2-widgets Version ^3.4