Get your next remote job on LaraJobs.

Page 2

PHP's str_replace() made simple PHP's str_replace() made simple

Manipulate strings in PHP using the extremely useful str_replace() function.

Modified on Sep 19, 2023

PHP
Enums in PHP: a guide to safer coding Enums in PHP: a guide to safer coding

Let's step up your code with a safer way of coding using PHP's Enumerations, or Enums. With this guide, you'll know everything there is to know about them.

Modified on Jul 8, 2023

PHP
PHP for Mac: get started fast using Laravel Valet PHP for Mac: get started fast using Laravel Valet

Use your Mac as an ideal PHP environment thanks to the power of Laravel Valet. You can finally say goodbye to Docker!

Modified on Aug 12, 2023

console.log() in PHP console.log() in PHP

Explore the world of PHP debugging with var_dump(), and Laravel's friendlier alternatives, dump() and dd(). Much charm, such useful!

Modified on Sep 6, 2023

PHP
Is PHP dead? Usage statistics and market share for 2023. Is PHP dead? Usage statistics and market share for 2023.

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.

Modified on Sep 19, 2023

PHP
PHP try & catch: what are exceptions and how to handle them? PHP try & catch: what are exceptions and how to handle them?

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

Modified on Nov 23, 2022

PHP
Is PHP dead? Usage statistics and market share for 2022. Is PHP dead? Usage statistics and market share for 2022.

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.

Modified on Jun 18, 2023

PHP
Use PHP to leverage OpenAI's API and GPT effortlessly Use PHP to leverage OpenAI's API and GPT effortlessly

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

Modified on Nov 7, 2023

PHP 8.3 is out, now! Here's what's new and changed. PHP 8.3 is out, now! Here's what's new and changed.

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.

Modified on Nov 23, 2023

PHP
The fastest way to check if your PHP array is empty The fastest way to check if your PHP array is empty

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.

Modified on Nov 2, 2023 Audio available

PHP
Methods with the same name as their class will not be constructors in a future version of PHP Methods with the same name as their class will not be constructors in a future version of 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.

Modified on Nov 23, 2022

PHP
Here's the fix to "using $this when not in object context." Here's the fix to "using $this when not in object context."

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

Modified on Dec 14, 2022

PHP
Print an array with PHP (+ Laravel) Print an array with PHP (+ Laravel)

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

Modified on Jun 24, 2023

Fix "Invalid argument supplied for foreach" in PHP & Laravel Fix "Invalid argument supplied for foreach" in PHP & Laravel

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

Modified on Nov 23, 2022

The best PHP blogs to read in 2023 The best PHP blogs to read in 2023

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.

Modified on Oct 7, 2023

PHP

Gold sponsors New

  • Wire Elements
    Beautiful handcrafted Livewire components.
    Check site
Your business here

Partners

If you buy from one of my partners below, I will be compensated at no cost to you. These are services I use or used, and 100% stand behind.

  • Scalable and reliable VPS hosting.
    Bonus: $200 of free credits
    Check site
  • The Google Analytics alternative without compromise.
    Free trial: 30 days
    Bonus: $10 off your first invoice
    Check site
  • Flare
    Track PHP and JavaScript errors in one place.
    Free trial: 10 days
    Check site
  • Keep track of your Google rankings.
    Free trial: 7 days
    Promo code: WELCOME30
    Check site
- / -