Back to templates
Laravel Starter
Get started wtih Laravel and Wasmer
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
inbootstrap/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.