Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,29 @@ A simple Chrome extension to iframe a PHP console. This package utilizes [Spatie
2. Navigate to `chrome://extensions/` in your browser.
3. Enable "Developer mode" in the top right corner (if not already enabled).
4. Click "Load unpacked" and select the `php-ext` folder.
5. Within any Laravel project, install the Spatie Laravel Web Tinker package: `composer require spatie/laravel-web-tinker`

## Laravel Package Installation

In your Laravel project:

1. Install the Spatie Laravel Web Tinker package:
```bash
composer require spatie/laravel-web-tinker
```

2. Publish the Web Tinker assets:
```bash
php artisan vendor:publish --provider="Spatie\WebTinker\WebTinkerServiceProvider" --tag="web-tinker-assets"
```

3. Compile the assets (if using Laravel Mix):
```bash
npm install && npm run dev
```

## Troubleshooting

If you encounter an error like `Mix manifest not found at: /path/to/public/vendor/web-tinker/mix-manifest.json`, make sure you've completed steps 2 and 3 of the Laravel package installation.

## Run Tinker in DevTools

Expand Down