Design Patterns
Learn about Insphpect, a tool that scans your PHP code for object-oriented programming techniques that hinder code reusability and flexibility.
Kirk Madera goes through the process of creating the R side of a blog module CRUD in this quick, 10-minute Zend Expressive tutorial, demonstrating its power
Christopher Pitt is back with another esoteric use case in PHP land - building custom compilers! Here he builds one which can process ReactJS code in PHP!
Heard of bitwise operators? Let's explore their practical application in storing and checking for user permissions, and whether this makes sense!
Sharoze asks some prominent community members about their development workflow - some answers are predictable, others will surprise. What can you relate to?
Let's take a fresh look at PHPUnit - the de-facto TDD tool for PHP. We'll explain TDD on an example, implement code coverage, and more!
Christopher presents Eloquent's polymorphic relationships in a human-friendly way - come learn what they're all about and master this awesome ORM!
What is the theory of constraints, and can be it be applied to PHP application development? The answer to the latter is oh yes, and for the former, dive in!
Bert introduces us to the concept of poka yoke - hyper defensive programming by forcing some checks and safeguards that make our code robust and sturdy.
Chris explains what snapshot testing is on some ReactJS code, before applying it to PHP and giving you something to think about when you close this tab!
What's the difference between technical and visual debt in code? Which one is more important, more dangerous? Let's discuss their balance in this editorial.
Claudio re-introduces a tool that most revolutionized the way we develop PHP apps: Composer, PHP's dependency manager. Still unfamiliar with it? Dive in!
We focus on Behat now to further extend Sylius in true TDD fashion. We write stories, we test against them, and then we develop features to make them pass!
Deji extends the core of Sylius by adding some back end features via true TDD: writing PhpSpec tests first, seeing that they fail, and then making them pass
Marcello Duarte of Inviqa shares some functional programming insight with us by teaching us how to build Parser combinations with Phunkie! Hardcore!
Thomas shows us the difference between Pthreads 2 and 3 and explains the upgrade procedure - the changes are big and backwards-incompatible, but worth it.
Bert discusses an interesting approach to creating arrays and collections that automatically enforce certain types - both scalar and fully custom
Francesco tells us about his workflow for building Laravel packages - from PSR-4 baby steps to Facades, Francesco justifies and explains the steps he takes.
Laracon: the official Laravel conference, is online in this edition. Let's talk about online vs offline conferences, and how they help / hinder networking!
We look at Sylius - a fully tested and super-robuts e-commerce platform/framework, and use it to learn some proper Test Driven Development!
Sourcehunt Feb, apart from promoting really interesting open source repos, now also features an app idea of the month, worth a fortune. Check it out!
Let's take a look at Peridot - a testing suite with a different approach. Can we BDD test our units? Should we?
In this "next level Laravel" post, Younes explains an interesting approach to designing relationships with Eloquent: polymorphic relations.
Chris adds a password-less login procedure on top of the typical username/password login in Laravel - let's kill the password!
Chris explains what event sourcing is, how to use it, when to apply it, and why. Check out this advanced DDD pattern in an easy to learn format!
Younes presents Eloquent Observers - a method of subscribing to changed on models and having those models notify all subscribers of changes. Check it out!
Christopher Thomas shows us the full process of implementing 2FA - two factor authentication - in Laravel, using Google Authenticator!
Ahmed Khan gives us a brief overview of the new exception and error classes in PHP 7, and how they can impact your future, current, and past code!
Matthew Setter takes an introductory look at atoum - an alternative to PHPUnit with an interesting twist
Claudio takes a look at Atlas - a new type of ORM that doesn't oversell. If you're dying for a breath of fresh ORM air, check it out!