Streamline PHP Projects with Composer: A Guide to Efficient Dependency Management

Managing PHP dependencies can be challenging, but Composer simplifies this process. By defining dependencies in a composer.json file, developers can streamline collaboration, reduce code bloat, and maintain consistency across environments. Composer’s powerful autoloading and version control make it an essential tool for modern PHP projects. This comprehensive guide covers everything from setup to advanced usage, … Continued

Revitalizing WordPress Plugin Development: A Contemporary Approach

In this article, Gabriele Bellini discusses the need for a modern approach to WordPress plugin development. He highlights the stagnation of PHP coding standards within WordPress compared to advancements in PHP and other frameworks like Laravel and Symfony. The author proposes a contemporary methodology focusing on Composer integration, the Singleton pattern, namespace conventions, clean folder … Continued

Mastering PHP Namespaces: A Comprehensive Guide

This article is a comprehensive introduction to the concept of PHP namespaces, offering readers a lucid and insightful explanation of their significance and practical application. It dives into the intricacies of namespace syntax, covering key aspects such as declaration and referencing, sub-namespaces, namespace importation, and aliasing for class names. Moreover, the article delves into the … Continued

Create and publish a PHP Composer package

This tutorial walks you through creating and publishing a PHP composer package. It includes some essential steps and tips for making it easier for other developers to use your packages in their applications.

Read more @DevCore.Tools

New Tutorial: Prefix all PHP Namespaces in PrestaShop Modules

With 65% of retail brands developing their own eCommerce websites, the post COVID-19 world has a silver lining for eCommerce website development. One software platform, which rings a bell and makes life easier for developers like you is the PrestaShop. From being an open-source platform to offering unsurpassable customization – PrestaShop is a one-stop destination … Continued

Using PHP Composer in the Cloud for Joomla Development

If you have been using PHP for a while, you’re probably aware that Composer is the de facto standard for developers as it integrates others’ work and experience. Before the launch of Composer, it was an uphill battle to manage and share libraries in PHP; as a consequence, you had to develop and maintain every … Continued

New Tutorial: Using PHP Composer in the WordPress Ecosystem

When building a WordPress website, developers like you build a plethora of themes and plugins. In doing so, you frequently copy-paste the same code over and over again. It could be just to create your versions of available libraries. Every time you manually duplicate code – you increase the development time and reduce the time … Continued

New Tutorial: Your First PHP Prefixed Project

PHP Source Code in a Laptop

Following the launch of  PHP-Prefixer, we’re excited to share the first tutorial “Getting Started”! If you develop PHP projects with Composer, you’ll feel at home with this new guide. It walks you through the fundamentals of Composer project development by creating a simple project step-by-step. After completing the tutorial, you’ll prefix the “Getting Started” project … Continued