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 […]
Estimated reading time: 5 minutes
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 […]
Estimated reading time: 1 minute
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.
Estimated reading time: 2 minutes
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 […]
Estimated reading time: 5 minutes
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 […]
Estimated reading time: 3 minutes
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 […]
Estimated reading time: 3 minutes
“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 […]
Estimated reading time: 36 seconds
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 […]
Estimated reading time: 2 minutes
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!
Estimated reading time: 23 seconds