PHP News

Discover the latest PHP development news, repositories, and conferences at Hackertab.

Latest PHP articles

Exploring Eloquent Model Pros and Cons in Laravel

Exploring Eloquent Model Pros and Cons in Laravel

Exploring Eloquent Model Pros and Cons in Laravel Photo by Cookie the Pom on Unsplash Introduction Eloquent ORM (Object-Relational Mapping) is a powerful feature in the Laravel PHP framework that allows developers to interact with databases using an object-oriented syntax. Eloquent provides an elegant and intuitive interface for performing database operations, making it a popular choice among Laravel developers. However, like any tool, Eloquent has its…...

March 27, 2023medium

The Great Rewrite: How to Upgrade Your Codebase for the Modern Age

The Great Rewrite: How to Upgrade Your Codebase for the Modern Age

Introduction Legacy code can be a significant roadblock to a company's growth and innovation. The use of outdated technologies can lead to security vulnerabilities, performance issues, and difficulty in finding experienced developers to maintain and ...

March 27, 2023hashnode

How to run Laravel application and connect other services (MySql) using Docker.

How to run Laravel application and connect other services (MySql) using Docker.

Now Imagine your colleagues may want to run your Laravel app on their local machine, they will be required to install all PHP/Laravel dependencies and extensions in their local. Now, this is where Docker comes in, using Docker, it’ll be much easier f...

March 27, 2023hashnode

What is Override And Extensions

What is Override And Extensions

In object-oriented programming, overriding and extensions are common concepts that allow developers...

March 24, 2023devto

FOR loops in PHP

FOR loops in PHP

FOR loops in PHP for loops in PHP In this article, we will go into more details in the for loop, but basically, they all behave the same. I will also through in some tricks and tips and what to be careful of when using loops. Loops in PHP are used to execute a block of code a…...

March 24, 2023medium

Building a Basic Router with PHP: A Step-by-Step Guide for Web Developers

Building a Basic Router with PHP: A Step-by-Step Guide for Web Developers

Building a Basic Router with PHP: A Step-by-Step Guide for Web Developers When building a website or web application, having a router is essential for directing user requests to the appropriate pages or endpoints. While many router libraries and frameworks are available for PHP, creating your own basic router can be a great way to understand how routing works (at least for…...

March 27, 2023medium

Engi-Proverbs: The Bigger the Interface, The Weaker the Abstraction

Engi-Proverbs: The Bigger the Interface, The Weaker the Abstraction

Engi-Proverbs is a series where I summarize some lessons and principles I've learned over my career by using a memorable and simple saying of wisdom. In previous articles, we have been talking a bit about abstractions: specifically, how to design go...

March 22, 2023hashnode

Trending repositories

nextcloud/server

☁️ Nextcloud server, a safe home for all your data

21,865 stars3,435 forks

rectorphp/rector

Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

6,927 stars620 forks

nextcloud/all-in-one

Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.

1,583 stars246 forks

ambionics/phpggc

PHPGGC is a library of PHP unserialize() payloads along with a tool to generate them, from command line or programmatically.

2,617 stars437 forks

pimcore/pimcore

Open Source Data & Experience Management Platform (PIM, MDM, CDP, DAM, DXP/CMS & Digital Commerce)

2,778 stars1,271 forks

Upcoming conferences

PHP fwdays

April 22Online

AFUP Day

May 12Lyon

DrupalCamp

May 13 - 14Wroclaw

php[tek]

May 16 - 18Chicago, IL

phpday

May 18 - 19Online