Extensions
Chris uses ReactJS, PHP, and Websockets to demonstrate how we can procedurally generate game terrain for our rip-off of Stardew Valley!
Chris bootstraps a basic Stardew-Valley-like game in this game development with PHP post, using an async server, preprocessors, and ReactJS!
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!
Did you know PHP has an extension for determining genders of first names? It's quite pointless on all levels, and still in the core manual. Weird!
This time, we look at a package that lets us interactively add code to Laravel from the command line, an image drawing package, and much more.
Let's take a fresh look at Xdebug, the de-facto PHP debugger, which turned an epic 15 years old this month. A quick look at some tricks, tips, and features!
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.
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 Punt goes through the four stages of PHP execution - from lexing to compilation and optimization. Here's what you make happen, daily!
We talked to Scott Arciszewski who is intent on writing a PHP polyfill for libsodium, with the potential to increase the security of at least 27% of the web
It's open source week at SitePoint, and this sourcehunt is an excellent starter, listing some amazing and diverse projects from this month and the last.
Matthew Setter takes an introductory look at atoum - an alternative to PHPUnit with an interesting twist
Viraj introduces Phpseclib: a package for securely communicating with a remote server via PHP. Execute commands, list dir trees, schedule crons, and more!
Phalcon is back - and in style! It can now run on PHP 7, and is written completely in Zephir. Easy extension development AND perfect performance!
Is it possible to have static type hints in PHP 5 without PHP 7 or HHVM? Yes - with the Augmented Types extension from Box!
Chris connects an Arduino to PHP and reads the log output to signal a LED on a certain condition, completing the real world Minecraft door-alarm
Installing composer packages globally can cause some dependency conflicts. Here's how to get around it with the help of a new, alternative tool.
Younes take a more detailed look at php-intl, this time focusing on localized dates, currencies, numbers, calendars, and more
Confused by php-intl and localization in general? Don't be! Younes explains what it's all about and guides us through some examples!
In this edition of sourcehunt, we look at cron managers for PHP, a Laravel Hackathon starter kit, a PHP-GUI package that lets you do desktop-PHP, and more
There are many approaches to internationalizing an app. Here's one using Gettext, Twig, and a solid application skeleton for a demo!
Christopher Pitt dives deeper into PHP macros, using them to add some functional programming to PHP!
Composer recently went into beta and made plugin development much easier. Chris Pitt shows you how by developing an "evil" data-snooping plugin!
Younes Rafie looks at building awesome OctoberCMS form field widgets for deeply customized inputs and making OctoberCMS a true business-worthy CMS
M. Lavaryen explains the Blackfire profiler in depth and demonstrates its use on a simple script, laying the groundwork for further exploration on your end!
Zack Wallace walks us through a paradigm-shifting new template engine, Transphporm, which uses CSS selectors to alter template content. Intrigued? Come see!
Reza goes through Elixir, a Laravel addon for front-end asset management. Compilation, minification, optimization, versioning and more - check it out!
Daniel Berman from Zend walks you through using Z-Ray to optimize your WordPress apps hosted on Microsoft's cloud hosting - Azure.
Younes Rafie re-introduces Monolog, the PSR-3 logging package for PHP which allows you to log messages from your app to files, Slack channels, and much more
Younes introduces the Web Driver API integration with PHPUnit by utilizing Facebook's Webdriver for PHP to simulate a browser and automate it