Category: Miscellaneous

Sourcehunt 17.1: 7 Interesting PHP Packages to Keep an Eye On

If you’re new to Sourcehunt, it’s our monthly post for promoting open source projects that seem interesting or promising and could use help in terms of Github stars or pull requests. It’s our way of giving back – promoting projects that we use (or could use) so that they gain enough exposure to ...

Home-Made Twitter and Gmail Notifications with PHP and Arduino

I am a little obsessed with Twitter. It’s how I communicate with most of the developers I’m not fortunate to live in the same city as. I’m a little less obsessed with IoT projects, but then it’s harder to find the time to work on them than it is to check Twitter. Unless I can do both at the same...

How PHP Executes – from Source Code to Render

Inspired by a recent article on how Ruby code executes, this article covers the execution process for PHP code.Introduction There’s a lot going on under the hood when we execute a piece of PHP code. Broadly speaking, the PHP interpreter goes through four stages when executing code:Lexing Parsing Compilation I...

SourceHunt Xmas 2016 – Give the Gift of Open Source Prestige

We’re at this year’s precipice, and it couldn’t have been a better one. How about we make it even better for some packages and libraries in dire need of contributors and stars? This Xmas, let’s give the gift of open source prestige!frickelbruder/kickoff [24 ★] KickOff is a continuous websit...

The Delicious Evils of PHP

I want to look at two PHP functions: eval and exec. They’re so often thrown under the sensible-developers-never-use-these bus that I sometimes wonder how many awesome applications we miss out on. Like every other function in the standard library, these have their uses. They can be abused. Their danger lies in the...

Sending PHP Event Messages to Remote Logstash on Windows

By opening this article you’ve endeavored yourself to expanding your knowledge of PHP applications as part of event-based distributed systems. You’ll be given a quick intro into what we are referring to when we say event messages, what Logstash is, and why it is so cool. If you’ve already heard of B...

Pay the Price for Open Source

Gather ’round kiddies, Uncle Cal has a history lesson to share.Back when the world was young Back in the early days of Open Source – when Dinosaurs roamed the earth and Rasmus was a young man – there were two types of open source projects we talked about: those that didn’t cost any money, and...

Hashicorp’s Packer – Is It Something for PHP Developers?

tl;dr; – Is Packer a tool you’ll need in your tool box as a PHP developer? It depends. If you do a lot of server work for your clients or on the job, along with development work, then yes. Packer can help you a lot. If you are only a developer and don’t really do much work on the server directly, t...

How’d They Do It? PHPSnake: Detecting Keypresses

At a recent conference in Bulgaria, there was a hackathon for which Andrew Carter created a PHP console version of the popular “snake” game. I thought it was a really interesting concept, and since Andrew has a history of using PHP for weird things, I figured I’d demystify and explain how it was done...

Is It Possible to Write and Run PHP Code on an iPad?

I love the iPad. It’s a fantastic form factor for media consumption and gaming; and it also works well as an e-reader. The trouble is I don’t use it nearly as much as I could. Most of the time I’m consuming media (Netflix, Twitch, YouTube), I’m coding in parallel. I can do that on my MacBook, bu...