Artisan command to prune stale jobs in Laravel 8.x
June 29, 2021 — In Laravel, when your queued jobs fail after a job has exceeded the number of attempts, it will be inserted into the failed_jobs
database table (if you have set it up).
A blog on PHP, JavaScript, and more
June 29, 2021 — In Laravel, when your queued jobs fail after a job has exceeded the number of attempts, it will be inserted into the failed_jobs
database table (if you have set it up).
June 23, 2021 — Typically, when you send notifications from your Laravel app, the notifications would be attached to the users of your application in most of the scenarios.
June 18, 2021 — When you’re working with numbers in your code, they sometimes become hard to comprehend. For instance, in cases where numbers are too large in terms of length. Take the following for example.
June 15, 2021 — The latest major version of React.js, 18, is around the corner and it will include out-of-the-box improvements (like automatic batching), new APIs (like startTransition), and a new streaming server renderer with built-in support for React.lazy
.
June 15, 2021 — When you work with classes with constructors in TypeScript, the usual way to declare the field variables is like following.
June 9, 2021 — The other day, I was looking for a way to add a custom “Install” button in my Notepad app which is essentially a Progressive Web App (PWA).
June 7, 2021 — If you have been working with Laravel lately, you might have used this feature called “conditional clauses” using which you will be able to run a certain callback when a condition becomes true
.
May 31, 2021 — Wouldn’t it be useful if you could define a certain action that should be performed every time your Blade templates encounter objects of a specific class?
May 25, 2021 — Laravel has this cool feature using which you can put your website in maintenance mode. To do so, all you will need to do is run the following command.