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.

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!

PHPStan — How to Use It
Laravel

PHPStan — How to Use It

PHPStan is a static analyzer for PHP. It reads your source code without running it and catches common errors even before you run tests or deploy. Besides PHPStan, there are other alternatives like Psalm and Phan. But PHPStan is much more popular, boasting more GitHub stars, more downloads, and significantly better performance.

Laravel Pipelines: Optimizing Complex Web-Development
Laravel

Laravel Pipelines: Optimizing Complex Web-Development

Laravel Pipelines is a lesser-known but powerful feature of Laravel that is not documented in the official Laravel documentation. However, this tool is widely used within the framework for performing sequential operations. In this article, we will explore how Laravel Pipelines can be beneficial in CRM development and provide examples of its use, adhering to clean architecture principles and Domain-Driven Design (DDD).

Implementing the Approval Workflow pattern in Laravel
Laravel

Implementing the Approval Workflow pattern in Laravel

Risky operations in applications require special attention. Let's say you want to recalculate penalties, send a penalty notice, or terminate a contract - all of these actions can negatively impact your business if performed incorrectly. In such cases, the Approval Workflow pattern allows you to first capture the transaction for later administrator approval, and then securely execute it.

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.

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.

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.

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, 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