Build a Simple Deployer with Go by Using the Github Webhooks

In my journey to learn Go, I decided to start write about the topics that I’m learning. This technique known as Feynman Learning Technique. I have done this long time ago when I wanted to learn PHP, I started a blog in Persian, and start to write about everything I was learning about PHP. These articles might not be useful for experienced programmers, but it helps me to have a deep understanding about the stuff I’m going to learn. In this article, I want to write a simple deployer by using Github Webhooks. Anyway, please let me know if you find any issues or mistakes. We can disscuss about it and we can learn together.
Read more

How to write a PHP Youtube video downloader

PHP is not the best language for writing a download manager, but in this article, we are going to learn how we can download videos from Youtube. Because PHP does not support multithreading, we cannot make a proper download manager that split the file into several chunks and download it concurrently. There are some ways to add multithreading to PHP, but for the sake of this article, we won’t go through those ways and will stick to single threading.
Read more

How to Authenticate User in Symfony 5 by Jwt

Introduction Nowadays, when we are talking about web development, regardless of the type of application or the programming language, one of the first things that come to mind is how to authenticate users. There are many types of authentication ways for this purpose such as login form, oAuth, JWT, API token, etc. Reliability, security, easy to use and widely supported in many platform and languages make JWT one of the most popular authentication protocols in the web ecosystem.
Read more

What I Learned in 2018

Today is the last day of 2018. This year, at least for me, was full of exciting events with an abundance of interesting happenings, which I feel makes me a better person going into 2019. Here are some of my experiences in the past year. Loneliness can’t hurt you, if you don’t want Actually, I learned it a couple of years ago, but sometimes you can forget about something important so much that maybe it will not hurt you.
Read more

Simple auto deployer with PHP

How you deploy your projects? Are you using fancy things like Jenkins with lots of features and configuration that you don’t even know about? For one of my personal projects, I needed to have a deployment tools. I tried to install and configure Jenkins but there was no chance to make it up and running. So I decided to write my own, simple deployer with PHP. Git Hooks For this article we are using Git hooks.
Read more