Author Archives: mertsmsk0

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 »

An Introduction to the Kubernetes

In this article, my goal is to get purpose of Kubernetes, to understand philosophy. If i need to tell a little bit, The all ways lead the dependencies. Imagine that, you’ve a software project. All classes are depend on each other. At this point, Dependency Injection might be solution well. Let’s look from out of the box… Read More »

Kong Microservices Api Gateway with Docker

In recent years, all of us mention about the microservices, try to refer this way in our companies. To refer the microservices, there are plenty of topics to manage our services. They’re authentication, security, logging, cache systems, proxy services, response rate limiting, request size limiting etc. For these plugins, The Kong microservices api gateway is… 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 »