Skip to content

Commit

Permalink
docs: Laravel example [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Sep 28, 2023
1 parent 69416cc commit ce55f42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ containing [PHP 8.2](https://www.php.net/releases/8.2/en.php) and most popular P

* [Symfony](https://github.com/dunglas/symfony-docker)
* [API Platform](https://api-platform.com/docs/distribution/)
* [Laravel](docs/laravel.md)
* [Sulu](https://sulu.io/blog/running-sulu-with-frankenphp)
* [WordPress](https://github.com/dunglas/frankenphp-wordpress)
* [Drupal](https://github.com/dunglas/frankenphp-drupal)
11 changes: 11 additions & 0 deletions docs/laravel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Laravel

Serving a [Laravel](https://laravel.com) web application with FrankenPHP is as easy as mounting the project in the `/app` directory of the official Docker image.

Run this command from the main directory of your Laravel app:

```console
docker run -p 443:443 -v $PWD:/app dunglas/frankenphp
```

And enjoy!

0 comments on commit ce55f42

Please sign in to comment.