Home Tags PHP

Tag: PHP

Laravel IoC Container and Automatic Dependency Injection

Laravel IoC Container is a powerful component for inserting class dependencies at runtime. It is the core of the Laravel Framework. Understanding the IoC Container helps us write better application using the Framework and also to extend the Framework. Let’s explore how...

Laravel 5.3 Passport OAuth 2 Setup with Login using Email, Username or Phone

Laravel Passport makes it really easy to setup a OAuth 2 server for a application. If you are using Vue.js, then it also ships with components that you can use it in your project right away, which you can drop into...

Social Network Friends Suggestion System using PHP, MySQL and jQuery

I have already done a Facebook Style Relationship System in a previous post that covers the database design and PHP implementation of various friendship actions like Sending a friend request, Accepting Friend request, Blocking a user etc. This post covers another very usefull feature...

Facebook Style Search Feature using Twitter Typeahead.js and PHP

Search is one of the interesting feature Facebook has invented. It is way to search the various connections inside of Facebook for a user. The style of how the Facebook search works was really good that i wanted to create a front-end...

Writing Reusable Code using Traits in PHP

Traits are way for code reuse which makes it easier to include the same code(trait) in different locations(classes). PHP is a single inheritance language, which means a class could have only one parent class. A trait contains methods and properties like classes, but a...

What’s new in PHP 7 New Features

For years PHP has evolved with lot's of improvements, fixes and new features. PHP 7 has been released with many improvements and new features. With the improved new PHP you can write better and clean code that runs faster. Here are some of the...

Social Network Online Active Friends Feature Using PHP MySQL and jQuery

One of the important feature of Social Networks is to show which of your friends are online at the time so that you can connect with them. This is a amazing feature that increases the User Experience in the site. Here this...

Implementing OEmbed URL Embedded Representation Using PHP and jQuery

oEmbed is a way for third-party websites to display an embedded representation of an URL. Using this format service providers implement URL Schemes and API endpoints for third-party websites to use and display embedded representation of their content. Live Demo Overview OEmbed URL Expand Overview A...

Implementing Enum Using Late Static Binding in PHP

It has been a while since i programmed in Java. One of the type features of Java that can be implemented in PHP is Enum, which might come in handy in some situations. This can be done using the Late Static Binding...

Facebook Like Chat Application using React JS, PHP and jQuery

This is similar to the previous chat application i have created except this uses React for the UI instead of jQuery. React JS is really amazing in creating UI. React uses Virtual DOM instead of the real DOM to find the difference...

Popular