mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
566 B
566 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Consider using helpers instead of facades. They can clean things up | 1272826446717870081 | laravel-clean-code-tactics | samuelstancl |
|
2021-04-06T16:07:35+00:00 | consider-using-helpers-instead-of-facades-they-can-clean-things-up |
This is largely a matter of personal preference, but calling a global function instead of having to import a class and statically call a method feels nicer to me.
Bonus points for session('key') syntax.