Category Archives: PHP
Create a job searching page in PHP with Indeed APIs
We have created a job searching page on PHPGang here where you can search jobs and its powered by Indeed APIs and PHP. Today I am publishing that code and page with my readers so you can easily create job searching and you can earn from there affiliation.
[ Read More ]
Creating PDFs from HTML and CSS with PHP and Dompdf
In this tutorial, we are going to show you how to show the user dynamically-generated PDFs from your web application that relies on PHP. We are going to use a third-party library called Dompdf that enables us to create PDFs and save them to the server or directly display them to users using only HTML and CSS.
[ Read More ]
An introduction to Twig templating – Creating a Sentiment Analysis app
We will be building a simple app which takes from the user the id/name of a Facebook page (the name written in the URL when visiting a Facebook page) and shows some statistics related to the sentiment of the last 100 posts of that Facebook page. It shows whether the page is positive, negative or neutral, how many of the last one hundred posts are considered positive, negative or neutral and it pinpoint the total distribution of positivity, negativity and neutrality in those posts.
[ Read More ]
An introduction to sentiment analysis with phpInsight – Creating a Sentiment Analysis app
We will be building a simple app which takes from the user the id/name of a Facebook page (the name written in the URL when visiting a Facebook page) and shows some statistics related to the sentiment of the last 100 posts of that Facebook page. It shows whether the page is positive, negative or neutral, how many of the last one hundred posts are considered positive, negative or neutral and it pinpoint the total distribution of positivity, negativity and neutrality in those posts.
[ Read More ]
An introduction to Facebook’s PHP SDK- Creating a Sentiment Analysis app
We will be building a simple app which takes from the user the id/name of a Facebook page (the name written in the URL when visiting a Facebook page) and shows some statistics related to the sentiment of the last 100 posts of that Facebook page. It shows whether the page is positive, negative or neutral, how many of the last one hundred posts are considered positive, negative or neutral and it pinpoint the total distribution of positivity, negativity and neutrality in those posts.
[ Read More ]
Creating a service which converts images to ASCII in PHP
Have you ever wanted to send, display or use colored ASCII versions of real images? Well, it turns out this is not something very hard to achieve with PHP. In this tutorial, we are going to create a simple class which has the capabilities to convert all kinds of URLs to jpg/gif/png images to ASCII and show the ASCII in dimensions specified by the user (we shall resize the image to the specified by the user dimensions before converting it to ASCII). Furthermore, we will build a simple web interface where users can give URLs to images and their desired dimensions and see the ASCII output as well as the HTML code that they can use to add the ASCII elsewhere.
[ Read More ]
How to get Facebook Page Feed with graph API using PHP & MySQL
In this tutorial I will show you that how to get Facebook pages public feed using graph API without any authentication. You can run this script on console, on local host or you can run this script on your live website. This tutorial get a Facebook page URL and Facebook application id and secret that's it.
[ Read More ]