GithubHelp home page GithubHelp logo

allphptricks / laravel-10-rest-api-sanctum-authentication Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 73 KB

Laravel 10 REST API using Sanctum Authentication

Home Page: https://www.allphptricks.com/laravel-10-rest-api-using-sanctum-authentication/

PHP 74.37% JavaScript 0.25% Blade 25.37%
laravel laravel-api laravel-api-access-token laravel-api-auth laravel-api-authentication laravel-api-resource laravel-rest-api laravel-rest-api-best-example laravel-rest-api-example laravel-sanctum

laravel-10-rest-api-sanctum-authentication's Introduction

Laravel 10 REST API using Sanctum Authentication

Learn how to develop Laravel 10 REST API using Sanctum authentication application

The complete step by step guide is available on my blog. AllPHPTricks Laravel 10 Sanctum API authentication

Blog

https://www.allphptricks.com/

Installation

Make sure that you have setup the environment properly. You will need minimum PHP 8.1, MySQL/MariaDB, and composer.

  1. Download the project (or clone using GIT)
  2. Copy .env.example into .env and configure your database credentials
  3. Go to the project's root directory using terminal window/command prompt
  4. Run composer install
  5. Set the application key by running php artisan key:generate --ansi
  6. Run migrations php artisan migrate
  7. Start local server by executing php artisan serve

laravel-10-rest-api-sanctum-authentication's People

Contributors

allphptricks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.