> For the complete documentation index, see [llms.txt](https://oviniciusfeitosa.gitbook.io/knowledge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oviniciusfeitosa.gitbook.io/knowledge/technology/programming/programming-languages/php/laravel.md).

# Laravel

## Topics

* [**Jet Stream**](/knowledge/technology/programming/programming-languages/php/laravel/jet-stream.md)
* [**Know Issues**](/knowledge/technology/programming/programming-languages/php/laravel/known-issues-1.md)
* [**Sail**](/knowledge/technology/programming/programming-languages/php/laravel/sail.md)
* [**Sanctum**](/knowledge/technology/programming/programming-languages/php/laravel/sanctum.md)
* [**Valet**](/knowledge/technology/programming/programming-languages/php/laravel/valet.md)

## Laravel 8

### Create a simple app

```
curl -s https://laravel.build/my-simple-app | bash
cd my-simple-app
./vendor/bin/sail up
```

### Create a simple app using Composer

```
composer create-project laravel/laravel my-simple-app
cd my-simple-app
php artisan serve
```

### Create a simple app using t**he Laravel Installer**

You may install the Laravel Installer as a global Composer dependency:

```
composer global require laravel/installer
laravel new my-simple-app
php artisan serve
```

{% hint style="info" %}
Make sure to place Composer's system-wide vendor bin directory in your `$PATH` so the `laravel` executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:

* macOS: `$HOME/.composer/vendor/bin`
* Windows: `%USERPROFILE%\AppData\Roaming\Composer\vendor\bin`
* GNU / Linux Distributions: `$HOME/.config/composer/vendor/bin` or `$HOME/.composer/vendor/bin`
  {% endhint %}

## Recommended

* [**Laracasts**](https://laracasts.com)
* **Packages**
  * [**Laravel Modules**](https://github.com/nWidart/laravel-modules)
* [**Laravel Robust**](https://github.com/sfelix-martins/laravel-robust)
* [**Laravel guard vs middleware**](https://www.xspdf.com/resolution/51019724.html#:~:text=Laravel%20guard%20vs%20middleware,Guards.\&text=my%20API%E2%80%8B.-,Middleware%20is%20to%20protect%20routes%20e.g.%20check%20role,user%20is%20admin%20or%20not.)
