A simple Chrome extension to iframe a PHP console. This package utilizes Spaties Laravel Web Tinker package, and iframes it in the devtools panel, making it accessible from anywhere in the panel.
- Download and unzip this project.
- Navigate to
chrome://extensions/
in your browser. - Enable "Developer mode" in the top right corner (if not already enabled).
- Click "Load unpacked" and select the
php-ext
folder. - Within any Laravel project, install the Spatie Laravel Web Tinker package:
composer require spatie/laravel-web-tinker
Now, you'll see a PHP tab in the console. Click on this to open PHP console and run your Laravel/PHP code.