Skip to content

quick one, output the license for each composer.json project within a root path

A quick one since I have to alligne all my open source packages to theSPDX License List. To list all available licenses from my root path, I've quickly written this one liner.

find . -maxdepth 2 -name composer.json -type f -exec grep -i -H license {} \;

Boy, to write this one liner without having a look to one man-page took me ... well, ages.

Die KW 03/2018 im Link-Rückblick

Die KW 02/2018 im Link-Rückblick

"vendor/propel/propel1/generator/bin/phing.php: Permission denied"

I had to deal with an older project and wanted to update my database orm-code.

vendor/propel/propel1/generator/bin/phing.php: Permission denied

This error message is really general and it took me a while to find the solution. For whatever reason, the file "phing.php" has lost its execute flag. To fix this error, all you have to do is:

chmod +x vendor/propel/propel1/generator/bin/phing.php

This is it.