Yeah, now you know me

Categoryphp

Generate Log File in PHP

Generate clean and human-readable log file using bellow php code, this will help you in daily cron jobs or payment logging or query logging. generate a log file in php PHP /** * Logging class: * - contains lfile, lwrite and lclose public methods * - lfile sets path and name of log file * - lwrite writes message to the log file (and implicitly opens log file) * - lclose closes log file * - first...

Clean Code PHP

Software engineering principles, from Robert C. Martin’s book¬†Clean Code, adapted for PHP. This is not a style guide. It’s a guide to producing readable, reusable, and refactorable software in PHP. Not every principle herein has to be strictly followed, and even fewer will be universally agreed upon. These are guidelines and nothing more, but they are ones codified over many years of...

Yeah, now you know me

Categories

Recent Posts