Browse category Uncategorized
New Venue and Calling all Speakers for php[tek] 2020
We want to hear from you! Our Call for Speakers is open through January 4th. This year we are focused on three dedicated tracks: Tech Leadership, PHP Development, and Web Technology.
Building Your First WordPress Plugin
By David Wolfpaw For many, working on a WordPress theme or plugin is there first foray into PHP development. When doing so, there are many ways to do things, but in the long run, you’re better off following WordPress’s conventions and idioms. In this article, we’ll go through how to structure and write a plugin […]
Defensive Coding Crash Course
By Mark Niebergall Ensuring software reliability, resiliency, and recoverability is best achieved by practicing effective defensive coding. Take a crash course in defensive coding with PHP as we cover attack surfaces, input validation, canonicalization, secure type checking, external library vetting, cryptographic agility, exception management, automatic code analysis, peer code reviews, and automated testing. Learn some […]
Serverless PHP With Bref, Part One
In recent years, a different way to build applications has arisen called serverless computing. This term is not a good name; I’m reminded of the adage that there are two hard problems in programming: naming things, cache invalidation, and off-by-one errors. Serverless computing as a name implies no servers, but there are servers—you don’t think about them though. A better way to think about it is that the servers and the management of them are abstracted away and the provider manages the allocation of resources, not the application architect.
Migrating Legacy Web Applications to Laravel
PHP is reclaiming its rightful place as the go-to language for web application development. For those of us maintaining and developing applications using legacy frameworks, the grass certainly looks greener on Laravel’s side. In this article, I show how to do an in-place migration from a legacy framework to Laravel.
January 18 – Beyond Performance
Day Camp 4 Developers If you’re selling widgets, offering a service, or publishing information a slow web page or application will cost you in the long run. User’s don’t wait and if your page takes too long to load, they’ll go somewhere else. Just one second slower will drop page views, customer satisfaction, and conversions. […]
2018 Audience Survey
Give your feedback! Our 2018 audience survey is online to help gauge how we can provide what you need to be a better developer. Whether you subscribe to the magazine, listen to the podcast, or just visit phparch.com, I want to here from you. I’m no fan of long surveys so I’ve kept it short […]
Testing Strategy With the Help of Static Analysis
By Ondrej Mirtes. In this article, I’d like to introduce you to the concept of type safety and how it can improve the reliability and stability of your code. Once your code is more type-safe, and that fact is verified by automated tools, you can cherry-pick which parts of your application need extensive unit tests and where you can rely just on well-defined types.
Education Station: Shifting and Masking with a Side of Crypto
The basics can be tricky. This month we take a careful walk-through of a few lines of cryptographic code in PHP. This leads us through the difference between ones’ complement and two’s complement representation. We achieve weirdness by combining logical AND with integer addition.
Security Corner: PHP, meet Libsodium
By Eric Mann By the time you read this, the PHP community should have introduced the world to the newest version of our favorite language. This latest version adds better support for type annotations, allows trailing commas in lists (just like JavaScript and other dynamic languages) and introduced several security improvements. The most notable security […]


