thomastospace, to random
@thomastospace@phpc.social avatar

I just started a plain typescript project, and was too lazy for a docker setup so I just installed Node with apt and went on my way.

I installed Typescript, that went fine, but when trying to use it it gave a vague error.

Quick search fixed it, but... I'm amazed by the cause: Typescript didn't support the version of Node I had installed, which sure.. That's okay. But why didn't NPM tell me this? NPM does not have node version constraints?!?

🤯

jaapio,
@jaapio@phpc.social avatar

@thomastospace every time I try another language, I feel blessed that I'm able to work with the most powerful and reliable package manager of the world. Nothing beats #composer

#php

jclermont, to php
@jclermont@phpc.social avatar

How do you test code you don't understand? We deal with this when joining legacy projects, but I recently found a novel solution involving fuzz testing. Super useful! https://masteringlaravel.io/daily/2024-05-31-how-do-you-test-code-you-dont-understand

simonhamp, to Laravel
@simonhamp@phpc.social avatar

Here's a little tool I built as my New Tab page

It lists all my projects based on the filesystem, giving me an overview of their state at a glance and quick access to various tools

It also lets me add custom details, search and more

It's built on Laravel Volt, which was really fun to use!

Will open source at some point

video/mp4

mobileatom, to php
@mobileatom@flipboard.com avatar
michael, to Laravel
@michael@thms.uk avatar

Been playing around with Laravel Livewire a bit today, and it’s quite cool actually.

Really a powerful way to quickly get an app with interactivity going, if you can’t or don’t want to use a JS framework.

mobileatom, to php
@mobileatom@flipboard.com avatar

How to add visibility to 338 Class Constants in 25 seconds.

https://tomasvotruba.com/blog/how-to-add-visbility-to-338-class-constants-in-25-seconds?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
sarah, to php
@sarah@phpc.social avatar

Looking for work? Make sure you check out my latest project, PHP For Hire (https://phpforhire.com). It's a directory of PHP talent available for hire!

mobileatom, to Symfony
@mobileatom@me.dm avatar

Explore today's @SymfonyStation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. https://symfonystation.mobileatom.net/Symfony-Station-Communique-31-May-2024 🇺🇦

maccath, to php
@maccath@phpc.social avatar

The life of a maintainer (and generally any back-end engineer) - if your existence is acknowledged, something's probably gone wrong! I feel you, @jrf_nl

Thank you to all of the package maintainers out there 💕

mobileatom, to Symfony
@mobileatom@flipboard.com avatar

Explore today's SymfonyStation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. 🇺🇦

https://symfonystation.mobileatom.net/Symfony-Station-Communique-31-May-2024?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

joachim, to programming
@joachim@drupal.community avatar

I've just seen a #programming pattern in #PHP where a method could return two lists of things. Instead of doing that, it takes as a parameter a callable, and passes the two lists to the callable. Instead of:

[$a, $b] = getLists($param);
// Act on both lists.

we have:

$callable = function($a, $b) {
// Act on both lists
}
actOnLists($param, $callable);

Is that a #FunctionalProgramming pattern?

mobileatom, to php
@mobileatom@flipboard.com avatar
beausimensen, to php
@beausimensen@phpc.social avatar

I'm looking for a #rector or php-cs-fixer rule that will enforce Modifier Keywords Order as defined in PER.

I would be fine with a PER-specific solution but happy to configure something generic w/ PER rules.

#php

nyamsprod, to php
@nyamsprod@phpc.social avatar

I have a question regarding dependencies and semver for maintainers. let's say I have package B which depends on package A.

If I move a class from package A to package B does this constitute a BC break for A and B or only for A ?

sarah, to php
@sarah@phpc.social avatar

If you haven't picked up a free copy of my book, Mastering Object-Oriented PHP, make sure you head over to https://masteringobjectorientedphp.com and get your copy today! Free is my way of giving back to the PHP community.

#php #oop #opensource #software #development #free

davidbisset, to php
@davidbisset@phpc.social avatar

FrankinPHP is a "Modern App Server, written in ".

Native support for HTTP/1.1, HTTP/2 and HTTP/3, automatic HTTPS, OPcache and XDebug natively supported.

Native support for and more.

Interesting (and a cute logo).

https://frankenphp.dev/

robert, to php
@robert@flownative.social avatar

Now @dseguy talks about PHP types, all the way down to its implementation in the PHP engine.

#neoscon24 #php

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
jclermont, to php
@jclermont@phpc.social avatar
scoonch, to photoshop French
@scoonch@mamot.fr avatar

Dev Web fullstack, je termine un long CDD en fin de semaine. Je suis donc libre à partir du 3 juin.

CDI distanciel de préférence sinon je m'adapte, je suis à Paris.

Compétences en +:
Maquettiste #Photoshop #Illustrator,
Monteur vidéo #Premiere, #Avid,
Habillage/Animation #AfterEffect

CV dispo en mp.

#HTML #CSS #PHP #JS #jQuery #Scss #Symfony #React #NextJs #ViteJs #Bootstrap #Tailwind #Stripe #dataTables #Wordpress #Prestashop #Sylius #MongoDb #Mariadb #aws #debian #Vi #bash #English

dseguy, to php French
@dseguy@phpc.social avatar

En route for (Karlsruhe) with the elephpant patriarch and an advanced session on types in . See you there!

mobileatom, to php
@mobileatom@flipboard.com avatar
mobileatom, to Symfony
@mobileatom@flipboard.com avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • khanakhh
  • magazineikmin
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • rosin
  • Youngstown
  • slotface
  • everett
  • InstantRegret
  • kavyap
  • ngwrru68w68
  • DreamBathrooms
  • megavids
  • mdbf
  • tester
  • cisconetworking
  • cubers
  • love
  • tacticalgear
  • Durango
  • ethstaker
  • provamag3
  • normalnudes
  • Leos
  • modclub
  • JUstTest
  • All magazines