|
6 | 6 | </p> |
7 | 7 |
|
8 | 8 | <p align="center"> |
9 | | - <a href="docker-compose.roadrunner.yml" target="_blank"> |
| 9 | + <a href="https://github.com/roadrunner-server/roadrunner" target="_blank"> |
10 | 10 | <img src="https://img.shields.io/badge/roadrunner-%23FF6B35.svg?label=stack&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJMMjIgMTJMMTIgMjJMMiAxMkwxMiAyWiIgZmlsbD0iI0ZGNkIzNSIvPgo8cGF0aCBkPSJNMTIgNkwxOCAxMkwxMiAxOEw2IDEyTDEyIDZaIiBmaWxsPSIjRkZGRkZGIi8+CjxwYXRoIGQ9Ik0xMiA5TDE1IDEyTDEyIDE1TDkgMTJMMTIgOVoiIGZpbGw9IiNGRjZCMzUiLz4KPC9zdmc+&logoColor=white" alt="roadrunner-badge"> |
11 | 11 | </a> |
12 | 12 | <a href="https://www.php.net/releases/8.1/en.php" target="_blank"> |
@@ -41,7 +41,6 @@ A modern, Bootstrap 5-powered Yii2 application template designed for rapid web-a |
41 | 41 | - ✅ **Console Commands** - Example console commands for background tasks and maintenance. |
42 | 42 | - ✅ **Developer Tools** - Debugging tools, logging, and development-friendly configurations. |
43 | 43 | - ✅ **Modern Bootstrap 5 UI** - Responsive, mobile-first design with latest Bootstrap components. |
44 | | -- ✅ **SSL Support** - Configured for secure HTTPS connections with SSL (mkcert). |
45 | 44 | - ✅ **Testing Ready** - Codeception test suite with examples for functional and unit testing. |
46 | 45 |
|
47 | 46 | ## Quick start |
@@ -69,18 +68,22 @@ The Yii2 Web Application Basic template provides a complete foundation for build |
69 | 68 | **Quick start** |
70 | 69 |
|
71 | 70 | ```bash |
72 | | -composer create-project --prefer-dist --stability=dev yii2-extensions/app-basic myapp |
73 | | -cd myapp |
| 71 | +composer create-project --prefer-dist --stability=dev yii2-extensions/app-basic:dev-road-runner app-basic |
| 72 | +cd app-basic |
74 | 73 | ``` |
75 | 74 |
|
76 | 75 | **Start development server** |
77 | 76 |
|
| 77 | +Download and install [RoadRunner](https://docs.roadrunner.dev/docs/general/install) first. |
| 78 | + |
78 | 79 | ```bash |
79 | | -# Using built-in PHP server |
80 | | -php -S localhost:8080 -t web |
| 80 | +./vendor/bin/rr get-binary |
| 81 | +``` |
81 | 82 |
|
82 | | -# Or using Yii console command |
83 | | -./yii serve |
| 83 | +Run the server in daemon mode. |
| 84 | + |
| 85 | +```bash |
| 86 | +./rr serve -d |
84 | 87 | ``` |
85 | 88 |
|
86 | 89 | ### Basic usage |
@@ -119,7 +122,7 @@ namespace app\usecase\site; |
119 | 122 |
|
120 | 123 | use yii\web\Controller; |
121 | 124 |
|
122 | | -class SiteController extends Controller |
| 125 | +final class SiteController extends Controller |
123 | 126 | { |
124 | 127 | public function actionIndex(): string |
125 | 128 | { |
|
0 commit comments