---
title: "Discussion on \"Understanding php artisan make: controller PostController --resource --model=Post in Laravel\" | Hashnode"
description: "Discussion on \"Understanding php artisan make: controller PostController --resource --model=Post in Laravel\". Learn how to quickly generate a Laravel resource controller linked to a model using php artisan make:controller --resource --model=Post.This guide explains"
url: "https://hashnode.com/posts/understanding-php-artisan-make-controller-postcontroller-resource-modelpost-in-laravel/687e16efb965506a53bbb800"
---

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

Discussion

# [Understanding php artisan make: controller PostController --resource --model=Post in Laravel](https://gloryope.hashnode.dev/understanding-php-artisan-make-controller-postcontroller-resource-modelpost-in-laravel?utm_source=hashnode&utm_medium=feed)

Learn how to quickly generate a Laravel resource controller linked to a model using php artisan make:controller --resource --model=Post.This guide explains

Jul 21, 2025 · 2 min read · gloryope.hashnode.dev  
Read the article

-   [#artisan](https://hashnode.com/tag/artisan)
-   [#php](https://hashnode.com/tag/php)
-   [#laravel12](https://hashnode.com/tag/laravel12)
-   [#controllers](https://hashnode.com/tag/controllers)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#logic](https://hashnode.com/tag/logic)
-   [#mvc](https://hashnode.com/tag/mvc)

## Written by

[Glory Opeoluwa](https://hashnode.com/@gloryope)

@gloryope

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

Software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
