This is a Laravel project bootstrapped with composer create-project laravel/laravel laravel-wasmer-example
(with some minor adaptations for Wasmer).
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 http://127.0.0.1:8000 with your browser to see your Laravel app.