Laravel is a web application framework with expressive, elegant syntax. We created this sample/basic/shallow repository to test and showcase some of the hotest features of Laravel in its 9th major release.
- Install the dependencies (you will need Docker installed in your machine, PHP is not necessary on your host):
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
laravelsail/php81-composer:latest \
composer install --ignore-platform-reqs
- Spin up the container:
./vendor/bin/sail up -d
- Copy the
.env.example
file and generate an encryption key:
sail composer run-script post-root-package-install
sail composer run-script post-create-project-cmd
- Run the tests:
sail artisan test --coverage --min=85
Feel free to sneak around and open PRs to demonstrate some more new features 😁.
The Laravel framework and this repository are open-sourced projects licensed under the MIT license.