

Articles by @adhocore
Browse the latest writing surfaced through DevArt.



Library to support JSON with comments and trailing comma in PHP
Unlike XML and YAML, JSON lacks native support for comments which is often missed. In addition, the...

Weekend hack: a tiny tool to check internet speed right from Terminal
Introducing a tiny utility built on Go using chromedp to check internet speed right from the...

GOlang URL shortener service using postgres, redis, bulma
You can use it via the mobile friendly web UI or automate it with API already provided. I'm also...

PHP Code Syntax highlighting (pretty printing) for CLI.
A curated developer article on DevArt.

Lazy load images and videos in twig
A curated developer article on DevArt.

Hands on with PHP7.4
PHP7.4 became production ready few days back. Let's give it a try with ease.

Resumable file upload (TUS protocol implementation) using pure bash
TUS client protocol implementation using pure bash.

4 years ago I challenged myself to write smallest and fastest markdown parser
Four years ago I challenged myself to write the smallest and fastest markdown to html parser and in a...

Have you tried out PHP programming with all symbols defined as unicode
Here is one example using Devanagari: class लगर { const इन्फो = 'इन्फो'; public function...


Batteries for Phalcon PHP framework
So you use phalconphp and like the speed and simplicity of it but miss some cool things and neat ways...

Do you put examples/ directory with sample code for integrating your library?
For me I do it sometimes, mainly when usage is complex and not everything belongs to readme.

PHP loop patterns
Some patterns created with (nested) loops. Please comment if you have any. Code: for ($i = 0; $i...

Minimalist yet powerful PHP JWT library
Minimalist yet powerful JWT library supporting RS*, HS* algos.

PHP project scaffolding (kickstarting) tool
Initialize and kickstart a new project/library in a jiffy- the way you want.

Ridiculously simple Github release for public or private repos
Bash script for automating new version release in Github that supports both private and public repositories

adhocore/cron-expr- Ultralight and super fast PHP Cron parser
Fastest crontab parser and scheduler for PHP