PHPackages                             galonskiy/yii2-codebuffer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. galonskiy/yii2-codebuffer

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

galonskiy/yii2-codebuffer
=========================

CodeBuffer - description

0.0.1(8y ago)081BSD-3-ClausePHPPHP &gt;=7.1.0

Since Mar 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/galonskiy/yii2-codebuffer)[ Packagist](https://packagist.org/packages/galonskiy/yii2-codebuffer)[ RSS](/packages/galonskiy-yii2-codebuffer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

CodeBuffer
==========

[](#codebuffer)

This extension for Yii framework 2.0.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require galonskiy/yii2-codebuffer "*"

```

or add

```
"galonskiy/yii2-codebuffer": "*"

```

to the require section of your `composer.json` file.

Before you can go on you need to create those tables in the database.:

```
php yii migrate --migrationPath=@vendor/galonskiy/yii2-codebuffer/migrations

```

Usage as component
------------------

[](#usage-as-component)

Once the extension is installed, simply paste it in your config by:

```
...
'components' => [
    ...
    'codebuffer' => [
        'class' => '\galonskiy\codebuffer\CodeBuffer'
    ]
    ...
]
...
```

and use it in your code by:

```
...
Yii::$app->codebuffer->generate('XXX', 'XXX');
...
```

Usage as class
--------------

[](#usage-as-class)

use it in your code by:

```
...
(new \galonskiy\codebuffer\CodeBuffer)->generate('XXX', 'XXX');
...
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2975d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4fa36aa5b5ba1c4536afb8e8f376144044b301b704c6c2822fba52103975c70?d=identicon)[Galonskiy](/maintainers/Galonskiy)

---

Top Contributors

[![galonskiy](https://avatars.githubusercontent.com/u/16762595?v=4)](https://github.com/galonskiy "galonskiy (10 commits)")

---

Tags

phpyii2yii2-extensionyii2extension

### Embed Badge

![Health badge](/badges/galonskiy-yii2-codebuffer/health.svg)

```
[![Health](https://phpackages.com/badges/galonskiy-yii2-codebuffer/health.svg)](https://phpackages.com/packages/galonskiy-yii2-codebuffer)
```

###  Alternatives

[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7859.0k](/packages/vyants-yii2-daemon)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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