Davey Shafik πŸ¦πŸ‰πŸ³οΈβ€πŸŒˆ's Avatar

Davey Shafik πŸ¦πŸ‰πŸ³οΈβ€πŸŒˆ

@daveyshafik.com

Professional Developer, Author, and Speaker. PHP 7.1 Release Manager (EOL). He/Him/They/Them. Posts are my own.

210
Followers
85
Following
59
Posts
06.08.2023
Joined
Posts Following

Latest posts by Davey Shafik πŸ¦πŸ‰πŸ³οΈβ€πŸŒˆ @daveyshafik.com

Video thumbnail

πŸš€ Beacon is live.

A feature flag platform built for Laravel and Pennant:

βœ… App + Env-based flags
βœ… Fine-grained targeting
βœ… Gradual Rollouts
βœ… A/B testing with variants
βœ… Frontend support via Beam

Using native Laravel Pennant.

πŸ”— beaconhq.io/?mtm_cam...

#Laravel #PHP #Beacon

18.11.2025 08:51 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Using Laravel Pennant for feature flags?

Beam brings your Pennant feature flags to your frontend. A simple TypeScript library with first-class React and Vue support.

Beam: Laravel Pennant, now in the browser.

πŸ”— beam.beaconhq.io

#Laravel #PHP #Beam

17.11.2025 19:27 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Not sure which version works best?

Test them all.

Beacon makes it easy to run real mutli-variant A/B tests with Laravel Pennant.

Define variants. Target users. Learn what works.

Beacon, powered by Laravel and Pennant.

πŸ”— beaconhq.io/?mtm_cam...

#Laravel #PHP #Beacon

16.11.2025 19:28 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Not every feature is for everyone.

Beacon lets you target flags by request attributes, environment, dates, & more β€” all in real time.

Define exactly who sees what, and when.

No custom code. No guesswork.

Join the waitlist at πŸ”— https://beaconhq.io

#Laravel #PHP #Beacon

14.11.2025 16:23 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Feature flags that just make sense.

Beacon gives you real-time control over your Laravel Pennant feature flags, across every application and environment.

No deploys. No waiting. Just flip the switch.

Join the waitlist at πŸ”— https://beaconhq.io

#Laravel #PHP #Beacon

13.11.2025 18:28 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

πŸ‘€

#Laravel #PHP

13.11.2025 00:11 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

Just Lowe's casually inventing time travel to deliver my fridge in -2 days...

24.09.2025 21:31 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

After a few days with the AirPods Pro 3 (upgrading from AirPods 3/Sony XM4) here's my thoughts as a traditional hearing aids wearer:

- sound quality is way better than AP3
- ANC is great, better than AP3/XM4
- as hearing aids, they are functional. Audio doesn't sound natural, but is amplified well.

23.09.2025 17:16 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Beam: Laravel Pennant in the Frontend

Beam: Laravel Pennant in the Frontend

Meet Beam β€” the frontend companion to Laravel Pennant.

βœ… Built for the frontend
βœ… Supports React, Vue, & vanilla JS
βœ… Reactively responds to flag changes

Built for Laravel apps.

⚑️ beam.beacon-hq.dev

#Laravel #React #Vue #FeatureFlags #JavaScript

23.08.2025 23:16 πŸ‘ 5 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Beacon Metrics Simple Metrics for Laravel

With a bit of work, I now have the Beacon Metrics test suite up to 90% with tests running across SQLite, PostgreSQL, and MySQL.

I think we're getting close to a 1.0 release!

In case you missed it, full documentation can be found at metrics.beacon-hq.dev

Feedback welcome!

18.04.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Beacon Metrics Simple Metrics for Laravel

I just published full documentation for Beacon Metrics, metrics.beacon-hq.dev

It still needs more tests before a release β€”Β coverage is only 36% right now, although most of it is alias methods.

Main question is should I add the ability to get trends keyed by date?

17.04.2025 00:26 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

When your side project spawns another side project…

Introducing Beacon Metrics, a package Laravel app metrics. Handles aggregate values, compare to previous period, and trends using a simple fluent API.

Still needs more tests before release, feedback appreciated!

15.04.2025 17:46 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Beacon Preview
Beacon Preview A preview of Beacon β€” a feature flag management platform for Laravel and Laravel Pennant. Manage all of your feature flag state from a centralized location across all applications and environments. https://beacon-hq.dev Chapters: 0:00 Introduction to Beacon 0:34 Logging In, 2FA, and Teams 1:20 A

In case you missed it earlier today, I'm excited to share the first video preview of Beacon, a Feature Flag Management Platform for #Laravel. Beacon provides a central place for managing Pennant feature flag configurations across all of your Laravel apps

Watch now: youtu.be/0yTkINxeUY4

#php

31.03.2025 21:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Windsurf Editor by Codeium Tomorrow's editor, today. Windsurf Editor is the first AI agent-powered IDE that keeps developers in the flow. Available today on Mac, Windows, and Linux.

@nunomaduro.com showed off Windsurf from Codeium the other day (codeium.com/windsurf), I preferred it over Cursor, but mainly just use Github Copilot in phpstorm.

31.03.2025 21:20 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Beacon Preview
Beacon Preview A preview of Beacon β€” a feature flag management platform for Laravel and Laravel Pennant. Manage all of your feature flag state from a centralized location across all applications and environments. https://beacon-hq.dev Chapters: 0:00 Introduction to Beacon 0:34 Logging In, 2FA, and Teams 1:20 A

Today, I'm excited to share the first video preview of Beacon, a Feature Flag Management Platform for #Laravel. Built on top of Laravel Pennant, Beacon provides a central place for managing feature flag configs across all of your Laravel apps & environments.

Watch now: youtu.be/0yTkINxeUY4

#php

31.03.2025 16:05 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

That's 10 years in developer advocacy for you! If a feature isn't documented, it doesn't exist.

I could do with some more intro and tutorial/how-to docs, but as a reference it's pretty complete I hope!

29.03.2025 22:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Optionals | Bag Immutable Value Objects for PHP 8.3+

I just released Bag 2.5 with added support for Optional Properties. Really happy with how this turned out!

You can read the docs at bagvalueobjects.com/...

#Laravel #PHP

29.03.2025 21:17 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Yeah, I'm not going to any countries that are anti-LGBTQ+… and now I seem to find myself living in one as an immigrant. I am unlikely to have any issues in the real world but I'm considering my public words very carefully right now as I figure out my risk.

28.03.2025 09:35 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Chris Pratt Has Been In Many Controversies Over the Years, So Let's Break Them All Down Despite his fame, Chris Pratt remains a controversial figure in Hollywood. Here's a breakdown of all of Pratt's controversies.

I watched this last week and forgot about it until you said something.

Let's not forget that the lead actor is a shitheel though. www.themarysue.com/chris-pratt-...

28.03.2025 09:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This is so awful, in general and for you specifically. I'm sorry. 😞

28.03.2025 09:25 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
feat: add support for Optionals by dshafik Β· Pull Request #94 Β· dshafik/bag fixes: #87 implements: #88 Optionals Bag supports optional parameters using the Optional class. Optional parameters are parameters that can be omitted when creating a Bag object, and will automati...

Excited for Optional support being added to Bag in the forthcoming 2.5 release! You can see the PR here with full documentation: github.com/dshafik/b...

The only open question is whether to overload `Bag->has()` as a variadic, or add `Bag->hasAll()` and/or `Bag->hasAny()`. Feedback appreciated!

28.03.2025 08:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Wait a minute, the Composer mascot is a conductor, and the Conductor mascot is a *checks notes* PILOT?

Next product clearly needs to be called Pilot, I don't make the rules.

Buy Microsoft if you have to in order to avoid litigation.

/cc @naderman.de

02.03.2025 02:11 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

New feature incoming for Bag: Support for Laravel Debugbar!

If you want to try it out for yourself, I'd love some feedback! To install, run:

composer require dshafik/bag:dev-laravel-debugbar

I still need to write tests, and then I'll push this out with Bag 2.4!

27.02.2025 12:43 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
What's New in Bag 2.1 | Bag Immutable Value Objects for PHP 8.3+

This weekend saw the release of Bag 2.1, and alongside if I have pushed out versioned documentation with a "What's New" and "Upgrade" docs for 2.x. I plan to keep separate docs for each 2.x release til 3.x, when I will compress them like 1.x:

✨ bagvalueobjects.com/...
⬆️ bagvalueobjects.com/...

27.01.2025 08:32 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Twitch Twitch is the world's leading video platform and community for gamers.

Going live now for a coding session on Beacon!

Twitch: www.twitch.tv/daveys...

YouTube: www.youtube.com/watc...

#Laravel #PHP #Beacon

10.01.2025 01:33 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Release Breaking Changes: Support for Union Types & Fill Nullables Β· dshafik/bag What's Changed Support union types by @dshafik in #65 Fill Nullables by @dshafik in #65 Breaking Changes This release has one major breaking change, and a minor breaking change: Casting with ...

I just released v2.0 of Bag with support for Union Types and Fill Nullables:

github.com/dshafik/b...

The former is a BC break (in the Casting interfaces, if you don't use custom casts, no changes are needed) and the latter is a minor behavior change for better QoL.

05.01.2025 22:40 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Release Manual Validation, To Collection, PHP 8.4 support, Bug Fixes Β· dshafik/bag What's Changed fix: use the applications Laravel validator when available by @dshafik in #60 feat: Add toCollection() method by @dshafik in #61 feat: Add better support for optional validation...

Just released: Bag 1.4.0 with several quality of life improvements when using it with #Laravel controller injection.

It also finalizes #PHP 8.4 support (only two deprecation notices about implicit nulls I missed), and a bug fix when using Inertia.

Details here: github.com/dshafik/b...

03.01.2025 18:07 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Steelcase are the best I've found for quality and ergonomics. Might check to see if they have anything that meets your aesthetic needs.

02.01.2025 13:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
[11.x] Add the ability to lazily resolve route model binding by dshafik Β· Pull Request #54053 Β· laravel/framework I ran into the behavior that was reported in #44177 and am proposing this addition to help resolve it by deferring the query until the model is used. To be clear: this changes no existing behavior....

Following up on yesterday's silliness, here's a PR with tests (and lots of changes) to add the LazilyResolveRouteBinding trait to Laravel core.

Should probably be called `DeferRouteBinding` or something better. I expect Taylor will figure it out πŸ™ƒ

github.com/laravel/f...

#Laravel #PHP

01.01.2025 12:28 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Lazy Load Models after Route Binding Lazy Load Models after Route Binding. GitHub Gist: instantly share code, notes, and snippets.

Models are resolved using the `Model::resolve*()` method, which you can… subvert. Here's a simple trait (w/example) that will defer resolving. You can explicitly or implicitly resolve the model on first use (with most common usage).

gist.github.com/dsha...

What do you think, PR? Package?
2/2

31.12.2024 15:25 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0