---
title: "Discussion on \"Read my api.php top to bottom and you already know the permission model: three route tiers, no surprises\" | Hashnode"
description: "Discussion on \"Read my api.php top to bottom and you already know the permission model: three route tiers, no surprises\". Open routes/api.php in a new project and you can usually tell within a minute whether the author thought about permissions or just bolted them on later. The giveaway is scattering: an auth middleware"
url: "https://hashnode.com/posts/read-my-api-php-top-to-bottom-and-you-already-know-the-permission-model-three-route-tiers-no-surprises/6ae427847a929ceb52e5b252"
---

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

Discussion

# [Read my api.php top to bottom and you already know the permission model: three route tiers, no surprises](https://kamrankhandev.hashnode.dev/read-my-api-php-top-to-bottom-and-you-already-know-the-permission-model-three-route-tiers-no-surprises?utm_source=hashnode&utm_medium=feed)

Open routes/api.php in a new project and you can usually tell within a minute whether the author thought about permissions or just bolted them on later. The giveaway is scattering: an auth middleware

Oct 30 · 3 min read · kamrankhandev.hashnode.dev  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#php](https://hashnode.com/tag/php)
-   [#api](https://hashnode.com/tag/api)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#saas](https://hashnode.com/tag/saas)

## Written by

[Kamran Khan](https://hashnode.com/@kamrankhandev)

@kamrankhandev · Lahore, Pakistan

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

Full-Stack Web Developer (React.js + Laravel) | Dashboards, SaaS Apps & Management Systems for Global Clients

Full-Stack Web Developer working with React.js and Laravel. I build dashboards, SaaS applications, and business management systems for clients worldwide. I write about real patterns from client work — API design, React architecture, and indie hacking.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
