Back to templates

Laravel Starter

Get started wtih Laravel and Wasmer
Get started wtih Laravel and Wasmer
Depends on
Use cases

This is a Laravel project bootstrapped with composer create-project laravel/laravel laravel-wasmer-example (with some minor adaptations for Wasmer).

Getting Started

First, install the dependencies:

composer install

You can run the development server:

php artisan serve

You can run the Laravel example using Wasmer (check out the install guide):

wasmer run . --net

[!IMPORTANT] You may need to replace the absolute path of the current dir $PWD with /app in bootstrap/cache/config.php: sed 's|'$PWD'|/app|g' bootstrap/cache/config.php > bootstrap/cache/config.php.

Open with your browser to see your Laravel app.