ziadoz
Repos
18
Followers
918
Following
343

A curated list of amazingly awesome PHP libraries, resources and shiny things.

28409
4462

My Raspberry Pi 3 setup instructions and notes

34
13

A simple script to download Bing's daily background images.

11
4

A simple utility to swap MKV to MP4 and M4A to MP3.

6
2

A virtual machine environment for web development.

5
3

A utility that delete your old tweets and favourites and turns you into a social media hermit.

2
2

Events

delete branch
ziadoz delete branch when-not-pivot-loaded
Created at 18 hours ago
Created at 1 day ago
Feature similar to withConsecutive(), but without checking order

Here's a trait that adjusts the parameters of with() to behave like withConsecutive() using callback(): https://gist.github.com/ziadoz/370fe63e24f31fd1eb989e7477b9a472

Created at 6 days ago
pull request opened
[10.x] Add methods to determine if API resource has pivot loaded

I've refactored the trait code that checks if an API resource has a pivot here into a separate method, because it makes it easier to do complex checks in a Resource, which is something I've needed to do:

$this->mergeWhen(
    $this->resource->field === 'whatever' && ! $this->resource->hasPivotLoaded('pivot_table'),
    ['foo' => 'bar'],
);

The changes here should be covered by existing tests that use PostResourceWithOptionalPivotRelationship.

Created at 6 days ago
create branch
ziadoz create branch when-not-pivot-loaded
Created at 6 days ago
Created at 1 week ago
started
Created at 1 week ago
Created at 1 week ago
Bump laravel/pint from 1.4.1 to 1.7.0

@dependabot squash and merge

Created at 1 week ago

fix brew/pure zsh bits

remove old brew path

Created at 1 week ago
Created at 1 week ago
Feature similar to withConsecutive(), but without checking order

Here's a trait that adds a method to adjust the parameters with() receives to work the same as withConsecutive(): https://gist.github.com/ziadoz/370fe63e24f31fd1eb989e7477b9a1472

Created at 1 week ago
Created at 1 week ago
Created at 1 week ago

img/vid snap

Created at 1 week ago

light theme

Merge branch 'master' of https://github.com/ziadoz/dotfiles

Created at 1 week ago
Created at 1 week ago
Created at 1 week ago
Created at 2 weeks ago
Created at 2 weeks ago
Created at 2 weeks ago
Created at 2 weeks ago
Created at 2 weeks ago
Created at 3 weeks ago
Created at 3 weeks ago
Created at 3 weeks ago
Bump ergebnis/composer-normalize from 2.29.0 to 2.30.2

@dependabot squash and merge

Created at 3 weeks ago