← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. Unleash the Power of Simplicity: PHP CLI App with Minimal Dependencies

    I have a couple of open-source CLI apps like Rector, ECS, Class Leak, Config Transformer, Monorepo Builder and Lines, and private ones like Cleaning Checklist, Fixai, Private Rector and Entropy.

  2. Experiment: How I replaced Symfony DI with Laravel Container in ECS

    This year I've been learning Laravel and quickly adapting to most of my tools.

  3. How to avoid Maintaining Classes you Don't Use

    PHPStan and static analysis help us with detect unused private methods.

  4. Two Kinds of Legacy Code Upgrade

    I often speak with project owners or CTOs, who ask for help with legacy project upgrades.

  5. Moving from Disqus to Twitter to make Know-how Sharing Easier

    Discussion were always important part of my blog.

  6. What I prefer about Laravel Dependency Injection over Symfony

    Regarding Laravel, one of the biggest "no"s in 2022 was how it handles passing services around the project.

  7. Introducing Bladestan - PHPStan analysis of Blade templates

    This Tuesday, I was a guest in [2nd podcast of PHP Portugal](https://twitter.com/VotrubaT/status/1639241043248836610) folks.

  8. To Route or To Action - That is the Question

    This week I've been working a lot on GPT in [Testgenai.com](https://testgenai.com/).

  9. Introducing Punchcard - Object Configs for Laravel

    What would you like to ride on a highway: a city bike or a Tesla car?

  10. Why I Migrated This Website From Symfony To Laravel

    It's been exactly a week since I migrated this website from Symfony to Laravel.

  11. How to ask DaVinci and Codex to get the right answer

    Last week, I kicked off the first post about [tips and tricks with GPT](/blog/lets-share-fails-and-tricks-with-gpt).

  12. Run Config Transformer Everyday to keep YAML Away

    Have you moved your Symfony configs from YAML to PHP with the help of [Config Transformer](/blog/2020/07/27/how-to-switch-from-yaml-xml-configs-to-php-today-with-migrify/)?

  13. Lets Share Fails and Tricks with GPT

    Last week, I had many interesting discussions about OpenAI and GPT on [Laracon in Porto](https://laracon.eu/).

  14. Good Bye, Monorepo

    I've been using monorepo for almost a decade, and I was thrilled with that.

  15. How can we Generate Unit Tests - Part 2: Building Scoring Script

    I kicked off the [unit test generator](/blog/how-can-we-generate-unit-tests-part-1-testability-score) idea with the first post a week ago.

  16. How can we Generate Unit Tests - Part 1: Testability Score

    As you have noticed, apart from writing micro-packages for PHPStan, my passion is exploring the field of **generated unit tests**.

  17. How to release PHP 8.1 and 7.2 package in the Same Repository

    In a post from autumn, we looked at how to [develop packages in monorepo on PHP 8.1 and release a downgraded version on PHP 7.2](/blog/how-to-develop-sole-package-in-php81-and-downgrade-to-php72/).

  18. How to Measure Your Type Coverage

    When we come to a new code base, we look for a code quality metric that will tell us how healthy the code base is.

  19. How to Develop Sole Package in PHP 8.1 and Downgrade to PHP 7.2

    The PHP downgrades are a thing.

  20. 8 News in Config Transformer that Converts Symfony YML to PHP

    If you have not switched your [Symfony configs from YAML to PHP](/blog/2020/07/27/how-to-switch-from-yaml-xml-configs-to-php-today-with-migrify/), there no better time like present.

  21. Can PHPStan find Dead Public Methods

    This bold question has been around PHP Internet for many years...

  22. Twig Smoke Rendering - Fortune Favors the Bold

    In the previous post, we set on [journey of fails](/blog/twig-smoke-rendering-journey-of-fails) with ups and downs.

  23. Twig Smoke Rendering - Journey of Fails

    In previous post, we explored [the "whys" for Twig Smoke Rendering](/blog/twig-smoke-rendering-why-do-we-even-need-it).

  24. Twig Smoke Rendering - Why do we Even Need it

    Two weeks ago [our upgrade team started](https://getrector.com/hire-team) to upgrade Twig 1 to 2 and Latte 2 to 3 for two clients.

  25. 5 Pitfalls of Upgrade to Native PHP Enums and How to Avoid Them

    Native PHP Enums came almost a year ago in PHP 8.1.

  26. How to Make Configs like RectorConfig or ECSConfig for your Symfony Project

    We've introduced a new way to configure PHP tools on Symfony DI.

  27. New in ECS: Simpler Config

    ECS runs on Symfony container configuration to build the service model.

  28. How to test Symfony Routes to make Huge Refactoring Safe

    The beauty of [pattern refactoring](/blog/2019/04/15/pattern-refactoring/) with Rector is transforming thousands of elements at once.

  29. How to Remove Dead Mock Calls from PHPUnit Tests

    We're going to visit a foreign country where living costs are just 1/3 of ours.

  30. 5 Constant Lists That Give Context to your Integers and Strings

    [Native enums](https://php.watch/versions/8.1/enums) is a new PHP 8.1 feature.

  31. How to Create Symfony Kernel for Tests with Different Configs

    How can we create 2 tests scenarios for the Symfony Kernel project with 2 different parameters?

  32. Get Rid of Mixed Callables with PHPStan

    Working with PHPStan on level 8 is a luxury, at least for a project where you've just introduced it.

  33. Not all Mixed Types are Equally Useless

    Do you have a big project where you try to raise the PHPStan level as high as possible?

  34. How to Run Naked Unit Tests in a New Legacy Project

    You know the situation.

  35. Decomposing Symfony Kernel: What does Minimal Symfony Bundle Do

    In the previous post, we looked at [When Symfony Http Kernel is a Too Big Hammer to Use](/blog/when-symfony-http-kernel-is-too-big-hammer-to-use).

  36. When Symfony Http Kernel is a Too Big Hammer to Use

    I've been a big fan of Symfony components for ages.

  37. 5 Commands from Easy CI that Makes Your CI Stronger

    Sometimes my clients need a specific CI check that spots tiny but annoying bugs, and they cannot be discovered by PHPStan, Rector, or coding standard tool.

  38. Introducing up-to 16 Times Faster Easy Coding Standard

    Do you use [Easy Coding Standard](https://github.com/symplify/easy-coding-standard)?

  39. 7 Steps to Start with Parallel Run in PHP CLI App

    To be honest, I have no idea what I'm doing.

  40. Hidden Productivity Costs of Parallel Run

    Have you enabled parallel run in PHPStan and ECS?

  41. Parallel in PHP for Dummies Cooking a Family Dinner

    Would you like to **understand parallel in PHP apps**?

  42. STAMP #5: How do we Know Types of Template Variables

    In the previous post, we finished the conversion of [TWIG to PHP, run PHPStan on temporary PHP file and got list of found errors](/blog/stamp-4-how-to-run-phpstan-rules-on-temporary-php-file).

  43. STAMP #4: How to Run PHPStan Rules on Temporary PHP File

    In the previous post, we finished the conversion of [TWIG template to clean and objective PHP](/blog/stamp-3-how-to-turn-twig-helper-functions-to-origin-object) that PHPStan can analyze.

  44. STAMP #3: How to Turn TWIG Helper Functions to Origin Object

    In the previous post, we looked at [*how* to turn Messy TWIG PHP to something useful](/blog/stamp-2-how-to-turn-messy-twig-php-to-something-useful) in general.

  45. STAMP #2: How to Turn Messy TWIG PHP to Something Useful

    In the previous post, we looked [at *how* to compile TWIG to raw PHP](/blog/stamp-1-how-to-compile-twig-to-php).

  46. STAMP #1: How to Compile Twig to PHP

    In the previous post, we looked [at *why* and *when* static analysis of templates matter](/blog/stamp-static-analysis-of-templates).

  47. STAMP #0: Static Analysis of Templates

    Today we have static analysis checking every line of our PHP code - with PHPStan, Psalm, and PHPStorm.

  48. How to Easily Protect your Code Base from Commented PHP Code

    When it comes to merging huge pull-request, here and there, a bit of commented code slips to our codebase.

  49. How I made Huge Mistake with Interpretation of Laravel Downloads

    The [PHP FW Trends](/blog/sunsetting-php-framework-trends) project was introduced 2 years ago to compare download statistics over "what they say on the internet".

  50. A Week in a Life of Employed Open‑Source Developer

    Would you contribute an open-source project if it would help your private one?