Hello! Today I would like to share experience in test coverage reporting performance optimisation for PHP project.
Once we decided to measure and watch test coverage for the project. There is a Symfony components project, which partially covered by unit and integration tests.
Hello! Today I would like to review Github Actions for repository management and release automation.
I had a task to automate existing manual release preparation process(create branch, update version file etc.). There were 2 main steps: pre-release and post-release. Another task was to automate some post release steps(create tag/release, merge branches, remove release branch etc.).
Hello everyone! Today I would like to describe the method of fixtures organisation in Symfony based web-application with Codeception Doctrine2 module.
Usually fixtures are used for testing data generation. Most common case usages are integration tests. Symfony's fixtures are implemented within DoctrineFixturesBundle package.
Hello everyone! Today I would like to share my experience of creating a simple service for managing feature flags. Feature flags allow you to enable or disable some specific functionality in an application. It does not require re-deploy or rollback. Only need to enable or disable a specific feature flag. Besides that, flag checks should be added at some points in the source code.
For example, we need to add a contact form to the website, but it's also important to quickly revert changes if needed.
Then we would create
contact-form feature flag and check it when displaying the form and in the form handler.
Hello everyone! Today I would like to talk about working with a foreign company through an individual entrepreneur, as well as receiving payment in foreign currency. The main idea is to work for a foreign company, without intermediaries, in compliance with all requirements. And receiving payment in dollars.
The article may be interesting and useful for those who are going to start with a foreign company but do not know where to start. Also, it may be of interest to employers planning to hire individual contractors for software development.
Hello! Today I would like to share my experience of improving Docker performance on macOS with Mutagen.
Docker on macOS has performance issues by default. It's related to mounting volumes and osxfs file system. It seriously affects applications with many I/O operations. So, a Symfony-based web application can handle a request for a few seconds.
Hello! Today I would like to describe visiting PHP Russia 2021 conference. It was on June 28 in Moscow, in Radisson Slavyanskaya space.
It was the second PHP conference in Russia. Initially, it should be in 2020, but it was postponed several times because of Covid-19 and related limitations. Finally, the conference moved to June 28. There still were some, if it will be in that day. Fortunately, it was as scheduled.
Hello! Today I would like to share my experience of using Docker on Windows.
Recently I tried to run one of my projects on Windows 10. I use Linux as my development environment and run projects in Docker. Docker works great on Linux.
Previously I also tried to use Docker on Windows/Mac, but all the time I had different issues. Finally, I just installed Linux into Virtualbox and used Docker there.
Everything becomes better when WSL was introduced in Windows 10. WSL creates a Linux environment in Windows 10. It's not just a virtual machine, Linux is somehow integrated into the host environment. WSL2 is compatible with Docker for Windows.
Hello! Today I would like to share PHP-CS-Fixer configuration for PHP project. PHP-CS-Fixer is used for automated code formatting based on specific rules, for example, PSR standards.
PHP-CS-Fixer would help to improve code quality. Following code quality standards would make project code base better for understanding and simplify development in general. It also would optimize code review process.
Hello! Today I would like to share Psalm code analysis configuration for PHP(Symfony) project. Then I'm going to demonstrate html report generation and integration with Github Actions.
Psalm is a static analysis tool for finding errors in PHP applications. There is live demo on its website.
Initially I configured Code Coverage Analysis for this blog. Then I also made it for one of my open source projects - placeholder-service. Idea behind is to make it more clear and share all configs.