denniskoch,
@denniskoch@phpc.social avatar

Does anyone have a good solution how they handle standards they use in every project? Like packages, external tools, configuration in service providers, theming, …

stefanzweifel,
@stefanzweifel@phpc.social avatar

@denniskoch A friend recently mentioned that they "share" (copy & paste) the same composer scripts in all their projects.
They can run composer run test, composer run refactor or composer migrate in all their projects.

But no idea how one could share that easily between repos.

Just yesterday I wanted to start integrating phpstan in more projects of mine and asked me the same question.

denniskoch,
@denniskoch@phpc.social avatar

@stefanzweifel Yeah, copy pasting is the obvious simple solution 😅I could start with a Laravel command, that asks for the packages I want. Or maybe a package that has all the config, but then you need to be able to configure those again.

tvbeek,
@tvbeek@phpc.social avatar

@denniskoch @stefanzweifel on my previous job where we had a lot of projects we had a base project. That contains Laravel and all the tools with config.
Every project started with a copy from that project. It was the most easy way and less time consuming.

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