Recent posts with #Laravel

Thinking about to bring back the Laravel Meetups here where I live,
which tips do you guys give me? Like get a good location, find Devs to talk about Laravel, sponsorships maybe?
#Laravel #meetup #PHP #Community

50

image
𝗛𝗲𝘆! 😀 𝗧𝗼𝗱𝗮𝘆 𝗜'𝗺 𝗽𝗼𝘀𝘁𝗶𝗻𝗴 𝗺𝘆 𝟭𝘀𝘁 𝗰𝗼𝗱𝗲 𝘁𝗶𝗽 𝗳𝗼𝗿 𝗟𝗮𝗿𝗮𝘃𝗲𝗹𝗶𝗮𝗻𝘀 ❤️

I hope that you'll enjoy it 🥳 & don't forget to follow me for more tips & tricks in the future 😉

Look how easy it is to make file-based cache's in Laravel.

𝟭. 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗛𝗮𝗽𝗽𝗲𝗻𝗶𝗻𝗴?

𝗖𝗮𝗰𝗵𝗲::𝗿𝗲𝗺𝗲𝗺𝗯𝗲𝗿(): Method is used to store and retrieve data efficiently in hashtag#Laravel.

𝗰𝗮𝗰𝗵𝗲𝗡𝗮𝗺𝗲: If a cache with this key "cacheName" exists, the cached data is returned. If not, the callback function runs, fetches all users, stores it in the cache, and returns it.

𝗻𝗼𝘄()->𝗮𝗱𝗱𝗗𝗮𝘆(): sets the cache expiration to 24 hours from the current time.

𝟯. 𝗨𝘀𝗲 𝗖𝗮𝘀𝗲

This approach helps optimize database queries by reducing repetitive calls, improving your App's speed & performance.

2

60

#Laravel friends, I need your help! I'm on a tight deadline and running into a weird issue where queued jobs are running even when the workers are stopped AND it's logging OLD exception verbiage instead of new. Details:

gist.github.com/chrispian/ea62ba268fbc790ef357a4f463d4f1cd



I'm stuck and if you have a minute to read that gist and have any ideas I could really use some help.

5

260