Is Brent Roose on the Fediverse anywhere? I love this idea, and I’d love to help contribute.

I started down the path of trying to port #Pygments to #PHP a while back. I maintained a PHP wrapper for it (https://github.com/ramsey/pygments), and even set up a GitHub organization for “Phygments.” 😉 https://github.com/phygments

I want to help make this happen. Maybe I’ll have to email Brent if he’s not on the Fediverse.

@freekmurze @pronskiy Do either of you know if he’s here? https://mastodon.social/@php_discussions/112118298296419881

GitHub - ramsey/pygments: 💅 A PHP wrapper for Pygments, the Python syntax highlighter, forked from the Pygments.php project

💅 A PHP wrapper for Pygments, the Python syntax highlighter, forked from the Pygments.php project - ramsey/pygments

GitHub
@ramsey Brent’s project looks very cool, but I also think that Ryan Chandler is about to release a syntax highlighter that uses TextMate grammar files, which will mean that it can immediately highlight almost all major languages. Very curious how the two projects turn out!
@chris @ramsey I'd really prefer a TextMate solution, too. Brent claimed it would be "easy" to add new syntaxes. But why should we if TextMate already had it figured out?
@denniskoch @chris My approach was to reuse the “grammars” from the pygments project, since it’s very robust and well maintained, but if TextMate files are easier for everyone, then that might work better.
@ramsey @chris Not sure whether it's easier. But it's the common one. VS Code uses it. PhpStorm uses it. Sublime Text uses it.

@denniskoch @ramsey Yeah, that's the nice thing about TextMate grammars… they've basically become the industry standard.

Here's Ryan's recent post about the progress of his project:

https://twitter.com/ryangjchandler/status/1769434118981288017

Ryan Chandler (@ryangjchandler) on X

Although I didn't have any spare time this weekend to livestream some programming, I am still getting ready to release my syntax highlighting package for PHP projects. Here's a sneak peek at some code being highlighted with my new package on my blog... 👀

X (formerly Twitter)
@chris @denniskoch It’s kind of weird, since I didn’t think TextMate was actively developed anymore.
@chris @denniskoch Also, I don’t have a Twitter account, so I can’t read that tweet. 🙂

@ramsey Oh that's right… Tweets are behind a login now, eh?

It really sucks that the vast majority of the Laravel community is still stuck on Twitter. I would love to move 100% to Mastodon, but I would be losing nearly my entire dev community if I did :(

@chris @ramsey It is definitely more Laravel on Twitter