More Premium Hugo Themes Premium Vue Themes

Laravel Web Tinker

Tinker in your browser

Laravel Web Tinker

Tinker in your browser

Author Avatar Theme by spatie
Github Stars Github Stars: 1187
Last Commit Last Commit: Feb 17, 2025 -
First Commit Created: Aug 27, 2024 -
default image

Overview

Artisan Tinker in your browser is a package that allows you to tinker with your Laravel application in the browser, providing a convenient alternative to using the terminal. The package adds a route to your application where you can freely experiment and test code snippets.

Features

  • Web Tinker Light: A light mode for comfortable browsing.
  • Web Tinker Dark: A dark mode option for users who prefer it.
  • Custom Output Modifiers: Ability to modify the output of tinker by specifying an output modifier.

Installation

To install the package via composer, run the following command:

composer require spatie/laravel-web-tinker

After installation, publish the assets from the package by executing:

php artisan vendor:publish --tag=laravel-web-tinker-assets

Optionally, publish the config file of the package with:

php artisan vendor:publish --tag=laravel-web-tinker-config

Summary

Artisan Tinker in your browser is a handy package that enhances the Laravel development experience by allowing users to tinker with their application directly in the browser. With features like light and dark modes, custom output modifiers, and a warning against using it in production environments for security reasons, this package provides developers with a convenient tool for testing and experimenting with code snippets.