Keep Coding

Never Stop Learning

Category: PHP (page 1 of 2)

Build a Slack bot with Botonomous Framework and Events API


In this tutorial I’m going to show you how to build a Slack bot with Botonomous Framework and Events API. If you have followed the last tutorial you already know how to prepare the server and install Botonomous Framework.


More …

Build your “What’s for lunch” Slack Bot

Botonomous Framework LogoHave you ever wondered having a Slack Bot in your team that suggests where to have Friday work lunch? If so, this tutorial will walk you through the process of building your own Slack Bot in PHP using Botonomous Framework and Slash Commands.

More …

Continue processing PHP after sending 200 OK response

Recently I’ve come across APIs and mainly event management systems that need to receive a HTTP 200 OK response upon sending a request to our server. For example, if you need to integrate Slack Events API your server has to respond a HTTP 200 OK within 3 seconds to every event it receives. Another example is where your server has to respond an [accepted] response within 10 seconds to Adyen notifications.

More …

Optimising Big Data Processing in PHP

Optimising big data processing
It happens a lot for applications that were originally designed and tested based on small set of data eventually cannot handle big data. For example, as database grows or a big CSV file is the input a lot of issues such as slow performance, timeout error or unreasonable memory usage may come to the scene and optimising the process is crucial than ever. In this post, I’m gonna share our recent experience and the approaches we took for optimising big data processing in PHP.

More …

PHP Table Generator

PHP Table Generator is a tool that is simply used to generate HTML tables without dealing with HTML. I, personally, had to write HTML tags for tables again and again. Besides, mixing HTML with PHP is not recommended. Instead you can use MVC frameworks to be able to separate your logic from your presentation. However, if your application is simple enough you can still take advantage of PHP Table Generator. It is easy to use and in this post I will show you how to use it.

More …

Older posts