@dshafik@phpc.social
@dshafik@phpc.social avatar

dshafik

@dshafik@phpc.social

Professional Developer, Author, and Speaker. PHP 7.1 Release Manager (EOL).❤️ mhprompt.org. He/Him/They/Them. Toots are my own.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dshafik, to random
@dshafik@phpc.social avatar

I've been spending a lot of time in the terminal lately, and setting up a new machine from scratch so re-evaluating everything. I decided to document some tools that I love: https://www.daveyshafik.com/archives/70845-five-command-line-tools-for-developers.html

dshafik,
@dshafik@phpc.social avatar

@bobmagicii I still sometimes pipe ack into grep, definitely muscle memory there

dshafik, to random
@dshafik@phpc.social avatar

This is a great example of things you can do... but probably shouldn't: https://github.com/paragonie/typed-arrays (is paragonie in the fediverse?)

sarah, to random
@sarah@phpc.social avatar

@dshafik the docs you wrote for Bag are beautiful. How did you render them?

dshafik,
@dshafik@phpc.social avatar

@sarah pretty much the stock vitepress theme

dshafik, to random
@dshafik@phpc.social avatar

Trying something new as I gear up for Bag 1.0: using "RFCs" to get feedback on upcoming ideas/features.

The first one is on Bag-less Value Objects: the ability to create value objects without extending the base Bag class: https://github.com/dshafik/bag/issues/30

I encourage anyone who has thoughts to add a comment on the GitHub issue.

dshafik, to random
@dshafik@phpc.social avatar

And Bag gets yet another feature: this time it's Wrapping:

https://dshafik.github.io/bag/wrapping.html

Getting closer to a 1.0!

dshafik, to random
@dshafik@phpc.social avatar

Big update for Bag today, test coverage has been improved dramatically, finding and fixing several bugs in the process. Now at 98.8% with an MSI of 84%.

I also added some missing docs:

Closing in on a 1.0, only one (minor) outstanding roadmap item left: https://dshafik.github.io/bag/roadmap.html

dshafik, to random
@dshafik@phpc.social avatar

Bag gets it's first major new feature today, Transformers: create Bag objects from any input value. JSON string? Bag::from($jsonString), Model object? Bag::from($model), HTTP request? Bag::from($request).

Read docs for more details: https://dshafik.github.io/bag/transformers.html

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