Menu Home

Create a Discord Bot Using Asynchronous PHP in 4 steps

Intro The landscape right now for Discord bots is filled with python and javascript. These work well but what about our beloved PHP? There is a project named Discord-PHP which bridges the gap for us using asynchronous PHP to keep our bot alive. Prerequisites PHP 7.2 or higher Composer ext-json […]

How to Autosign git commits

internet screen security protection

In the light of the recent PHP Git server situation, teams are double-downing on signing commits. Signing your commit with your GPG key lets your team know that this code came from the person whose name is on the commit and the code has not been tampered with. Normally you […]

JetBrains software Teamcity possibly used in Solarwinds hack

In a New York Times article released on January 6, 2021, JetBrains and their Continuous Integration / Continuous Deployment (CI/C) application Teamcity were confirmed to be used by recently hacked software company SolarWinds.

How can I prevent SQL injection in PHP?

code projected over woman

Preventing SQL injections is a popular topic. #1 on stackoverflow (for php) and also listed on the OWASP top 10. So what is an SQL Injection? The first part “SQL” refers to Sequential Query Language which is used in querying databases like Mysql, Postgres SQL or mariaDB. The term is […]

PHP filter functions

man in grey sweater holding yellow sticky note

Filtering in PHP is super easy with the built in filter_var() function. Filtering is essential when taking in form input or applying logic to any set of data. This is especially crucial when sanitizing user input in order to prevent XSS and Sql injection attacks. filter_var ( mixed$variable [, int $filter = FILTER_DEFAULT [, mixed$options ]] ) : mixed Grab […]

Free PHP Malware and Security scanners [Part 1]

Exakat Exakat is a tool for analyzing, reporting and assessing PHP code source efficiently and systematically. Exakat processes PHP 5.2 to 7.4 and 8.0 code, as well as reporting on security, performance, code quality, migration. –Exakat docs Static analysis of code is a great tool to use whether for unit […]

PHP 8.0 Release Candidate Available

“The PHP team is pleased to announce the eighth testing release of PHP 8.0.0, Release Candidate 1.” This RC can be found on the official release site php-8.0.0rc1.tar.bz2 2020-09-29 22:46 13M   php-8.0.0rc1.tar.bz2.asc 2020-09-29 22:46 866   php-8.0.0rc1.tar.gz 2020-09-29 22:46 16M   php-8.0.0rc1.tar.gz.asc 2020-09-29 22:46 866   php-8.0.0rc1.tar.xz 2020-09-29 22:46 […]

Instagram AR Filters

Instagram AR Filters are taking over. Wheather you are wondering what Disney princess you are or what type of Taco Bell item represents you, there is an AR filter out there for you. How do you use them? AR Filters can be found on a user’s “Story”. The title of […]

tmux and Vim for PHP Programmers

Out on a Limb – February 2019

This month’s issue of Php[architect] magazine features my article on using tmux and Vim as a developer. Take a look and for only $6 you can purchase the issue or subscribe starting at as low as $4.99! Check it out and help support a great developer community!