1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Week 20/2022

This commit is contained in:
Samuel Štancl 2022-05-22 13:50:08 +02:00
parent 23979938b4
commit 99fc7428d1
5 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,15 @@
---
title: 'Consider creating helpers for model factories'
tweet_id: '1527688619753779200'
thread_slug: weekly-thread-2022-20
author_username: archtechx
images:
- 'https://pbs.twimg.com/media/FTL7hJEVIAAkVsa.jpg'
created_at: 2022-05-20T16:32:04+00:00
slug: consider-creating-helpers-for-model-factories
---
If your app has only a few models, consider creating helper functions for model factories
Helpers have perfect IDE support and can make your tests a lot cleaner
Pairs especially well with @pestphp 💅