💡 How to integrate 3rd parties into your application?
We must integrate with many 3rd party APIs and SDKs in every project. You can treat them as mini-applications inside your app.
🧵Keep Reading
🔥 Most applications need to export and import large amounts of data.
It is very easy to:
- Waste lots of memory
- Perform hundreds or thousands of unnecessary DB queries
You can avoid them by learning some pretty simple techniques.
🧵 Keep Reading
this package will save you if you need to export a large amount of data
it exports 10,000 rows in 3 seconds using less than 3MB of memory
the best when it comes to performance
meet rap2hpoutre/fast-excel
I have to say, FrankenPHP is absolutely brilliant 🔥
@dunglas did an amazing job with this 🚀
My latest article is out on the @sevalla_hosting blog now 🎉
https://t.co/SRZZeTNBkx
If you attended @LaraconUS, you already know this, but:
I'm currently wrapping up the last three videos of my upcoming course, which is all about how I built the incredible development team at @TightenCo.
The course will be free (!!), hosted on @laracasts, and out this autumn!
✨ New query builder method in Laravel 12.21
There's a new `whereValueBetween()` method to check if a value is between two columns using the query builder:
GIVEAWAY TIME! 🎉
I'm giving away a copy of The Web Dev's Guide to Freelancing
I'll ship it to anywhere in the world! 🌎
To enter, you just need to retweet and like this post.
I'll announce the winner next week on Tuesday 6th May 😁
Laravel Tip 💡: Reusable Pipelines
Pipelines allow you to split a large task into smaller, more manageable ones. Sometimes, you may want to use the same pipeline in different places, and it turns out Laravel allows you to define reusable pipelines out of the box 🚀
#laravel
Hey Laravel Developers 👩💻
Let's look at a simple but precious tip for the architecture of your codebase.
The tip is building and calling functions/methods dynamically.
Sometimes we have to call functions based on certain logical conditions, but we can avoid the conditionals and call these functions dynamically if we can represent the function's name in a string.
For example, in the below code snippet, we are calling different discount methods by forming the function name dynamically and then making a call to it.
#laravel #php
Laravel Tip 💡: Email Command Failures Automatically
Did you know that Laravel ships with the "emailOutputOnFailure" method which automatically sends the output of a failed command to your email? 🚀
#laravel