Have 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.
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.
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.
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.
phpDocumentor is an open-source utility for generating documentation of code written in PHP. All you need to do is to include DocBlocks in your code then phpDocumentor does the rest for you. Recently, to finalise a project I needed to integrate phpDocumentor to PhpStorm. So if you’re interested, here I’ll show you what I did to generate documentation for my application using phpDocumentor 2 and PhpStorm 8.