Category Archives: Php

Symfony on Google Cloud Run

Nowadays, two of the biggest trends in application development have been the rise of serverless and containerization. This year, Google announced a new product called Cloud Run that is designed to bring the two together. At the same time, Google also announced Cloud Run for GKE which is specifically designed to run on Google’s version… Read More »

Handling Cookie From Guzzle FileCookieJar

Today, in this article, I would like to mention about cookie concept of the Guzzle. I’ve looked over on internet about this issue but I couldn’t even find clear solution on the documentation. Well, my scenario is like this, I would like to authenticate a system by using username and password. In addition to this,… Read More »

Category: Php

Using Xdebug with Docker

I am going to show using Xdebug with Docker. Because, as long as you prefer using Xdebug on development workspace with Docker, you have to create remote connection of the Xdebug. First of all, you must have a Xdebug client. I would rather use PhpStorm for this. With this way, I am going to mention… Read More »

Automating Git Events with Github Webhook

Webhooks allow you to build or set up integrations which subscribe to certain actions on GitHub.com. When one of those events is triggered, Github sends a HTTP POST payload to the webhook’s configured URL. Webhooks can be used to update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to… Read More »

Serializer Component with Symfony

This post leads to use Serialization in our projects. But What’s the serialization and who needs that? We will answer these needful questions. They are help us to understand that obviously. Well, let’s start. What’s the serialization? For developers; It’s transforming an object to a formatted string. We would have textual, JSON, XML. On the other hand,… Read More »

Integrate Oauth2 for Symfony 4

We are going to easily integrate with KnpUOAuth2ClientBundle for Symfony 4. You can read the detail about it, https://github.com/knpuniversity/oauth2-client-bundle. Today, we integrate Google Oauth2 server but we can integrate other servers easily. For this, i adjust composer package. After installation, i have defined an Entity named User. You can run this command. Then, i am going to… Read More »

Symfony 4 Running on Docker Compose

I am developing an application to improve vocabulary. You will enter in this application the words you learned. Then, this application asks you randomly. For this, i need to establish the workspace. The workspace will become Symfony 4 on Docker Compose. It dependent Nginx, Php-Fpm and Mysql containers. Firstly, i will adjust docker-compose.yml file. Mysql is simple… Read More »

Logic of the JWT(JSON Web Tokens)

In this post, we will learn what is the JWT and logic of the JWT. The IETF is designed as a standard token format. Such as validation, user identification, data integrity and information security each other multiple points. JWT consists of 3 separate JSON pieces encoded in Base64 format. The pieces are separated by a… Read More »