PHP development tutorials with live demo, source code and much more.

 Setup multiple environment for laravel 5

This article will explain you, how to setup Multiple Environment for Laravel 5  When you install laravel 5 one .env file will be created during installation. In this article I will setup two environment, local & production, check the below steps 1. Create two Environment files name as lo   read more >>

 Git basic commands and it's usages

This article will explain you about git basic command and its usages. 1. Git configuration git config : Sets configuration values for your repo like : user-name, email etc. Exmaple: 1. Global configuration git config --global user.name "PHP Code Hub" git config --global user.email "   read more >>

 Recommended project directory structure for Zend framework 1

This article will explain recommended project directory structure for Zend framework 1. You should keep your project directory structure like below tree. // recommended project directory structure for Zend framework 1 'project-name' // This project-name is the root folder of your zend   read more >>

 Create custom config file in laravel

This article will explain you, how to create new config file in the Laravel 5 framework to store all my constants in it. Let's take an example, you want to keep some constant like your website name and email address etc... You can keep all constant at one place and call them dynamically, if in the f   read more >>

 HTML5 offline application dynamic manifest file in PHP.

This Article will explain you, how to create a dynamic manifest file in PHP. Let's take an example, you have some static resources as well as dynamic resources. Static resources means, which will not get change frequently like JS, CSS, Images etc... Dynamic resources means, which may get chang   read more >>

 Fix composer update failure due to GitHub authorization

I was doing a composer update on a Laravel 5 installation and I was encountering this error repeatedly. Heres the error that I was receiving Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API rate limit The credentials will be swapped for an OAu   read more >>

 HTML5 offline database CRUD operation

This Article will explain you about HTML5 offline Database CRUD Operation using Web SQL Database. Web SQL Database will work with latest version of Safari, Chrome and Opera.. The Core Methods: There are following three core methods defined in this article openDatabase :- This method creates the da   read more >>

 Zend framework 1 CRUD operations part - 3

This article will explain you about the CRUD operations of Zend framework 1 in details include topics such as Controller, View and Routing. Controller and View Controller and view in Zend framework have some naming conventions. All this naming convention is easy to remember, if we use zen   read more >>