What will you build with #PHP in 2023?
@phpc An ActivityPub app or interactive fiction game 🤔
@dvdvsdr Both of those sound like great projects!
@phpc Probably some boring shop related stuff.
And maintaining OS software.

@phpc I'm going to try to improve my cli app that's building reports of my work and invoices by getting data from project management services (currently it only supports youtrack but the plan is to get jira and kimai there as well). I also use it to practice and improve dev skills. Last improvement was to add some automated tests, psr12 and phpstan.

https://git.kompot.si/lio/RprtCli

RprtCli

Automate monthly reports via tracking service.

Gitea
@phpc More unfinished projects 😂
@derickr
But finished it unused 😂
@phpc
@phpc A tool for social media moderation. Currently a lot of creators get a ton of harassment, and I feel like a solid moderation tool at a decent price point would help them a lot.

@phpc Working on a DocBook renderer: https://gitlab.com/Girgias/docbook-renderer

Possibly to improve the php.net docs, but also to have a way to properly write articles on my website (which won't get written but *shhh*)

George Peter Banyard / docbook-renderer · GitLab

GitLab.com

GitLab

@Girgias @phpc Ooo! I worked on such a thing many years ago, in multiple forms.

I take it you don't care for PhD?

@Crell @phpc PhD is an actual nightmare and a massive blob of code that does way too many things.
And none of the people who actually wrote it, don't contribute to it any more since 2012.

Trying to write this in a sane way, but I'm not even sure I can use static analysis on it because of how I overload the DOMNodes :(

@Girgias @phpc I'll take that as a no...

Of course, using it for PHP.Net makes everything harder because of the "no dependencies" rule.

@Girgias @phpc In my experience, some carefully planned xslt really is your friend. If only the docbook-xml tool chain had been updated since 2003...
@Crell @phpc IIRC the point of PhD was to move away from XSLT because those files were unreadable >->

@Girgias @phpc Bad XSLT is. Over-abstracted XSLT is. Good XSLT can be very clear.

Now, XPath, that's hell.

@Girgias @phpc At some point I should get back to my XML class generation library. The ideal case would be a one shot parse of XML to plain PHP objects we could then do stuff with. Though I don't know if docbook is just too complex for that to be viable.
@Girgias @Crell @phpc It was about speed. XSLT took waaaay too long.
@derickr @Girgias @Crell @phpc plus it is not very flexible. Remember a job where they insisted on building an in-house template engine using XLST instead of Twig becease they did not like NIH. Writing templates in it sucked
@Crell @phpc out of curiosity, why is there a “no dependencies” rule for PHP.net?

@hunter @phpc The idea is to avoid endorsing any particular framework or library author. Eg, if PHP.net uses Symfony, the Laravel people would get upset and vice versa.

That's valid but the cost is ignoring the incredibly robust ecosystem of PHP. I'm not convinced that is a good tradeoff any more.

Although, they do use Dokuwiki for the wiki, even though it's 3rd party and a mess. So...

@Crell @hunter @phpc The PHP project does use Composer packages in several places, but it tries to remain neutral when it comes to the monolithic frameworks and component libraries.
@ramsey @Crell @phpc I think the neutrality part makes sense, but does seem like an easy showcase for PHP’s web presence to be powered by the communities work/projects. Obviously just pontificating/making convo
@hunter @Crell @phpc In theory, that seems like a good idea, but can you imagine the bike-shedding? 😂
@ramsey @Crell @phpc bike shedding might be putting it lightly. It’d be the dust bowl of bike shedding. Only idea I can even think of is focusing around PSR’s
@hunter @Crell @phpc That said, having more community involvement in parts of the project other than core is definitely welcome. We need more folks helping out.

@ramsey @hunter @phpc oh, I thought there was still an unwritten ban on anything 3rd party at all.

I can understand wanting to avoid the "big brands", but especially for something like PhD or the main site, avoiding any library is just self defeating.

@Crell @hunter @phpc I thought there were third-party libraries used on the website, but it looks like I was wrong. https://github.com/php/web-php/blob/master/composer.json
web-php/composer.json at master · php/web-php

The www.php.net site. Contribute to php/web-php development by creating an account on GitHub.

GitHub

@Crell @ramsey @hunter @phpc The main reason my improvements to use composer were rejected for PhD was not the external lib, but needing to maintain something in the build process that is just going to rust away.

The biggest issue with php.net infra is that barely no one has a clue who has access to what antiquated machine that runs what piece of code.

My current plan is, if actually cover what is needed, to just publish a "mirror" myself to convince the swap.

@Girgias @Crell @hunter @phpc I hear from so many people who are eager to contribute at the infra level, but whenever they ask, all they hear are crickets … because no one knows who to ask. I want to fix this, but I also don’t want to step on toes. I’ll try to reach out to Rasmus and Sascha to see if I can get some feedback. I’d love to find someone who can take charge and start organizing volunteers for infra.
@ramsey @Girgias @Crell @hunter @phpc I know a lot. I have lots of access.
@derickr @Girgias @Crell @hunter @phpc I know you do. You were implied. 😉
@ramsey @derickr @Girgias @Crell @phpc a few of y’all know I like infrastructure-y things, even outside mastodon so just let me
know.
@ramsey count me in on the infra contributors wannabe
@phpc continue working on https://spacehey.com 😊
SpaceHey — a space for friends.

SpaceHey is a retro social network focused on privacy and customizability. It's a friendly place to have fun, meet friends, and be creative. Join for free!

SpaceHey

@phpc Improve my console component, then probably create a CLI game ( RPG / Rogue like)

Also work on a phpunit test generator in my company (I will release a v0.1 tomorrow, but not currently open sourced, I will try to discuss and push for open source it)

Also try to add generic phpdoc for my ORM component for phpstan / phpstorm (sounds like complicated for now).

Lots of many thing for this year 👍

@phpc More useless packagist libs!