PHP

php-ratchet-socket-complete-tutorial

PHP WebSocket Tutorial using Ratchet [Secured Production Deployment on Nginx with Reverse Proxy]

In this Tutorial you are going to learn, How to use Ratchet socket library to implement web socket in a Symfony application(it applies on any other PHP framework as well). Following are the highlights of this tutorial: Creating Socket Server in Symfony using Ratchet Socket library. Broadcasting and point to point messaging. Connecting to Socket …

PHP WebSocket Tutorial using Ratchet [Secured Production Deployment on Nginx with Reverse Proxy] Read More »

Symfony logo

Solution – Why some console commands are not working in Symfony

This post is going to be a short and quick. Recently I have been working a lot with symfony and every time i face some issue turns out there is very simple solution but sometimes it doesn’t strikes as obvious solution, until we find a solution on slackoverflow or github. In this post I am …

Solution – Why some console commands are not working in Symfony Read More »

Symfony logo

Read Json in Symfony 5 controller from asset directory

We all know Symfony is awesome. Recently for some project which is in initial stages I had to read some JSON data from a file which i placed in asset/json directory. I knew about previous versions but in latest symfony I was facing problem. Googling took me to some stackoverflow pages and it actually almost …

Read Json in Symfony 5 controller from asset directory Read More »

Symfony logo

Update Symfony Installer to latest version in Ubuntu Linux

So here I was trying to create symfony 5 project but somehow as things weren’t working as per documentation. I ran command ‘symfony check:requirements’ to see if my system fulfills all requirements for latest version of symfony, but this is what i received: I was on version 1.5.11 of symfony binary, which apparently was the …

Update Symfony Installer to latest version in Ubuntu Linux Read More »

How to solve ext-bcmath missing problem on ubuntu with php

Recently I ran into a problem while setting up an application on my local machine with composer install. The problem ? This was a fairly common problem recently, I faced this while running composer, so finally I decided to figure out what exactly was the issue. I am running php7.2 on Ubuntu 19.10 and I …

How to solve ext-bcmath missing problem on ubuntu with php Read More »

How to combine Angular4 and Slim Framework applications into one application for production

This tutorial helps to get any anular4 application into the production with the PHP or any other kind of server side technology, in this one we use the slimframework but the concept remains the same with other server side technologies. Assumptions: This tutorial assumes that you are already familiar with Angular2 or Angular4 and also …

How to combine Angular4 and Slim Framework applications into one application for production Read More »

How to use google recaptcha with PHP and Javascript AJAX

This tutorial is to make you familiar with the Google Captcha it is known as Google re-captcha, very useful plugin or say api to prevent the spamming on your comment forms, this tutorial makes use of PHP and ajax How to use google recaptcha with PHP and Javascript AJAX Posted on Monday 15th December 2014. · 1437 Views Share This …

How to use google recaptcha with PHP and Javascript AJAX Read More »

Using CURL with PHP

CURL is not widely known technology but in some cases it may come as handy for example in case you want any user to provide a file download instead of the page show or to create a page which is completely depending on some other page, thus knowing a technology is handy, who knows when …

Using CURL with PHP Read More »