Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theadnan/yiinker

A REPL for Yii framework inspired by Laravel's Artisan Tinker
https://github.com/theadnan/yiinker

php php-repl php7 psysh repl tinker yii yii-console

Last synced: about 1 month ago
JSON representation

A REPL for Yii framework inspired by Laravel's Artisan Tinker

Awesome Lists containing this project

README

        

## Yiinker

*A REPL for the Yii framework inspired by [Laravel]'s Artisan Tinker.*

### Installation and usage

In the `protected` folder, add this to your composer.json file (if there isn't one, create an empty composer.json):

```json
{
"require": {
"psy/psysh": "0.7.* || 0.8.*"
}
}
```

Or simply run this command `composer require psy/psysh:@stable`.
Next, add the `src/YiinkerCommand.php` file to `protected/commands` folder.

Alternatively, you can run the `install.sh` script in your `protected` folder to do this job for you.

You can now run it in your terminal with:

`php yiic yiinker`

### License

This package is licensed under the [MIT license].

[Laravel]: https://laravel.com
[MIT license]: LICENSE