Welcome to the blog section of PHP programmist Sergey Emelyanov

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

Showed blogs by tag: Laravel

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!

Leveraging Custom Query Builders in Laravel
Laravel

Leveraging Custom Query Builders in Laravel

In the realm of web development, query builders play a vital role in database management. Essentially, a query builder is an interface that allows you to construct a query in a dynamic and programmatic way. It helps to create SQL queries with a fluent and more readable interface.

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.

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.

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.

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.

Using Enums in Laravel
Laravel PHP

Using Enums in Laravel

Enum is a data type in programming, whose set of values ​​is a limited list of identifiers. In short, Enum is a datatype for categorizing named values. They can be used in a wide variety of locations. For example, instead of hard-coding blog post statuses, they can be moved into a separate Enum class.

How to implement DTO in Laravel
Laravel PHP

How to implement DTO in Laravel

In my work, I try to adhere to such a principle that the code is minimally dependent on the framework. So that it can be quickly transferred to another engine if necessary. To do this, we must be minimally tied to concepts such as Model or Request.

Laravel Mix - how to use it?
Laravel

Laravel Mix - how to use it?

Laravel Mix was previously known as Elixir and was supplied as a separate plug-in for Laravel. Since version 5.4, it has been included in the official delivery of the firewall, and in this article I will go over the most important points of the plug-in and we will learn how to take advantage of all its advantages.

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.

How to set higher priority for Yes
Business

How to set higher priority for Yes

I see how many bloggers write about how important it is to say "No" and then often see comments such as "Excellent", "It is very important to set priorities correctly." An interesting point for me is that when someone writes that he learns to say no, this means that he already knows how to say yes.

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, and Vue.js. 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