Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/theadnan/yiinker
- Owner: TheAdnan
- License: mit
- Created: 2017-10-23T12:32:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-15T13:34:44.000Z (about 7 years ago)
- Last Synced: 2024-10-24T15:40:36.496Z (3 months ago)
- Topics: php, php-repl, php7, psysh, repl, tinker, yii, yii-console
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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