I stand up for children in need. Please join me in helping this family.

Skip to content
Steven Roland

Posts

Creating a Simple PHP Wrapper for Google reCAPTCHA

Create a reusable PHP class for Google reCAPTCHA to protect web forms from spam that supports static methods, default keys with override options, and easy integration into forms. It simplifies displaying the reCAPTCHA widget and verifying responses.

Simple PHP CSRF Token

CSRF tokens, or anti-CSRF tokens, are a security measure used to prevent Cross-Site Request Forgery (CSRF) attacks. They work by ensuring that a submitted request is only accepted by a web application if it contains a string that the server expects.

Laravel with a Legacy Database

If you ever need to work with a database that doesn't quite follow convention, remember that Laravel has some pretty sweet built-in functionality to help you use that old data in new ways.