
Thomas explains the most recent version of pthreads targeting PHP 7+ and demonstrates all the new features it brought along. Get started with parallelism!
Thomas explains the most recent version of pthreads targeting PHP 7+ and demonstrates all the new features it brought along. Get started with parallelism!
This sourcehunt, we've found a lot of Laravel and/or JSON focused packages. It's an interesting combo which led us to our newest "app idea of the month"!
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.
Younes Rafie shows us how to add 2FA to a Laravel app - make sure your users can log in securely by adding an SMS layer!
Younes looks at Fractal - a PHP League package for formatting and transforming JSON, YAML, and other data formats to something consistent. APIs rejoice!
We look at Sylius - a fully tested and super-robuts e-commerce platform/framework, and use it to learn some proper Test Driven Development!
Viraj demonstrates Laravel Dusk - a browser testing tool designed for testing your apps in full - including UI and JavaScript!
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!
Eugene explains Forwarding Decorators: a crazy concept for approaching modularity in apps - wrapping them in other classes and recompiling everything.
Let's take a look at Peridot - a testing suite with a different approach. Can we BDD test our units? Should we?
Alex Bilbie looks at Jenkins' newest feature: pipelines. With it, we configure Laravel's auto-testing procedure, and make sure our builds stay alive!
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!
In this primer about PSR-7, Deji Akala explains where it came from, what the PSR means, how it changed the PHP landscape, and what's next.
Deji Akala shows us that it's possible to have single-file Symfony apps - with the help of a new 2.8/3.0 feature: the MicroKernelTrait!
Claudio introduces us to a new PHPCS standard - PhpCompatibility. This standard checks your code for compatibility with past and present versions of PHP!
After Larry voiced his opinion, Paul Jones chimes in with his stances and suggestions about PHP-FIG and its options going forward.
What are proxies? How can we use them? And what kind of advanced use cases can we think of? Let's perform some RESTful remote miracles with ProxyManager!
Crunz is a framework-agnostic library for scheduling and defining cronjobs wholly in PHP. Commit them to VCS, edit without server access, and more!
A couple of helper methods for quickly and effectively passing larger numbers of variables to views from your controllers
Super-caching, optimization, customization, comments, and much more you simply MUST do for your Grav installation
Here's a quick way to get rid of filesystem troubles (cleanup anyone?) when practicing TDD - virtual file systems!
Is it possible to have static type hints in PHP 5 without PHP 7 or HHVM? Yes - with the Augmented Types extension from Box!
Tobias looks at the process of refactoring code to make it cleaner - more readable, more intuitive. Do you think it's worth the time and effort?