Category Archives: Tools

Make any Composer Command Segfault

This is from the shock your co-worker department: There is an easy one-liner to make any composer based project spit “Segmentation fault (core dumped)” regardless of the Composer command entered:

Posted in Bugs and Features, PHP Development, Pressed, Tools | Tagged , , | Leave a comment

Linting PHP Files in Parallel on Travis

With PHP 7 around the corner here is a small tip how you can at least lint the code in your project to be PHP 7 syntax compatible. That allows you to easier obtain forward-compatible PHP code with ease. So … Continue reading

Posted in Hakre's Tips, PHP Development, Pressed, Tools | Tagged , , , , , , , , | Leave a comment

Commandline Source Fixes Foo

From time to time I need to cleanup source trees. Today I needed to do that again, here are some command liners to get some work done. If you’re on Windows, all you need to do to get these running … Continue reading

Posted in Developing, Hakre's Tips, Pressed, Tools | Tagged , , , , , , | Leave a comment

SimpleXML and JSON Encode in PHP – Part III and End

The previous two parts (Part I; Part II) did outline PHP’s standard behaviour when JSON encoding a SimpleXMLElement with json_encode(). As outlined this does not always fits the encoding needs and for some potential problems some workarounds have been showed. … Continue reading

Posted in Developing, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , | 1 Comment

SimpleXML and JSON Encode in PHP – Part II

In the previous post (Part I) I was giving a little overview for common woes turning a SimpleXMLElement into JSON when XML structural information is available that JSON is not capable to encode easily. The explanations given there were intended … Continue reading

Posted in Developing, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , | 2 Comments

SimpleXML and JSON Encode in PHP – Part I

With SimpleXMLElement it is often easy and looks like a very quick way to turn some XML into JSON. But not everything in PHP that has an easy interface works out of the box. In this three part series I’ll … Continue reading

Posted in Developing, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , | Leave a comment

PHP: XPath on HTML and XHTML

Christan Weiske has published a nice summarizing article with the same title. It contains some detailed information I haven’t found so far on the web so worth the link: PHP: XPath on HTML and XHTML. It also reminds me of … Continue reading

Posted in Developing, Hakre's Tips, PHP Development, Pressed | Tagged , , , , | Leave a comment

PHP on Google App Engine – Quick First Review

This is fresh out of the news (Ars; Wired; WHIR; VB), and what Google wants to offer looks like a very cool package. So if you hadn’t had the time to view the video, here is a quick summary and … Continue reading

Posted in Features, Hakre's Tips, PHP Development, Pressed, Reports, Tools | Tagged , , , , , , , , , , , | 7 Comments

Event-driven PHP – Igor Wiedler

Nice talk by Igor at TakeOff 2013: Event-driven PHP – Igor Wiedler.

Posted in Linked, PHP Development, PHP Frameworks, Pressed, Tools, Video | Tagged , , | Leave a comment

Getting the Vagrant in the Box (Fedora 17)

This post is about installing a useful development tool to play with systems and configurations in a virtualized environment on your fingertips. Want to test your WordPress with a completely differnt web- and database server? Maybe running a proxy in … Continue reading

Posted in Developing, Hakre's Tips, Pressed, Tools | Tagged , , , | Leave a comment

Web3tracer a XHProf derived PHP Profiler / Tracer

“web3tracer is a PHP profiler / tracer derived from XHProf; it is a PHP module written in C allowing you to profile php scripts performance with minimum overhead.” License: LGPL 3.0 Read On: Pinba – Realtime Monitoring and Statistics Server … Continue reading

Posted in Linked, PHP Development, Pressed, Tools | Tagged , , | Leave a comment

Hidden Features of PHP – Ilia Alshanetsky

Ilia put the slides of his talk on 06 Jun 2012 in Toronto named “Hidden Features of PHP” online. He lists features, functions and extensions he thinks are hidden gems and shows examples of them. Slides are available at http://ilia.wsContinue reading

Posted in Linked, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , , , , , | Leave a comment

Mosh (mobile shell)

Mosh (mobile shell), sort of client / server type of screen.

Aside | Posted on by | Tagged , , , | Leave a comment

DataCleaner – Data quality, profiling, cleansing and matching utility

DataCleaner – Open source data quality, data profiling, data cleansing, data matching (via Cubrid)

Posted in Hakre's Tips, Linked, Pressed, Tools | Tagged , , , | Leave a comment

NotORM

NotORM is a PHP library for simple working with data in the database. The most interesting feature is a very easy work with table relationships. The overall performance is also very important and NotORM can do caching and run faster … Continue reading

Posted in Linked, Pressed, Tools | Tagged , , | Leave a comment

<angular/>: A Radically Different Way of Building AJAX Apps

And more: <angular/>: A Radically Different Way of Building AJAX Apps. http://angularjs.org, github, MIT Licensed. (The older Google Wave Example Youtube Video)

Aside | Posted on by | Tagged , , | Leave a comment

CSS Character Escape Sequences

CSS character escape sequences, more on the CSS3 selector syntax (STTS 3 Profile Specification) at W3C.

Aside | Posted on by | Tagged , , , , , | Leave a comment

XML_Query2XML

XML_Query2XML – Turn SQL into XML, PDO support. XML_Query2XML allows you to transform the records retrieved with one or more SQL SELECT queries into XML data. Very simple to highly complex transformations are supported. Is was written with performance in … Continue reading

Posted in Linked, Pressed, Tools | Tagged , , , | Leave a comment

phptags – tidies up tags in PHP scripts and guards whitespace

Just stumbled over another PHP related tool today, which I think is worth the link: phptags is a simple commandline tool to tidy up open and close tags in PHP scripts. It can rewrite close tags, and strip leading or … Continue reading

Posted in Hakre's Tips, Linked, PHP Development, PHP Development, Pressed, Tools | Tagged , , , , , , , | Leave a comment

How to avoid “tight coupling” in a WordPress Plugin?

This was asked today over at Stackoverflow (WordPress Plugin: How do I avoid “tight coupling”?) and I was able to grasp some time for an answer, I thought it’s worth linking it for the interested reader. Sure it can’t answer … Continue reading

Posted in Hakre's Tips, Linked, PHP Development, Pressed, WordPress Support | Tagged , , , , , , , , , | 1 Comment