Configure Psysh for magento 2.x.
Whilst I was developing in Laravel I used the tinker command:    php artisan tinker        Enter...
Tags: php, magento, tutorial