Tinkerwell 4 is out now! Get the most popular PHP Scratchpad application. Tinkerwell 4 is out now: Get the most popular PHP Scratchpad with Detail Dive, AI code generation and more. Learn more
No, right now Laravel Playground only allows you to work with a basic Laravel application, as well as a number of pre-installed packages, such as the Laravel Debugbar or Livewire.
The default Laravel user table is always migrated in your playgrounds and contains a user that you can use.
The users credentials are:
ID: 1
Email: [email protected]
Password: secret
Every Playground comes with a built-in SQLite database that you can use and write data to. Due to the way that Laravel Playground is built, there is no guarantee that persisted data will always be available between HTTP requests, unless it gets created at runtime. The best way to ensure that your database gets populated at runtime is by using the LaravelPlayground::loaded
callback.
LaravelPlayground::loaded(function() {
// Create your database models in here
});
Speed up your workflow with Windy – the browser extension that transforms any HTML element into a Tailwind CSS component.
Learn more