@tvbeek@phpc.social avatar

tvbeek

@tvbeek@phpc.social

Dutch web developer, working with PHP.
Love to spend some time on opensource projects and helping other people.

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

tvbeek, to random
@tvbeek@phpc.social avatar

The workday after is a good moment to look back as a team. It was a great conference with multiple learning points that already result in action points.
Thank you @dpc_ibuildings for the organization!

tvbeek, to random
@tvbeek@phpc.social avatar

@Skoop Thank you for your Sustainable open source contributions in your business talk during . You made one of my colleagues enthousiast to start contribution to open source 👍

tvbeek, to random
@tvbeek@phpc.social avatar

@jrf_nl thank you for your Gitting things done talk during . I know from the method that it was good and 2 of my colleagues went and have learned a lot. They say that it was one of the best talk of the day. 👍

denniskoch, to Laravel
@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, …

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.

tvbeek, to random
@tvbeek@phpc.social avatar

Ready to pack my back for
It will be very early tomorrow morning but it will be worth it.

rdohms, to random
@rdohms@phpc.social avatar

Friday I'll be back on stage at @dpcon talking about the Individual Contributor's path.

This talk will be full of anecdotes, lessons learnt and industry material about trailing the path of an IC and understanding how to have impact in your company.

https://phpconference.nl/session/the-individual-contributor-path/

tvbeek,
@tvbeek@phpc.social avatar

@rdohms @Skoop I think your talks will be extra special if you making a picture from the other presenting without stopping your own talk 😆

(And I don't like it that you have the same time slot because I didn't decide yet which one I will join)

OndrejMirtes, to random
@OndrejMirtes@phpc.social avatar

PHPStan HQ 🚌🚇 Prague 🚊 Berlin 🚆 Amsterdam @dpcon

tvbeek,
@tvbeek@phpc.social avatar

@OndrejMirtes @dpcon have a good trip!
I'm looking forward to your workshop tomorrow.

jrf_nl, to Evernote
@jrf_nl@phpc.social avatar

Hivemind: i need your help!

What are people using nowadays as an alternative to (on Windows) ?

Preferably an alternative in which I can import existing notes.

tvbeek,
@tvbeek@phpc.social avatar

@jrf_nl Can you explain why @joplinapp is the winner? Or is it more about a personal taste?

I'm myself looking to move from Evernote and are very interested to learn more 😃

tvbeek,
@tvbeek@phpc.social avatar

@jrf_nl this helps a lot, thanks!

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

Life of the Staff Software Engineer — 6 hours over two days of step-debugging a failed test, and going over ALL the tests, and checking my test factories, to discover deep in the code I was using a datetime library wrong.

tvbeek,
@tvbeek@phpc.social avatar

@sarah @grmpyprogrammer @derickr can you explain why? I'm interested to learn.

tvbeek,
@tvbeek@phpc.social avatar

@Crell @grmpyprogrammer @derickr that is the difference between Carbon and CarbonImmutable.

vansari, to php German
@vansari@phpc.social avatar

Do you use the composer audit option in your CI/CD Pipeline and if so how do you use it?

I have implemented it very simple and all security vulnerabilities and abandoned packages must be fixed before the pipeline continues. The reason is that we don’t want this issues in our production code anymore.

tvbeek,
@tvbeek@phpc.social avatar

@vansari It is a blocking job on our develop branch. And on our deploy branches it is a warning.

On this way we can see if there is a problem and decide if it is needed to create an hotfix or not.

MarkBaker, to random
@MarkBaker@phpc.social avatar

Does anyone know if there is going to be an unconference track at ?

tvbeek,
@tvbeek@phpc.social avatar

@MarkBaker I think @dpc_ibuildings knows it 😉

heiglandreas, to php
@heiglandreas@phpc.social avatar

The longer I work in this industry the more I love the ideas behind DDD and Hexagonal architecture.

Especially to clearly separate your own code from any third-party code.

It makes writing tests so much easier when you don't have to jump hoops over 40 lines to cater for some framework odditiy because of some inheritance before you can actually test your own logic in 3 lines.

But OTOH: Who writes tests.

Writing tests is at least as dead as ...

tvbeek,
@tvbeek@phpc.social avatar

@heiglandreas I really like how writing tests helps you in finding problems in the architecture of your code.
It is one of the advantages of a good testsuite (beside your trust in the application)

outofcontrol, to random
@outofcontrol@phpc.social avatar

Is there a best practices on upgrading a PHP package that appears no longer maintained, but you need it to get up to Laravel 10?

tvbeek,
@tvbeek@phpc.social avatar

@outofcontrol depends on the situation.

First of all do you still use the package or is it just there?

If yes then you can choose between.
1: fork it and use your fork.
2: replace it with another package.
3: move the functionality that you use inside your project.

I prefer to start with option 1 and then create a ticket to decide what is the best for the long term. Option 2 or option 3 depend a lot on the project, package and available alternatives.

rubenaarts, to php
@rubenaarts@mastodon.social avatar

Yesterday @jrf_nl gives a great talk about PHP_CodeSniffer ( @phpcs ) at

She told us the importance of funding opensource projects and there is is not enough spoken about this. It was a critical warning that there are just a few people in the community where the hole community is depending on.

So lets talk more about how to support these great opensource projects.

tvbeek,
@tvbeek@phpc.social avatar
grmpyprogrammer, to Laravel
@grmpyprogrammer@phpc.social avatar

peeps — what is your go-to resource for advanced Eloquent scopes? Can’t seem to quite get what I want working :(

tvbeek,
@tvbeek@phpc.social avatar

@grmpyprogrammer for me is https://eloquent-course.reinink.ca/ a good resource.
Side note, I don't use the scopes itself a lot but prefer to build the query with eloquent in a repository.

Do you have specific situations where you have a problem with realising?

sebastian, to random
@sebastian@phpc.social avatar

Woke up and released 11's dependencies before breakfast. I already have a 11.0.0 tag, but have not pushed it yet.

After I had some tea, I will run some final tests and then push the tag, publish the PHAR, update the website, start the development of PHPUnit 11.1, etc.

tvbeek,
@tvbeek@phpc.social avatar

@sebastian enjoy your tea and thanks for everything you do!

dseguy, (edited ) to php French
@dseguy@phpc.social avatar

There is a squad @ dailydev which is dedicated to for sharing knowledge about PHP and its ecosystem.

Share and read your blog posts and article there!

https://app.daily.dev/squads/phpdev

tvbeek,
@tvbeek@phpc.social avatar

@dseguy you missed the protocol ( https:// ) for the link. Luckily you can edit you tooth 🙂
And thanks for the interested resource!

grmpyprogrammer, to Laravel
@grmpyprogrammer@phpc.social avatar

First fight I have apparently picked with 10 is my desire to use the repository pattern for some data access where I am doing a bunch of joins and I used the query builder. What other approaches should I consider using?

tvbeek,
@tvbeek@phpc.social avatar

@grmpyprogrammer we use the repository pattern and return DTO/ value objects (or a typesafe collection with DTO's or value objects)
The models are only used in the repository in combination with the query builder.
It isn't default in but very powerful if it fits your project.

So if it fits your situation, just use it. That some people don't know it doesn't make it bad.

robertnicjoo, to Laravel

I think is moving toward being paid framework by each release and planning to hang its community!

Since they introduced “laravel shift” and it didn’t get very popular they started in laravel 8 dropping html package and everyone was forced to change all their forms to html code instead of using old known {{Form::open()}}, in laravel 10 to mess more with community made routing system redesigned to make it harder for manual upgrades.

Now in laravel 11 they removed configs and lots of vendor files.

Note: I’m aware that bringing back config files takes simple command line, but why make all the trouble? (If ain’t broken don’t touch it) right? We’ve been dealing with config files for 10 versions and nobody even once complained of their existence so why would you want to remove them?!

tvbeek,
@tvbeek@phpc.social avatar

@robertnicjoo saying that it is moving toward being a paid framework because a third party provides a paid tool to help with the upgrade is a strange way of saying that you don't like a change.

The framework keeps evolving and for every change there will be people who don't like it. But the amount of breaking changes isn't that high especially if you think back to the migration from 4.x to 5 or the different 5.x to 5.y migrations.

wyri, to LEGO
@wyri@haxim.us avatar
tvbeek,
@tvbeek@phpc.social avatar

@wyri the temporary location above your personal cloud is a nice match.

jaapio, to php Dutch
@jaapio@phpc.social avatar

Scary thought... Did you know that a large number of infrastructure projects are maintained by 1 single person, some 2 or 3... But the original maintainer has been doing that for more than 20 years+ what would happen if they step down?!
They will retire at some point... Who will take over? Shouldn't we invest in the future and start education on how to maintain a opensource project with millions of users?

tvbeek,
@tvbeek@phpc.social avatar

@jaapio the moment someone retired result in some important questions.
Who is willing to take over?
And does the original maintainer want to give access to other people or not. (If not, is it possible to great a fork that will clearly replace the original project)

For me it was the moment to give some spare time to @phpmd and @pdepend

tvbeek,
@tvbeek@phpc.social avatar

@jaapio thanks, the process also shows another problem. 10 people say they want to help, only 3 really did something. And now we have a fourth person we is part of the team.

tvbeek,
@tvbeek@phpc.social avatar

@ramsey I went through it quickly and sounds like a interesting plan.

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