PHP

t3crr, German
@t3crr@nrw.social avatar

Pssssst! Spoileralarm – um 00:00 Uhr am 01. Mai startet der Ticketvorverkauf für das vom 08. bis 10.11.2024 an der Hochschule in Kamp-Lintfort. Die Besonderheit: Die ersten 10 Frühbucher - bekommen einen Rabatt!

robotalien,

What IS this??? A colon? In my ???

Girgias,
@Girgias@phpc.social avatar
robotalien,

has yield??? What the... I'm truly living in the future!

Crell,
@Crell@phpc.social avatar

@robotalien For a decade or so. Welcome to the furture. :-)

Jfillian,
@Jfillian@twit.social avatar

So, I returned to a project that i put on hold for a few months because .. life. There are some 12000 lines of and many Classes for a plugin. I'd like to finish this thing, and I am the only . It has only been a few months but, why do I keep asking myself "Why did i do that?" "What was I thinking?" "Where is the hook into that function???" Sheesh! Right now I just want to make it presentable and clean it up down the road. Am I normal?

Crell,
@Crell@phpc.social avatar

@Jfillian If you don't hate the code you write 6 months ago, you're not growing as a developer.

cabbey,
@cabbey@phpc.social avatar

ok #php brain trust.... say you wanted to automate some code changes. Simple stuff like "find all the instance methods that call self::staticFoo() and change them to call $this->foo() instead"... what static analysis tool would be the first one you would reach for to do that? Before anyone says "a grep and perl pies pipeline" note that static methods that call self::staticFoo() must remain as is. Next up would be "find all the places ->info['foo'] is read and replace it with ->getInfoFoo()."

j3j5,
@j3j5@hachyderm.io avatar

@cabbey without a doubt, rector is the tool for that

https://github.com/rectorphp/rector/

thgs,
@thgs@phpc.social avatar

Writing without a framework can be fun.

Of course I am going to pick something for this pet project but while I am exploring, writing like that is fairly quick and malleable.

bobmagicii,
@bobmagicii@phpc.social avatar

@thgs yeah. the reason i say that all the time is because psr is ultra stuck in the past, ergo anything based on it too.

thgs,
@thgs@phpc.social avatar

@bobmagicii I gave up on psr18 and whatnot for the http clients I am using. I did some small interfaces for what I needed exactly.

I see what you mean though. If X is based on Y, then X is bounded in some ways to Y. But that is only true when Y is opinionated. The closer it gets to being as objective as possible then it becomes less of a boundary. It’s pretty hard to make something as objective as possible though

wowa_TYPO3, German
@wowa_TYPO3@techhub.social avatar

Hast du den von letzter Woche verpasst? Keine Sorge, die Aufzeichnung ist jetzt auf YouTube! Wir haben spannende neue TYPO3-Features und Extensions erkundet. Schau's dir an und tauche mit mir in die Welt von TYPO3 ein! 🚀
https://youtu.be/OLJAKS2FsOc

davidbisset,
@davidbisset@phpc.social avatar

New bumper sticker:

$_GET["rich"] OR die("trying");

davidbisset,
@davidbisset@phpc.social avatar

@ian that’s a tall bumper sticker! Lol. But I love it!

cferdinandi,
@cferdinandi@mastodon.social avatar

@davidbisset 😂😂😂

simonhamp,
@simonhamp@phpc.social avatar

A few hours ago I managed to get a statically-linked build of PHP for Windows working on a machine with no prior #PHP installation

This build is a single-file distributable executable that can run a #Laravel application

This is a major milestone for #NativePHP as it will now be able to support all the major desktop platforms 🎉

webvision, German
@webvision@mastodon.social avatar

You are running a website as a hobby or as a not-funded project & want to use our extensions? Starting May 1st, we are giving away 10 tokens for our extensions & add-ons. If more than 10 people apply, we will make a raffle. Follow, RT + DM.

Crell,
@Crell@phpc.social avatar

. @auroraeosrose is holding court on Internals history for the after after party...

sirber,
@sirber@fosstodon.org avatar

There's not enough money in the world you can give me to work on your custom framework.

oliver,
@oliver@phpc.social avatar

@maxalmonte14 they either have no idea what they're doing, or have a very good idea*

  • by not using a framework I don't mean not using any components that may be a part of one. just not a full-blown "off the shelf" framework.
oliver,
@oliver@phpc.social avatar

@sirber come on, there's a price for every kind of work 🙃

drishtijjain,

Selfie with my fellow speaker friend @derickr !
Have been meeting each other in Php Conferences since 2018!

@phptek

grmpyprogrammer,
@grmpyprogrammer@phpc.social avatar

If you use I think that you should take a look at the efforts of the PHP Foundation https://thephp.foundation

j3j5,
@j3j5@hachyderm.io avatar

Does anybody on the fedi Laravel community knows Aaron Francis? It's really sad that his (awesome) fast-paginate package seems abandoned like this, maybe just a statement acknowledging he can't/doesn't want to maintain it anymore can make the community fork it to keep it maintained. This L11 support PR has been opened and unanswered for 2 months already.

https://github.com/hammerstonedev/fast-paginate/pull/58

stefanzweifel,
@stefanzweifel@phpc.social avatar

@j3j5 I feel you. Had the same inner monologue when I had to nudge him last time.

He helped me bring sidecar-browsershot to a v1; but that is all the interaction I had with him.

Maybe a friendly comment on that PR can move a new release forward faster.

j3j5,
@j3j5@hachyderm.io avatar

@stefanzweifel no worries, there are already enough comments there. I have a fork with that PR already merged that I'm using in the meantime. I held my nose and went to twitter to check and apparently he's aware of it🤷

I'll just wait.

https://twitter.com/aarondfrancis/status/1770447016503447572

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • magazineikmin
  • mdbf
  • thenastyranch
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • hgfsjryuu7
  • ngwrru68w68
  • osvaldo12
  • kavyap
  • ethstaker
  • PowerRangers
  • anitta
  • Durango
  • khanakhh
  • everett
  • cubers
  • GTA5RPClips
  • modclub
  • cisconetworking
  • vwfavf
  • tacticalgear
  • normalnudes
  • Leos
  • tester
  • provamag3
  • All magazines