Can Vural

1.2K posts

Can Vural

Can Vural

@can__vural

Senior PHP Developer @StuDocu , code quality enthusiast, amateur cyclist. Passionate about OSS, cleand code and DX. Author of Larastan.

Katılım Ekim 2011
447 Takip Edilen586 Takipçiler
Sabitlenmiş Tweet
Can Vural
Can Vural@can__vural·
👋 I've updated the tiers in my Github sponsors page. Check it out and consider trying some of the buttons there 😜 github.com/sponsors/canvu…
English
0
3
11
0
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
We’re all just LLMs, aren’t we
English
3
0
9
817
Can Vural
Can Vural@can__vural·
@PovilasKorop Cache driver can be controlled via environment variables. And there are array and null drivers. That seems like a better option to me.
English
0
0
4
115
Povilas Korop | Laravel Courses Creator & Youtuber
Laravel Tip: Environment-Aware Caching Stop flushing cache every time you edit a config locally. Check `app()->environment('local')` and skip caching entirely in dev. Production gets `rememberForever()`. Best of both worlds.
Povilas Korop | Laravel Courses Creator & Youtuber tweet media
English
3
6
44
2.6K
Can Vural retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
Using PHPStan to Extract Data About Your Codebase: In this article, I’m going to show you how to use PHPStan as a data extraction tool — to query your codebase and produce machine-readable output you can use for documentation, visualization, or any other purpose.
English
2
11
56
5.2K
Can Vural
Can Vural@can__vural·
@scheel_dev @rectorphp @phpstan The config you pass to `withPHPStanConfigs` should include Larastan's extension.neon there. Also you need to add `withBootstrapFiles` call with Larastan's bootstrap.php in there. And that should do it. Running it like this for multiple projects with no problems.
English
0
0
2
23
Morten Scheel
Morten Scheel@scheel_dev·
Is it possible to run @rectorphp with the Larastan @phpstan extension? Simply adding `withPHPStanConfigs()` is not enough.
English
1
0
1
26
Can Vural
Can Vural@can__vural·
Seems to be a false positive 🤷
English
0
0
0
25
Can Vural
Can Vural@can__vural·
@datavorous_ Look I compressed 2 petabytes of data into a single character -> a. Using my custom algorithm it uncompresses into 2 petabytes.
English
0
0
0
135
datavorous
datavorous@datavorous_·
I compressed 2.87GB data into 8.9MB (!) using my custom data compressor :D There were 21k json files with cricket match data, I exploited the structure and compressed it to ~42.46 MB The best gzip could do is ~53MB, and 7z ~45MB. Then I combined my compressor + 7z and brought it down to 8.9MB It's PURE randomness, you simply can't compress it further. I had to read about Shannon entropy and algorithmic data compression Full writeup in my GitHub repo!
datavorous tweet media
English
140
157
3.6K
276.7K
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
I like this part ;)
Ondřej Mirtes tweet media
English
2
3
14
1.4K
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
Today is a big day and a big step for PHPStan: for the first time ever, I’m not the only person with merge rights on the repository. Two of the most active contributors, @markusstaab and @MisterDeviling can also merge PRs!
English
4
7
117
4.3K
Can Vural
Can Vural@can__vural·
Larastan 3.9.0 released: - Migration caching for faster analysis - parseModelCastsMethod option for better Model casts method inference - Styled bootstrap error reporting - HasUuids/HasUlids primary key fix #phpstan #laravel
English
1
4
14
1.8K
Can Vural
Can Vural@can__vural·
@OndrejMirtes My visa ends 3rd of February 😞 Otherwise I'd not miss it!
English
0
0
0
20
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
I will be at PHP UK 2026 next month! Showing you how to write custom PHPStan rules, and also trying a new thing: I’ll be in the hallway ready to pair-program with you on your own codebase during PHPStan Office Hours! Use code PHPUK26 for 10 % off the ticket if you plan to go.
English
2
1
10
733
Can Vural retweetledi
Infection PHP
Infection PHP@infection_php·
🎄 Xmas present Infection 0.32.0 has been released: - Format-presering pretty printing - new GitHub loggers with collapsable sections - Symfony 8 support; webmozart/assert@v2 support - and much more github.com/infection/infe…
English
0
9
18
1.3K
Can Vural retweetledi
Marco Gomez
Marco Gomez@TheCodeTherapy·
Rust fans: "The world MUST use Rust cause it's memory safe" ~shit goes wrong with Rust code~ Rust fans: "Bad code. Skill issue. It's down to the dev" Motherfucker if it's down to the dev, stop trying to force this shit everywhere, and let people use whatever the fuck they want
English
174
179
2.6K
93K
Can Vural
Can Vural@can__vural·
@driesvints This is actually a known big in PHPStan. At least that should make you feel a little better 😀
English
2
0
7
720
Dries Vints
Dries Vints@driesvints·
When I see things like this happen, my heart bleeds in generics 🥲
Dries Vints tweet media
English
4
0
45
6.7K