PHPackages                             firegate666/yii-web-setup - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. firegate666/yii-web-setup

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

firegate666/yii-web-setup
=========================

Yii web setup base for your project including vagrant box and xhprof debug panel

1.0.3(10y ago)1233Apache-2.0PHP

Since Oct 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/firegate666/yii-web-setup)[ Packagist](https://packagist.org/packages/firegate666/yii-web-setup)[ Docs](https://github.com/firegate666/SimpleDaemon)[ RSS](/packages/firegate666-yii-web-setup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Yii Web Setup
=============

[](#yii-web-setup)

Introduction
------------

[](#introduction)

This is my template on a clean web setup for a Yii project. This includes having the document root and its public files separated from the protected files and setting up Yii with composer for your project.

Configuration
-------------

[](#configuration)

You also have the possibility to setup defaults configs for your project in

```
protected/config/main.php
protected/config/console.php
protected/config/test.php

```

And let your clients override some of the parameters in

```
protected/config/main.local.php
protected/config/console.local.php
protected/config/test.local.php

```

Feel free to post your opinion on this approach and let us create a re-usable template/setup for us Yii developers.

Maybe there are also some more dependencies or modules you suggest having by default? Let me know.

How to use this?
----------------

[](#how-to-use-this)

- Create your project from this template `composer create-project firegate666/yii-web-setup`
- Adjust package meta information in composer.json
- That's it, now you are ready to develop your project.
- use git as versioning tool

If your project has different need on dependencies, delete composer.lock, adjust composer.json to your needs and run composer again to install your dependencies.

Development setup
-----------------

[](#development-setup)

This project is shipped with a vagrant box example setup that you can use to start developing.

- On your development machine install [Virtualbox](https://www.virtualbox.org/) and [Vagrant](https://www.vagrantup.com/).
- enter vagrant folder
- type vagrant up

It will setup everything you need to start developing. After vagrant is done, open

```
http://192.168.56.5/

```

and you will see the default yii installation. This box has xhprof pre-installed and bundled with Yii. If you want to take a look at this cool profiler, open

```
protected/config/main.local.php

```

and comment in the configuration. Now you will have a debug panel on each page with a link to the profiler result.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3866d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2696fa691b52b3f52b657bc27c49a3324828796155638a7f3603cd9557f9a186?d=identicon)[firegate666](/maintainers/firegate666)

---

Top Contributors

[![firegate666](https://avatars.githubusercontent.com/u/1197926?v=4)](https://github.com/firegate666 "firegate666 (33 commits)")

### Embed Badge

![Health badge](/badges/firegate666-yii-web-setup/health.svg)

```
[![Health](https://phpackages.com/badges/firegate666-yii-web-setup/health.svg)](https://phpackages.com/packages/firegate666-yii-web-setup)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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