How to create Telegram bot with PHP and host in HeroKu

Nowadays, Telegram is one of the most popular messengers. The reason that the app is so popular is because of three reasons, The application is open source It is cross platform supports and works out of the box Bot support Among the reasons, I believe the third one is so … Continue Reading →


How to install Composer in Ubuntu

Composer is a dependency manager tool for PHP programming language which is quite useful for PHP programmers and make the coding process easier. Compose more or less likes Maven that manage dependencies automatically. Installation process of compose is quite easy and will not take more than 5 minutes to set … Continue Reading →


Install Curl for PHP in Ubuntu

If you get similar error message like “Fatal error: Call to undefined function curl_init()”, means that your Curl lib/module is not installed for PHP. Fortunately, in Ubuntu installing Curl for PHP just requires two commands and it can be done so easily with the help of apt-get package installation. The … Continue Reading →


How to print PHP error in browsers

By default if your PHP code has some errors, it just shows white dead page which is so confusing and for me personally so annoying. By contrast of languages such as Java which you can easily check about any compile or runtime error, in PHP this task is not so … Continue Reading →


Starting with Laravel 5

Laravel is the most amazing PHP framework and according to this link, it is also most favorite PHP framework. It provides many facilities such as db migration, easy to manage, routing, sessions, built in libraries and many other things which makes task of web application development better and can say … Continue Reading →


Testing Postgres connection with PHP in Ubuntu

PHP is very powerful programming language to write different web application and that is the one of the most important reason I choose to learn it alongside with Python. However, database connection is getting troublesome in PHP specially for new programmers like me even though PHP is quite straightforward and … Continue Reading →


Installing LAMP

LAMP stands for Linux, Apache, MySql, and PHP. Installing mentioned packages in Linux is not difficult task as some users think that it is complex and procedure involves in manipulating many text file which is haunting and exhaustive. In fact installing LAMP if is not simpler than Xampp or Wamp … Continue Reading →