home.social

Search

7 results for “backpackforlaravel”

  1. The trade-off matters👇

    What would you use for sending email to a large list of subscribers.. ?

  2. Need to process millions of rows?

    gives you 3 options:

    `get()` → 1 query, but loads everything into memory 💥

    `chunk(500)` → multiple queries, 500 records per batch 📦

    `cursor()` → streams records one-by-one with very low memory usage 🚶

    If you're simply processing each record independently, `cursor()` is often the cleanest choice:

  3. Need to process millions of rows?

    #Laravel gives you 3 options:

    `get()` → 1 query, but loads everything into memory 💥

    `chunk(500)` → multiple queries, 500 records per batch 📦

    `cursor()` → streams records one-by-one with very low memory usage 🚶

    If you're simply processing each record independently, `cursor()` is often the cleanest choice:

  4. Need to send a #Laravel notification to someone who doesn't have a user account in your database?

    Skip the model entirely. 🎯

    Use Notification::route() to send it directly to their email:

  5. Tip

    🔐 Need to store sensitive attributes securely?

    Laravel's attribute casting can handle it for you automatically behind the scenes:

  6. #Laravel Tip

    🔐 Need to store sensitive attributes securely?

    Laravel's attribute casting can handle it for you automatically behind the scenes:

  7. #Laravel Tip

    🔐 Need to store sensitive attributes securely?

    Laravel's attribute casting can handle it for you automatically behind the scenes: