---
title: "Discussion on \"Generate Factory and Connect With Model\" | Hashnode"
description: "Discussion on \"Generate Factory and Connect With Model\". php artisan make:factory LeadFactory --model=Lead"
url: "https://hashnode.com/posts/generate-factory-and-connect-with-model/63cc13122d68b47c4fc1c407"
---

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

Discussion

# [Generate Factory and Connect With Model](https://blog.nafiur.com/generate-factory-and-connect-with-model?utm_source=hashnode&utm_medium=feed)

php artisan make:factory LeadFactory --model=Lead

Jan 21, 2023 · 1 min read · blog.nafiur.com  
Read the article

-   [#model](https://hashnode.com/tag/model)

## Written by

[Nafiur Rahman](https://hashnode.com/@nafiur)

@nafiur

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
