PHPackages                             raducorp/rii2-app-advanced - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. raducorp/rii2-app-advanced

ActiveProject[Framework](/categories/framework)

raducorp/rii2-app-advanced
==========================

Yii/Rii 2 Advanced Project Template

01[1 issues](https://github.com/raduionita/rii2-app-advanced/issues)PHP

Since Dec 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/raduionita/rii2-app-advanced)[ Packagist](https://packagist.org/packages/raducorp/rii2-app-advanced)[ RSS](/packages/raducorp-rii2-app-advanced/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii/Rii 2 App Advanced Template
===============================

[](#yiirii-2-app-advanced-template)

### Install

[](#install)

```
$ composer global require "fxp/composer-asset-plugin:^1.2.0"

$ composer install

```

### Console

[](#console)

```
$ ./riic console/test/test # The useless command!

```

### URLs

[](#urls)

```
http://hostname/                        # -> frontend (web)
http://hostname/login                   # -> frontend (web)
http://hostname/admin                   # -> backend (web)
http://hostname/api/v1/users            # -> restapi/users/1 (rest)
http://hostname/api/v1/users/1/products # -> restapi/products # (rest sub-resources)

```

### TODO

[](#todo)

- WIP: Find a way to link sub-resources: get products belonging to user:1
- REST API module version sub-folders `restapi/v1/` `restapi/v2.2/`
- Improve configs
- A better form widget `common\component\FormWidget`
- Login using a 2 step process(username step &amp; password step) see `AuthController.php`
- Cache warmer!?
- Need a better Module class: that autoloads its config file.
- Remove `console` from `./riic console/test/test`

### NGINX

[](#nginx)

```
server {
    charset utf-8;
    client_max_body_size 128M;
    sendfile off;

    listen 80; ## listen for ipv4
    #listen [::]:80 default_server ipv6only=on; ## listen for ipv6

    server_name rii2.app.advanced;
    root        /var/www/rii2.app.advanced/web/; # all folders require +x rights
    index       app.php;

    access_log  /var/log/access.rii2.app.advanced.log;
    error_log   /var/log/error.rii2.app.advanced.log;

    location / {
        # Redirect everything that isn't a real file to app.php
        try_files $uri $uri/ /app.php$is_args$args;
    }

    # uncomment to avoid processing of calls to non-existing static files by Yii
    location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
        try_files $uri =404;
    }
    error_page 404 /404.html;

    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_pass  127.0.0.1:9000; # @see cgi.fix_pathinfo=0 in php.ini
        try_files $uri =404;
    }

    location ~ /\.(ht|svn|git) {
        deny all;
    }
}

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2952286?v=4)[Radu Ionita](/maintainers/raduionita)[@raduionita](https://github.com/raduionita)

---

Top Contributors

[![raduionita](https://avatars.githubusercontent.com/u/2952286?v=4)](https://github.com/raduionita "raduionita (19 commits)")

### Embed Badge

![Health badge](/badges/raducorp-rii2-app-advanced/health.svg)

```
[![Health](https://phpackages.com/badges/raducorp-rii2-app-advanced/health.svg)](https://phpackages.com/packages/raducorp-rii2-app-advanced)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
