PHP

PhpStorm live templates to automate the boring things (mglaman.dev)

I finally took a look at writing a custom live template with PhpStorm. I've used them several times to automate scaffolding a foreach statement or other random suggestions that a Tab keypress leads to automated scaffolded code. But I never really dove in to see how they work or could be customized. Then, I had to fix some of my...

Flowcharts For Developers With Mermaid js | php[architect] (www.phparch.com)

One of the most important soft skills we can have as developers is being able to communicate how our code works. Other developers can dive into your code to see how it works, but this can be time-consuming, and your stakeholders most likely won’t be able to. What we need is some way to communicate […]

Fixing Bugs With PHPStan | php[architect] (www.phparch.com)

I don’t need to tell you, but as developers, bugs are a constant challenge. We can do everything in our power to test the code that we’re writing as we’re writing it. But that’s just not good enough. That’s because our changes affect other people’s code in ways we can’t expect, and their changes affect […]

Unleash the Power of Simplicity: PHP CLI App with Minimal Dependencies (tomasvotruba.com)

I have a couple of open-source CLI apps like Rector, ECS, Class Leak, Config Transformer, Monorepo Builder and Lines, and private ones like Cleaning Checklist, Fixai, Private Rector and Entropy. All of them run in the command line, and some of them are downgraded to PHP 7.2. In every project, there is the rule, the fewer...

Using DDEV snapshots to speed up GitHub Actions workflows (mglaman.dev)

My projects all use DDEV for local development. Regarding end-to-end testing, as part of my continuous integration process, I also use DDEV! This way, my scripts for running Cypress are the same locally and in my CI. Leveraging DDEV in your CI is especially useful if your project has multiple domains, which is harder to...

Castor, a journey across the sea of task runners (jolicode.com)

At JoliCode we were early adopters of Docker (since late 2013). When we discovered it, we strongly believed that this tool would fit perfectly in our dev environment and allow teams to work under the same clean and reproducible environment. However, like each new piece of software,

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