Open in app

Sign In

Write

Sign In

Kodeas
Kodeas

41 Followers

Home

About

Jun 27, 2021

🚀 Using Vite with Inertia — Laravel, Vue & Tailwind

We’ve been using Laravel-Mix for years and it’s been doing pretty good. However, recently we decided to build a project using Inertia.js (which was an awesome decision). As the project started to grow, the development became a pain to wait for the webpack compiling. Then, we decided to give Vite…

Laravel

3 min read

Using Vite with Inertia — Laravel, Vue & Tailwind
Using Vite with Inertia — Laravel, Vue & Tailwind
Laravel

3 min read


Mar 13, 2021

🔥 Retry All Failed Jobs in Laravel Horizon

Laravel Horizon is a fantastic tool, which I use in all my projects for my queues. If you are using Horizon, I’m sure you’ve noticed that there are 2 separate places for the failed jobs: in database `failed_jobs_table` and and in Redis. …

Laravel

2 min read

🔥 Programatically retrying failed jobs in Horizon
🔥 Programatically retrying failed jobs in Horizon
Laravel

2 min read


Oct 8, 2020

🔥Query +100k records inside whereIn() — Laravel

If you are tinkering with a big data (say are trying to export a huge CSV), you may end up needing to query +100k ids in a whereIn(). And if you try it to use +100k ids in a whereIn(), you’ll see a MySQL error “General error: 1390 Prepared statement…

Laravel

1 min read

🔥Query +100k records in whereIn() — Laravel
🔥Query +100k records in whereIn() — Laravel
Laravel

1 min read


Jun 30, 2020

🔥 Easily Handle Laravel Errors within Ajax

There are bunch of ways you receive Laravel errors in front-end and inside your ajax request, you need to parse and display the errors nicely. Inside blade, it’s pretty easy to handle and display errors but inside javascript? In my projects, I realised a pattern that I was repeating myself…

Laravel

2 min read

🔥 Easily Handle Laravel Errors within Ajax
🔥 Easily Handle Laravel Errors within Ajax
Laravel

2 min read


Jun 23, 2020

🔥 Bulk Update Multiple Records with Separate Data — Laravel

As a rule of thumb, we should never run database queries inside a for-loop! “Database transaction” is an expensive operation. For example, let’s say we designed an inventory software and it’s being used in production for a year, and reached 1,000,000 transactions. Suddenly, we learnt that we didn’t add the…

Laravel Framework

3 min read

🔥 Bulk Update Multiple Records with Separate Data — Laravel
🔥 Bulk Update Multiple Records with Separate Data — Laravel
Laravel Framework

3 min read


Jun 21, 2020

🔥 Flash Messages with Sweetalert— Laravel

When a user took an action, we all love to show them a success message or error message. I actually like to use sweet-alert as it looks professional. Wouldn’t it be cool if we could simply write in our controllers: $this->flashSuccess("Task was successful!"); $this->flashError("Task failed!"); …don’t actually need to do…

Laravel

2 min read

🔥  Flash Messages with Sweetalert— Laravel
🔥  Flash Messages with Sweetalert— Laravel
Laravel

2 min read

Kodeas

Kodeas

41 Followers

Laravel & Vue Enthusiast

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Ulas Can Cengiz

    Ulas Can Cengiz

  • Monovon #6996

    Monovon #6996

  • Ahmet Enginsoy

    Ahmet Enginsoy

  • Povilas Korop

    Povilas Korop

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech