Welcome to the blog section of PHP programmist Sergey Emelyanov

In this section you will find useful information regarding programming with Vtiger CRM, Laravel and Wordpress.

Blog of private php programmist Sergey Emelyanov

I like to write how I solved certain difficulties and share interesting features with the developer community. Here you will find solutions to various tasks in Vtiger CRM and Laravel. If you have any questions - ask!

Laravel Eloquent: build categories tree in json format
Laravel

Laravel Eloquent: build categories tree in json format

Often, online stores have products grouped by categories and subcategories, while the number of subcategories and their nesting can be unlimited. In this article, I will show you how you can use Eloquent to pass category nesting to the API to quickly display a tree.

Sending Webhook from Laravel to VtigerCRM
VtigerCRM Laravel

Sending Webhook from Laravel to VtigerCRM

The most common task that faces during development of various portals or online stores is integration with third-party systems such as CRM or ERP. And most often, to quickly update the data, you have to use Webhooks. For example, a client placed an order and the data on it must be quickly sent to CRM so that a deal is created in it, tasks are set for employees, an alert is sent, and so on. In this article, I will talk about a typical integration example, we will send simple data in such a way that it can be easily scaled in the future. We will also discuss the pitfalls that may arise during integration and how to solve them painlessly.

Optimizing PostgreSQL Database Performance
SQL

Optimizing PostgreSQL Database Performance

In practice, any developer or system administrator encounters a terrible problem - the database slows down. The server is running slowly, something strange is happening, users are complaining, the client is angry. It was not for nothing that I wrote that the problem is terrible, first of all because the solution here will not be obvious and it does not lie on the surface. Many parameters can affect database performance.

How to Mock Objects in PHPUnit and Laravel
Laravel PHP

How to Mock Objects in PHPUnit and Laravel

In the process of studying and writing tests, the most difficult topic for me was the issue of creating fake objects, and therefore I often bypassed this process and rarely used all the features. But today, when I have a clear understanding of this topic, I decided to write a short article on creating Mock objects.

How to organize communication between domain entities in Laravel
Laravel

How to organize communication between domain entities in Laravel

In developing projects, I often adhere to the architectural pattern of Porto. I am attracted by the simplicity of its organization and the availability of a ready-made solution on Laravel. Its essence is to move all business logic to Actions, and smaller features to Tasks, and transfer interaction with the database from Repositories. Ultimately, the project is easy to scale, easy to test, and adding new functionality is much faster.

Popular Posts

My most popular posts

Maximum productivity on remote job
Business

Maximum productivity on remote job

I started my own business and intentionally did my best to work from anywhere in the world. Sometimes I sit with my office with a large 27-inch monitor in my apartment in Cheboksary. Sometimes I’m in the office or in some cafe in another city.

Hello! I am Sergey Emelyanov and I am hardworker
Business PHP

Hello! I am Sergey Emelyanov and I am hardworker

I am a programmer. I am an entrepreneur in my heart. I started making money from the age of 11, in the harsh 90s, handing over glassware to a local store and exchanging it for sweets. I earned so much that was enough for various snacks.

Latest News

Developed an interesting application for learning foreign words using flashcards. You can download it for free, deploy it on your server and use it. Made with Laravel + Vue.js. Create your own vocabulary list or import list of popular words. Learn words anytime, anywhere. You can watch a video by clicking on image

Hire Professional CRM developer for $25 per hour

I will make time for your project. Knowledge of Vtiger CRM, SuiteCRM, Laravel, Vue.js, Wordpress. I offer cooperation options that will help you take advantage of external experience, optimize costs and reduce risks. Full transparency of all stages of work and accounting for time costs. Pay only development working hours after accepting the task. Accept PayPal and Payoneer payment systems. How to hire professional developer? Just fill in the form

I usually get a call back within a few hours. But if I have a heavy workload, I may call you back the next day. So please be patient. Or if you have an urgent question, you can call me directly. I will do my best to help you.

Or just call: +79876757777

Telegram: @sergeyem