After doing a few open-source projects I found myself doing some steps again and again to setup a new repository on GitHub. I live in PHP world and what I normally do is to create a Composer package along with CI operations and bunch of automated code review tools.
This might seem like an overkill specially for small projects but believe or not it pays off as the project grows. So I came up with a Composer ready starter kit to help speed up starting PHP projects on GitHub which can be found here. It includes:
To get started:
- Pull the repo
- Rename any
PhpBaseProject with your project name and appropriate namespace
- Create an account on Travis, Scrutinizer and Code Climate and allow access to your repository
composer.json with the relevant information to your project
- Update .travis.yml with your repository token from Code Climate
- Update readme file with the right path to the badges
- Update author name in the license
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.
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.