Categories
PHP

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 sourceIt is cross platform supports and works out of the boxBot support Among the reasons, I believe the third one is so exciting and most important. In Telegram you […]

Categories
Linux PHP

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 it up. In order to […]

Categories
Linux PHP

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 process of installing Curl is […]

Categories
PHP

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 straightforward. In order to enable […]

Categories
PHP

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 easier. However, the purpose of […]

Categories
PHP

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 easy to learn. Therefore, the […]

Exit mobile version