laravel-peachpie-sample
laravel-peachpie-sample copied to clipboard
Laravel SDK for PeachPie 
This project fetches the latest Laravel and compiles it (with some patches) for PeachPie.
Project Structure
app: Main project file for the WebServer. Runs AspNetCore.Laravel: Laravel with all its dependenciesLaravel.AspNetCore: AspNetCore extensions for LaravelLaravel.ComposerDummy: Dummy project for composer to override some already compiled dependenciesLaravel.Sdk: Classes for Laravel <-> C# communication.Laravel.Tests: PHPUnit tests for Laravelwebsite: All the website-specific files, this would be your root folder in a Laravel project
What does it do?
The code currently contains two run paths. App and Laravel.Tests.
Starting app would run a full webserver just like a regular Asp.Net project. The Webserver redirects all requests to the code in website.
Starting Laravel.Tests would run PHPUnit testing, these tests are the standard tests from the laravel repository.
Prerequisites
- .NET Core 2.0 or newer
- Optionally - Visual Studio Code
How to run the project
dotnet run appdotnet run Laravel.Tests