Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Bug #146: Remove `yiisoft/yii2-symfonymailer` dependency from `composer.json` (@terabytesoftw)
- Bug #149: Update PHPStan annotations and add container configuration file (@terabytesoftw)
- Bug #150: Add container configuration to `console` app setup (@terabytesoftw)
- Bug #156: Update `README.md` with new Packagist badges and improve structure (@terabytesoftw)

## 0.1.0 August 31, 2025

Expand Down
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<p align="center">
<a href="https://github.com/yii2-extensions/localeurls" target="_blank">
<a href="https://github.com/yii2-extensions/app-basic" target="_blank">
<img src="https://www.yiiframework.com/image/yii_logo_light.svg" alt="Yii Framework">
</a>
<h1 align="center">Web Application Basic</h1>
</p>

<p align="center">
<a href="https://packagist.org/packages/yii2-extensions/app-basic" target="_blank">
<img src="https://img.shields.io/packagist/v/yii2-extensions/app-basic.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Stable" alt="Latest Stable Version">
</a>
<a href="https://www.php.net/releases/8.1/en.php" target="_blank">
<img src="https://img.shields.io/badge/%3E%3D8.1-777BB4.svg?style=for-the-badge&logo=php&logoColor=white" alt="PHP version">
</a>
Expand Down Expand Up @@ -42,13 +45,12 @@ A modern, Bootstrap 5-powered Yii2 application template designed for rapid web-a

## Available stacks

[![FrankenPHP Worker](https://img.shields.io/badge/frankenphp-blue?style=for-the-badge&label=worker&logo=php&logoColor=white)](https://github.com/yii2-extensions/app-basic/tree/franken-php)
[![RoadRunner Worker](https://img.shields.io/badge/road%20runner-%23FF6B35.svg?style=for-the-badge&label=worker&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJMMjIgMTJMMTIgMjJMMiAxMkwxMiAyWiIgZmlsbD0iI0ZGNkIzNSIvPgo8cGF0aCBkPSJNMTIgNkwxOCAxMkwxMiAxOEw2IDEyTDEyIDZaIiBmaWxsPSIjRkZGRkZGIi8+CjxwYXRoIGQ9Ik0xMiA5TDE1IDEyTDEyIDE1TDkgMTJMMTIgOVoiIGZpbGw9IiNGRjZCMzUiLz4KPC9zdmc+&logoColor=white)](https://github.com/yii2-extensions/app-basic/tree/road-runner)

For setup instructions, see README in each branch.

## Quick start

### How it works
## How it works

The Yii2 Web Application Basic template provides a complete foundation for building modern web applications. Unlike starting from scratch, this template includes.

Expand All @@ -57,7 +59,7 @@ The Yii2 Web Application Basic template provides a complete foundation for build
3. **Security features** including CSRF protection and input validation.
4. **Development tools** for debugging, logging, and testing.

#### Why use this template
**Why use this template**

- **Rapid development**: Start building features immediately without setup overhead.
- **Best practices**: Follow Yii2 conventions and modern web development standards.
Expand All @@ -68,17 +70,14 @@ The Yii2 Web Application Basic template provides a complete foundation for build

### Installation

[![Latest Stable Version](https://img.shields.io/packagist/v/yii2-extensions/app-basic.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Stable)](https://packagist.org/packages/yii2-extensions/app-basic)
[![Total Downloads](https://img.shields.io/packagist/dt/yii2-extensions/app-basic.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Downloads)](https://packagist.org/packages/yii2-extensions/app-basic)

**Quick start**

```bash
composer create-project --prefer-dist yii2-extensions/app-basic app-basic:^0.1
composer create-project --prefer-dist yii2-extensions/app-basic:^0.1 app-basic
cd app-basic
```

**Start development server**
### Quick start

Start development server

```bash
# Using built-in PHP server
Expand All @@ -88,6 +87,8 @@ php -S localhost:8080 -t web
./yii serve
```

> Your application will be available at `http://localhost:8080` or at the address set in `--address` option.

### Basic usage

#### Directory structure
Expand Down Expand Up @@ -146,6 +147,7 @@ final class SiteController extends Controller
```
## Quality code

[![Total Downloads](https://img.shields.io/packagist/dt/yii2-extensions/app-basic.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Downloads)](https://packagist.org/packages/yii2-extensions/app-basic)
[![Codecov](https://img.shields.io/codecov/c/github/yii2-extensions/app-basic.svg?branch=main&style=for-the-badge&logo=codecov&logoColor=white&label=Coverage)](https://codecov.io/github/yii2-extensions/app-basic)
[![PHPStan Level Max](https://img.shields.io/badge/PHPStan-Level%20Max-4F5D95.svg?style=for-the-badge&logo=php&logoColor=white)](https://github.com/yii2-extensions/app-basic/actions/workflows/static.yml)
[![StyleCI](https://img.shields.io/badge/StyleCI-Passed-44CC11.svg?style=for-the-badge&logo=styleci&logoColor=white)](https://github.styleci.io/repos/165419144?branch=main)
Expand Down