---
title: "Discussion on \"How to simply expose an endpoint with API Key in Laravel\" | Hashnode"
description: "Discussion on \"How to simply expose an endpoint with API Key in Laravel\". We all need, sooner or later, to expose an endpoint quickly and with the greatest possible security. Laravel provides advanced methods to manage authentication, whether username/password or API token.\nBut here we are talking about an agile method tha..."
url: "https://hashnode.com/posts/how-to-simply-expose-an-endpoint-with-api-key-in-laravel/64ebb8ce45113ca4653655d3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to simply expose an endpoint with API Key in Laravel](https://tonyjoe.dev/how-to-simply-expose-an-endpoint-with-api-key-in-laravel?utm_source=hashnode&utm_medium=feed)

We all need, sooner or later, to expose an endpoint quickly and with the greatest possible security. Laravel provides advanced methods to manage authentication, whether username/password or API token. But here we are talking about an agile method tha...

Aug 27, 2023 · 3 min read · tonyjoe.dev  
Updated Dec 1, 2024  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#laraveltutorials](https://hashnode.com/tag/laraveltutorials)
-   [#apis](https://hashnode.com/tag/apis)
-   [#apikey](https://hashnode.com/tag/apikey)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Tony Joe](https://hashnode.com/@tonyjoe)

@tonyjoe · Italy

  
[View profile](https://hashnode.com/@tonyjoe)

Clean code lover and therefore lover of Laravel.

Senior Dev. Clean code lover and therefore lover of Laravel . Best friend of deep work &amp; focusing . Interested in critical thinking, self improvement, personal finance and rock'🤟'roll! 📍 I’m curious. I read a lot, listen, study, analyze. But I can’t stand fanaticism: I don’t like chasing after the last-minute framework all the time.

## Responses 1

Markdown supported · ⌘↵ to post

[Mohamed Gamal](https://hashnode.com/@MohamedG15)

[May 11, 2024](https://hashnode.com/posts/how-to-simply-expose-an-endpoint-with-api-key-in-laravel/64ebb8ce45113ca4653655d3/comment/663ebbb83c4f1d97721f0438)

very helpful tutorial thanks a lot
