Skip to content

iamraccoon/Yii2-Brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2Brainfuck

Convert your message to brainfuck code

Installation

The preferred way to install this extension is through composer.

Either run

composer require iamraccoon/brainfuck

or add

"iamraccoon/brainfuck": "dev-master"

to the require section of your composer.json file.

Basic configuration:

    'components' => [
        'brainfuck' => [
            'class' => '\iamraccoon\brainfuck\BrainFuck',
        ]
    ]

Some examples:

$brainFuck = Yii::$app->brainfuck;
echo $brainFuck->build('fuck');