/
Posts

Page 6

Laravel interview questions and answers for 2024
Laravel

Nailing a Laravel job interview can be a daunting task, but with the right preparation and mindset, you can set yourself up for success.

Feb 13, 2024
0 comments
0 minutes
Soft delete models in Laravel: the definitive guide
Laravel

A soft delete in Laravel allows you to prevent mistakes by not removing sensitive data from your database right away.

Dec 21, 2023
0 comments
0 minutes
PHP try & catch: what are exceptions and how to handle them?
PHP

Take your code to the next level, thanks to exceptions. Handle errors in a more graceful way within try and catch blocks.

Nov 23, 2022
0 comments
0 minutes
Laravel Forge: price, review, how-to and alternatives (2024)
Laravel
Tools
Web Hosting

Choose a cloud hosting provider for Laravel Forge and deploy your next Laravel project quickly and without any DevOps cost.

Jan 21, 2024
0 comments
0 minutes
15 Laravel Collections tips to refactor your codebase
Laravel

Laravel Collections make arrays more powerful and convenient to work with. This article provides tons of quick tips to instantly make your codebase better.

Dec 28, 2023
0 comments
0 minutes
20+ Laravel best practices, tips and tricks to use in 2024
Laravel

Learning a framework can be overwhelming, but time and execution will make you a master. Here are some best practices to help you toward your goal.

Aug 29, 2024
0 comments
0 minutes
Is PHP dead? Usage statistics and market share for 2022.
PHP

Whether PHP is dead is a matter of numbers, not opinions. I will provide you with essential statistics that will lead you to make better decisions.

Jun 18, 2023
0 comments
0 minutes
Use PHP to leverage OpenAI's API and GPT effortlessly
PHP
GPT
Artificial Intelligence

Improve your projects by leveraging the power of GPT, the famous language model, using PHP and OpenAI’s REST API.

Nov 7, 2023
2 comments
0 minutes
SEO case study (2022-2023): +10K clicks in 6 months
SEO

Here’s a case study for my blog in the programming niche, where I share everything I did to increase clicks by a huge amount since the beginning.

Jul 8, 2023
0 comments
0 minutes
PHP 8.3 is out, now! Here's what's new and changed.
PHP

PHP 8.3 was released on November 23, 2023, and as usual, you need to be up to date with new features and breaking changes for easier transitions.

Jan 1, 2024
1 comment
0 minutes
The fastest way to check if your PHP array is empty
PHP

There are multiple ways to check if an array is empty. Let me tell you about each of them and why and when you should use them.

Nov 2, 2023
0 comments
0 minutes
Methods with the same name as their class will not be constructors in a future version of PHP
PHP

Learn why and how to fix “Methods with the same name as their class will not be constructors in a future version of PHP” warnings.

Nov 23, 2022
2 comments
0 minutes
Print an array with PHP (+ Laravel)
PHP
Laravel

Debugging requires dissecting everything. Here’s a list of all the one-line built-in ways to print arrays in PHP (and even Laravel-specific helpers).

Jun 24, 2023
0 comments
0 minutes
Here's the fix to "using $this when not in object context."
PHP

Learn why the “Using $this when not in object context” error happens, and let me show you the only way to fix.

Dec 14, 2022
0 comments
0 minutes
Fix "Invalid argument supplied for foreach" in PHP & Laravel
PHP
Laravel

Learn why the “Invalid argument supplied for foreach()” warning happens, and let me show you multiple ways to fix it.

Nov 23, 2022
0 comments
0 minutes
The best PHP blogs to read in 2024
PHP

To keep getting better with PHP, you should subscribe to as many quality blogs as possible. In this article, I share the ones I often read myself.

Jan 21, 2024
1 comment
0 minutes
Laravel 10 is out! Here are every new features and changes.
Laravel

Laravel 10 has been released on February 14, 2023. Let’s dive into every relevant new features and changes.

Nov 2, 2023
0 comments
0 minutes
Laravel migrations: a simplified and step by step guide
Laravel

Migrations are essential in any Laravel app using a database. I will tell you what they are, why you should use them and how you can generate them.

Feb 2, 2024
0 comments
0 minutes
How to clear Laravel's cache in a nutshell
Laravel

When in doubt, clear the cache. In this article, you’ll learn about how to clear every cache Laravel uses.

Dec 8, 2023
1 comment
0 minutes
6 ways to check which Laravel version you are running
Laravel

Knowing which Laravel version you are running is important before you start writing code on a new project. There are multiple ways to do so.

Mar 23, 2024
0 comments
0 minutes