Skip to content

elaniin/laravel-9

Repository files navigation

Laravel 9 Showcase

Tests Static Analysis MIT License PHPStan Enabled

👀 About Laravel

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.

📦 Installation

  1. 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
  1. Spin up the container:
./vendor/bin/sail up -d
  1. 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
  1. Run the tests:
sail artisan test --coverage --min=85

Feel free to sneak around and open PRs to demonstrate some more new features 😁.

📄 License

The Laravel framework and this repository are open-sourced projects licensed under the MIT license.