Crayon Syntax Highlighter Updated for PHP 8

I have updated the Crayon Syntax Highlighter to work with PHP8 and above.
While I have tagged the release as 2.8.6 I’m moving away from that version scheme.

and use master branch.

Remember to visit the settings page and save your settings, especially when switching PHP versions.

To my knowledge this is the only public repository of a working Crayon Syntax Highlighter plugin, feel free to correct me.

Symfony2 File Upload with Related Entities

This is for a very old version of Symfony – 2.3

It might not work with the version of Symfony you’re using

Here is how I do it.

What it does? Upload an image file and an audio file and add an encode job.
The purpose is to join an image and a mp3 into a mkv file x264 encoded with ffmpeg.
But this here is only to upload the files and add the related entities. Yes I am very proud of myself for having accomplished this even if it was extremely more complicated than just doing it in PHP.
Continue reading “Symfony2 File Upload with Related Entities”