|
You are here |
symfony.com | ||
| | | | |
tomasvotruba.com
|
|
| | | | | Using PHPStan is not just about getting to level 8 with less than 100 ignored cases. Yes, there are also [official extensions](https://packagist.org/?query=phpstan%2Fphpstan-) that improve the type support of Symfony, Doctrine, and Laravel projects. But more rules are needed to get our PHP project into a future-proof state. **It takes less effort than getting to level 5 and we can use them since day one**. That's why I love them so much. | |
| | | | |
tomasvotruba.com
|
|
| | | | | I wrote the [Do you Autowire Services in Symfony? You can Autowire Parameters Too](/blog/2018/11/05/do-you-autowire-services-in-symfony-you-can-autowire-parameters-too/) almost 2 years ago. It seemed like a good idea at that time, to save manual YAML config wiring. Now, with [PHP configs](/blog/2020/07/16/10-cool-features-you-get-after-switching-from-yaml-to-php-configs/) on the Symfony markets, auto bind parameters became obsolete. Welcome **constant parameters**. | |
| | | | |
richardmiller.co.uk
|
|
| | | | | Background I am recreating Lime Thinking's current website [http://www.limethinking.co.uk] using Symfony2 [http://symfony.com/], much of the site is made up of what are effectively static pages. The main content of the page is stored as an XML file which then has the overall XSL template | |
| | | | |
blog.theamazingrando.com
|
|
| | | The point of this post isn't to convince you of the usefulness of Dependency Injection there's been plenty of pixels spilled about it already. Instead, I want to talk about using Dry::Container to alleviate some of the pain points that DI introduces. | ||