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:
parent
54106ee7d8
commit
f17995357c
14 changed files with 29 additions and 29 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Compare models using is() instead of directly comparing attributes'
|
title: 'Compare models using is() instead of directly comparing attributes'
|
||||||
tweet_id: '1479467936700010504'
|
tweet_id: '1479467936700010504'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: archtechx
|
author_username: archtechx
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FHJNmt3VEAIYtCy.jpg'
|
- 'https://pbs.twimg.com/media/FHJNmt3VEAIYtCy.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Custom collections pair well with higher order proxies'
|
title: 'Custom collections pair well with higher order proxies'
|
||||||
tweet_id: '1479467951753285637'
|
tweet_id: '1479467951753285637'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: archtechx
|
author_username: archtechx
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FIa84E5VUAAQsL1.jpg'
|
- 'https://pbs.twimg.com/media/FIa84E5VUAAQsL1.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'From PHP 7.4, you can use the spread syntax to merge arrays'
|
title: 'From PHP 7.4, you can use the spread syntax to merge arrays'
|
||||||
tweet_id: '1479467945822588931'
|
tweet_id: '1479467945822588931'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: bhaidar
|
author_username: bhaidar
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FIDdCQvVEAMsK3l.jpg'
|
- 'https://pbs.twimg.com/media/FIDdCQvVEAMsK3l.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Number markdown lists with `1.` rather than the actual number'
|
title: 'Number markdown lists with `1.` rather than the actual number'
|
||||||
tweet_id: '1479467929888440329'
|
tweet_id: '1479467929888440329'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: frankdejonge
|
author_username: frankdejonge
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FHNHLM8X0AA6sqs.png'
|
- 'https://pbs.twimg.com/media/FHNHLM8X0AA6sqs.png'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'PHP 8.1 enums can be used as model casts'
|
title: 'PHP 8.1 enums can be used as model casts'
|
||||||
tweet_id: '1479467948985126913'
|
tweet_id: '1479467948985126913'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: ryangjchandler
|
author_username: ryangjchandler
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FIRla1cX0AUpxGS.jpg'
|
- 'https://pbs.twimg.com/media/FIRla1cX0AUpxGS.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Use `composer why-not` to see why a dependency cannot be installed'
|
title: 'Use `composer why-not` to see why a dependency cannot be installed'
|
||||||
tweet_id: '1479467931159334915'
|
tweet_id: '1479467931159334915'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: freekmurze
|
author_username: freekmurze
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FHFSeQyXMAk3JFi.jpg'
|
- 'https://pbs.twimg.com/media/FHFSeQyXMAk3JFi.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Use partitions for deleting mass amounts of data'
|
title: 'Use partitions for deleting mass amounts of data'
|
||||||
tweet_id: '1479467943276670979'
|
tweet_id: '1479467943276670979'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: tobias_petry
|
author_username: tobias_petry
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FIQQcQSXwAk2rDy.jpg'
|
- 'https://pbs.twimg.com/media/FIQQcQSXwAk2rDy.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Use skip() when writing tests ahead of time'
|
title: 'Use skip() when writing tests ahead of time'
|
||||||
tweet_id: '1479467933705195521'
|
tweet_id: '1479467933705195521'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: bhaidar
|
author_username: bhaidar
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FHNHgg4VgAAFSzE.jpg'
|
- 'https://pbs.twimg.com/media/FHNHgg4VgAAFSzE.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'Use the `SOUNDEX()` function in MySQL to compare strings by how they *sound* rather than how they''re typed'
|
title: 'Use the `SOUNDEX()` function in MySQL to compare strings by how they *sound* rather than how they''re typed'
|
||||||
tweet_id: '1479467947634556930'
|
tweet_id: '1479467947634556930'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: justsanjit
|
author_username: justsanjit
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FHuueNxWUAMLdAP.jpg'
|
- 'https://pbs.twimg.com/media/FHuueNxWUAMLdAP.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'You can supply default values for route parameters'
|
title: 'You can supply default values for route parameters'
|
||||||
tweet_id: '1479467942039285762'
|
tweet_id: '1479467942039285762'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: ryangjchandler
|
author_username: ryangjchandler
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FIWa8DxXMAIW7Tz.jpg'
|
- 'https://pbs.twimg.com/media/FIWa8DxXMAIW7Tz.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'You can use Blade::stringable() to define how specific objects should be converted to their string representation'
|
title: 'You can use Blade::stringable() to define how specific objects should be converted to their string representation'
|
||||||
tweet_id: '1479467939191345152'
|
tweet_id: '1479467939191345152'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: Philo01
|
author_username: Philo01
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FHn41aBXsAAUyar.jpg'
|
- 'https://pbs.twimg.com/media/FHn41aBXsAAUyar.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'You can use first class callables for routes in PHP 8.1'
|
title: 'You can use first class callables for routes in PHP 8.1'
|
||||||
tweet_id: '1479467932379799552'
|
tweet_id: '1479467932379799552'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: archtechx
|
author_username: archtechx
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FHNP2kIVUAIqiCH.jpg'
|
- 'https://pbs.twimg.com/media/FHNP2kIVUAIqiCH.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'You can use generic class-string annotations to hint that an instance of the passed class is returned'
|
title: 'You can use generic class-string annotations to hint that an instance of the passed class is returned'
|
||||||
tweet_id: '1479467944581033986'
|
tweet_id: '1479467944581033986'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: freekmurze
|
author_username: freekmurze
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FIN1v4NWUAARbol.jpg'
|
- 'https://pbs.twimg.com/media/FIN1v4NWUAARbol.jpg'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 'You can use `onerror` on the image tag'
|
title: 'You can use `onerror` on the image tag'
|
||||||
tweet_id: '1479467940726468609'
|
tweet_id: '1479467940726468609'
|
||||||
thread_slug: weekly-thread-2021-01
|
thread_slug: weekly-thread-2022-01
|
||||||
author_username: JuanDMeGon
|
author_username: JuanDMeGon
|
||||||
images:
|
images:
|
||||||
- 'https://pbs.twimg.com/media/FIWjvXSWUAYjM-j.jpg'
|
- 'https://pbs.twimg.com/media/FIWjvXSWUAYjM-j.jpg'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue