#php
8 posts tagged php. All posts
Decrypting Laravel Crypt::encryptString values in PythonHow Laravel's encrypter builds its AES-256-CBC payload and HMAC-SHA256 MAC, and a Python function using pycryptodome that verifies and decrypts it.
Subscribing a customer to a Clover recurring plan with PHPUse Clover's sandbox APIs from PHP to tokenize a card, create a customer with a card on file, look up a tax rate, and subscribe them to a recurring plan.
Five ways to add search to a website: Algolia, Fuse.js, Google, PHP and PagefindWorking examples of site search with Algolia, Fuse.js in React, Google Programmable Search, a PHP and MySQL query, and Pagefind for static sites.
Building a custom WordPress theme: files, the Loop, and publishingNotes from building a rough Tailwind-styled WordPress theme, covering the theme files, a post-card Loop, its bugs, and where to publish it.
Six ChatGPT prompts I use for code review, commit messages and blog draftsCopy-paste ChatGPT prompts for rewriting code to a style guide, writing tests, explaining code, writing commit messages and test notes, and drafting blog posts.
An IP address lookup API in LaravelA small Laravel JSON API that validates IP addresses, looks them up through an external service with the HTTP client, and caches the results with Eloquent.
What Laravel is and how to start a project with itA short introduction to Laravel, the PHP web framework, covering what it includes, how to create a new app, and how routes work.
Dumb bug fixes that shouldn't have workedA running list of bug fixes that shouldn't have worked but did, starting with a PHP 5.2 session bug fixed by re-uploading the same file to cPanel.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)