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

2021-01 to 2022-01

This commit is contained in:
lukinovec 2022-01-07 18:37:55 +01:00
parent 54106ee7d8
commit f17995357c
14 changed files with 29 additions and 29 deletions

View file

@ -1,7 +1,7 @@
---
title: 'Compare models using is() instead of directly comparing attributes'
tweet_id: '1479467936700010504'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: archtechx
images:
- 'https://pbs.twimg.com/media/FHJNmt3VEAIYtCy.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'Custom collections pair well with higher order proxies'
tweet_id: '1479467951753285637'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: archtechx
images:
- 'https://pbs.twimg.com/media/FIa84E5VUAAQsL1.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'From PHP 7.4, you can use the spread syntax to merge arrays'
tweet_id: '1479467945822588931'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: bhaidar
images:
- 'https://pbs.twimg.com/media/FIDdCQvVEAMsK3l.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'Number markdown lists with `1.` rather than the actual number'
tweet_id: '1479467929888440329'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: frankdejonge
images:
- 'https://pbs.twimg.com/media/FHNHLM8X0AA6sqs.png'

View file

@ -1,7 +1,7 @@
---
title: 'PHP 8.1 enums can be used as model casts'
tweet_id: '1479467948985126913'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: ryangjchandler
images:
- 'https://pbs.twimg.com/media/FIRla1cX0AUpxGS.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'Use `composer why-not` to see why a dependency cannot be installed'
tweet_id: '1479467931159334915'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: freekmurze
images:
- 'https://pbs.twimg.com/media/FHFSeQyXMAk3JFi.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'Use partitions for deleting mass amounts of data'
tweet_id: '1479467943276670979'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: tobias_petry
images:
- 'https://pbs.twimg.com/media/FIQQcQSXwAk2rDy.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'Use skip() when writing tests ahead of time'
tweet_id: '1479467933705195521'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: bhaidar
images:
- 'https://pbs.twimg.com/media/FHNHgg4VgAAFSzE.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'Use the `SOUNDEX()` function in MySQL to compare strings by how they *sound* rather than how they''re typed'
tweet_id: '1479467947634556930'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: justsanjit
images:
- 'https://pbs.twimg.com/media/FHuueNxWUAMLdAP.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'You can supply default values for route parameters'
tweet_id: '1479467942039285762'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: ryangjchandler
images:
- 'https://pbs.twimg.com/media/FIWa8DxXMAIW7Tz.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'You can use Blade::stringable() to define how specific objects should be converted to their string representation'
tweet_id: '1479467939191345152'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: Philo01
images:
- 'https://pbs.twimg.com/media/FHn41aBXsAAUyar.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'You can use first class callables for routes in PHP 8.1'
tweet_id: '1479467932379799552'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: archtechx
images:
- 'https://pbs.twimg.com/media/FHNP2kIVUAIqiCH.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'You can use generic class-string annotations to hint that an instance of the passed class is returned'
tweet_id: '1479467944581033986'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: freekmurze
images:
- 'https://pbs.twimg.com/media/FIN1v4NWUAARbol.jpg'

View file

@ -1,7 +1,7 @@
---
title: 'You can use `onerror` on the image tag'
tweet_id: '1479467940726468609'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: JuanDMeGon
images:
- 'https://pbs.twimg.com/media/FIWjvXSWUAYjM-j.jpg'