Categories
DevOps Linux PHP

How To Deploy Laravel Application On Ubuntu 22.04

Today I will tell you how to deploy a Laravel application on ubuntu using LEMP sever. In order to do that we need several things to setup. Which are followings. Let’s start setting up everything. I am using clean/fresh ubuntu 22.04 installation for this tutorial. However You are free to continue with your existing installation. […]

Categories
PHP

Run Composer Commands Programmatically

Don’t you want to manage your dependencies programmatically? Why do you need it? There could be certain reasons. Some of these are the following. The most common reason; you don’t have access to the terminal and you want to manage your application’s dependencies programmatically. As a web developer, if you have worked with Laravel; you […]

Categories
PHP

How To Use Composer Command Without Installing It

Are you tired of running unsuccessful composer commands which throw PHP incompatibility errors and you are handling these errors by keep uninstalling/installing composer with different PHP versions?The real problem:-For example, you have multiple projects on your localhost or production server and some of them use composer as a dependency manager and the projects use different […]

Categories
PHP

Manage Running Processes

Do you want to manage running processes on your server? If your answer is yes, This article is for you. You may have heard about Symfony/Process. You can say it’s a replacement for shell_exec and exec functions. So we need to play with Symfony Process to achieve our target. I am assuming that you have […]