PHPackages                             cst/yii-illuminate - 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. cst/yii-illuminate

AbandonedArchivedLibrary[Framework](/categories/framework)

cst/yii-illuminate
==================

A bridge to Laravel awesomeness

1.0.2(9y ago)16571proprietaryPHPPHP &gt;= 5.5.6

Since May 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/crowdsourcedtesting/yii-illuminate)[ Packagist](https://packagist.org/packages/cst/yii-illuminate)[ RSS](/packages/cst-yii-illuminate/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (10)Versions (3)Used By (0)

This package makes easy the integration with some [Laravel components](https://github.com/illuminate)

Requirements
------------

[](#requirements)

The following versions of PHP are supported.

- PHP 5.6
- HHVM (not tested)

Installation
------------

[](#installation)

You can install the package using the Composer package manager. You can install it by running this command in your project root:

```
composer require cst/yii-illuminate

```

Components
----------

[](#components)

### Migrate command

[](#migrate-command)

Supercharges Yii `MigrateCommand` with all the functionality of the [Laravel Schema Builder](http://laravel.com/docs/5.1/migrations)

Add the following block to your config file:

```
'commandMap'=> [
    'migrate'=> [
        'class' => '\CST\Yii\Illuminate\Console\MigrateCommand',
        'migrationTable' => 'yii_migrations',
        'connectionID' => 'db',
    ],
],

```

### Queues

[](#queues)

Queues allow you to defer the processing of a time consuming task, such as sending an e-mail, until a later time, thus drastically speeding up the web requests to your application.

**RedisQueue**

Add the following block to your config file:

```
'queue' => [
    'class' => '\CST\Yii\Illuminate\Queue\RedisQueue',
    'encryptionKey' => '',
    'config' => [
        'cluster' => false,
        'default' => [
            'host'     => '',
            'port'     => 6379,
            'database' => 0,
        ],
    ]
],

```

**Configuring queue command**

Add the following block to your config file:

```
'commandMap'=> [
    ...,
    'queue'=> [
        'class' => '\CST\Yii\Illuminate\Console\QueueCommand',
    ],
],

```

Queuing jobs:

```
Yii::app()->queue->push(new SendEmail($message));
```

or

```
use CST\Yii\Illuminate\Queue\DispatchesJobs;

$this->dispatch(new SendEmail($message));
```

Helper Functions
----------------

[](#helper-functions)

##### app(string $component = null)

[](#appstring-component--null)

Get the Yii App instance. It's a shortcut for *Yii::app()*. You can also pass the component name to get the instance.

```
app('clientScript')->registerScriptFile(...);
```

##### t(string $category, string $message, array $params = \[\], string $source = null, string $language = null)

[](#tstring-category-string-message-array-params---string-source--null-string-language--null)

*Yii::t()* shortcut for translating messages.

```
t('Project', 'Save changes');
```

##### view(string $path, array $data, bool $return)

[](#viewstring-path-array-data-bool-return)

Renders evaluated view contents for the given view. Replaces the typical *$this-&gt;render(...)*

```
view('user/view', ['user' => $user]);
```

##### viewPartial(string $path, array $data, bool $return)

[](#viewpartialstring-path-array-data-bool-return)

Renders evaluated view contents for the given view and it does not apply a layout to the rendered result. Replaces the typical *$this-&gt;renderPartial(...)*

```
viewPartial('user/pic', ['user' => $user]);
```

##### request(string $key, $default = null)

[](#requeststring-key-default--null)

Get an instance of the current request or an input item from the request.

```
$modelId = request('id')
```

##### asset(string $path)

[](#assetstring-path)

Generate an asset path for the application theme.

```
asset('js/main.js');
asset('images/logo.png');
```

##### url(string $path, array $parameters, bool $secure)

[](#urlstring-path-array-parameters-bool-secure)

Generate a url for the application.

```
url('project/view', ['id' => 1]);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.8% 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 ~152 days

Total

2

Last Release

3551d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5242c4fe463ecde48116a7b033562d3ad6718c97fedeb66d996ad22ec2b32def?d=identicon)[cyakimov](/maintainers/cyakimov)

---

Top Contributors

[![cyakimov](https://avatars.githubusercontent.com/u/232124?v=4)](https://github.com/cyakimov "cyakimov (21 commits)")[![kirov117](https://avatars.githubusercontent.com/u/12052619?v=4)](https://github.com/kirov117 "kirov117 (5 commits)")

### Embed Badge

![Health badge](/badges/cst-yii-illuminate/health.svg)

```
[![Health](https://phpackages.com/badges/cst-yii-illuminate/health.svg)](https://phpackages.com/packages/cst-yii-illuminate)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M122](/packages/laravel-pulse)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M122](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[laravel/ai

The official AI SDK for Laravel.

9782.1M162](/packages/laravel-ai)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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