sanctum

(β˜… 2,977)

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.

  • .editorconfig
  • .gitattributes
  • .gitignore
  • .styleci.yml
  • CHANGELOG.md
  • composer.json
  • LICENSE.md
  • phpstan.neon.dist
  • phpunit.xml.dist
  • README.md
  • testbench.yaml
  • UPGRADE.md

# Installation Guide

1. Get the code
git clone https://github.com/laravel/sanctum

Downloads the entire project code from GitHub to your computer.

cd sanctum

Moves into the project folder you just downloaded.

2. PHP (Composer)

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • PHP A PHP runtime is required.
  • Composer The package manager used to install PHP libraries.
composer install

Installs the PHP libraries listed in composer.json.

βœ… Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
// repository documentation