Crell,
@Crell@phpc.social avatar

Proposal for a conference talk: How to configure and all its tooling extensions (xdebug, phpstan, php-cs-fixer, etc.) to use a docker container consistently.

That could easily fill a tutorial...

shochdoerfer,
@shochdoerfer@phpc.social avatar

@Crell Thanks to and the DDEV plugin for , it's not that hard...

Crell,
@Crell@phpc.social avatar

@shochdoerfer I don't use ddev. I've never managed to get it to work right. :-)

shochdoerfer,
@shochdoerfer@phpc.social avatar

@Crell interesting. We've been using it for all our PHP projects (Symfony, Sulu, Sylius, Magento, ...). Never had any issues so far. Maybe our use cases are too simple :)

alessandrolai,
@alessandrolai@phpc.social avatar

@Crell why do you find it so hard? Isn't enough to define it as the default interpreter, and put "default interpreter" as the runtime for each tool?

The only other fix that I need is to use relative paths when defining tools and their configs..

Crell,
@Crell@phpc.social avatar

@alessandrolai Please blog this. :-) I hope it's so easy, but it never has been for me.

heiglandreas,
@heiglandreas@phpc.social avatar

@Crell @alessandrolai The "use relative paths" usually is what makes it a tad more complex for me than it should be. Though it is expected 🙈

alessandrolai,
@alessandrolai@phpc.social avatar

@Crell I doubt I'll have enough time to do it 😵 hopefully this summer...

Crell,
@Crell@phpc.social avatar

@alessandrolai Then it doesn't sound as simple as you make it out to be. :-)

alessandrolai,
@alessandrolai@phpc.social avatar

@Crell I'm just swamped at work! 😭

herndlm,
@herndlm@phpc.social avatar

@Crell @alessandrolai btw is it possible to have dependencies installed only inside the container, without a volume mount, but still working knowledge / autosuggestion / types in PHPStorm? I wanted to do this once, mostly because of Mac performance issues, but failed 😅 but it feels like a weird edge case that doesn't work..

alessandrolai,
@alessandrolai@phpc.social avatar

@herndlm @Crell no you can't. Other IDEs like VS code solve the issue with dev containers, basically running the IDE from the inside of Docker.

I have many colleagues with Macs and they all solved the performance issues with some tool, but I don't know how.

thomastospace,
@thomastospace@phpc.social avatar

@Crell Not sure if there's enough time in a conference talk for that. Maybe it's better as a 4 hour workshop 😭

Schrank,

@Crell there is no conference in the world with long enough slots 🙈

I LOVE THE IDEA!!

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