2017 © Pedro Peláez
 

yii2-extension yii2-codebuffer

CodeBuffer - description

image

galonskiy/yii2-codebuffer

CodeBuffer - description

  • Monday, March 19, 2018
  • by Galonskiy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 81 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CodeBuffer

This extension for Yii framework 2.0., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

composer require galonskiy/yii2-codebuffer "*"

or add, (*4)

"galonskiy/yii2-codebuffer": "*"

to the require section of your composer.json file., (*5)

Before you can go on you need to create those tables in the database.:, (*6)

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

Usage as component

Once the extension is installed, simply paste it in your config by:, (*7)

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

and use it in your code by:, (*8)

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

Usage as class

use it in your code by:, (*9)

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

The Versions

19/03 2018

dev-develop

dev-develop

CodeBuffer - description

  Sources   Download

BSD-3-Clause

The Requires

 

by Galonskiy Artem

extension yii2

18/03 2018

dev-master

9999999-dev

CodeBuffer - description

  Sources   Download

BSD-3-Clause

The Requires

 

by Galonskiy Artem

extension yii2

18/03 2018

0.0.1

0.0.1.0

CodeBuffer - description

  Sources   Download

BSD-3-Clause

The Requires

 

by Galonskiy Artem

extension yii2