PHP Frameworks

How to Detect Mobile devices in php

Author - Gopi Garg

Detect mobile device php code

We often need to detect if site visitor is using an iPad, a smartphone or any other mobile device in order to change website appearance and even make it faster by reducing data load. Normally we use the media queries and Read more…

Salesforce SOAP and Bulk API Integration in PHP

Author - Ashish Gautam

Implementing Salesforce SOAP and Bulk API Integration in PHP

Salesforce SOAP API:
Salesforce SOAP API is a coding method to use our Org’s information with the help of inbuilt functions and SOQL query. With the help of these function, we can access or Read more…

Creating custom plugins in wordpress

Author - Mamta Sharma

How to Create a custom plugins in wordpress

What is a WordPress plugin:
A plugin in WordPress is a small software app that can be added to a WordPress site to extend its functionality and to add new features to it without changing its Read more…

Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*

Author - Kailash Kumar

How to resolve “Class ‘App\Controller\Aws\S3\S3Client’ not found” error in CakePHP 3.*

Problem: Class ‘App\Controller\Aws\S3\S3Client’ not found error occurs when we are trying to create S3Client class object with given code (code copied from github):

$s3 = new Read more…

Using Laravel Eloquent ORM

Author - Umang Pasricha

Introduction to Laravel Eloquent ORM

Introduction:

Eloquent ORM is an Object Relational Mapper that interacts with the database. It is a package separate from laravel so can be used outside the laravel too. It implements active record pattern. Laravel Eloquent ORM uses Object-Oriented Read more…

Sort query result according to search conditions in CakePHP 2.

Author - Kailash Kumar
|
0 Comments
|

How to sort query result according to various search conditions in fetch query of CakePHP 2.

Problem: Priority based sorting of records

Example: Search a string (“Proposalways StudySection”) and display records in following order:

Contain all words (“Proposalways StudySection”) in Read more…

Using Breadcrumbs in Laravel

Author - Mahesh Kumar
|
0 Comments
|

How to add Breadcrumbs to your Website in Laravel

Breadcrumbs are links used to track and navigate in the website. Generally every page is considered as a link and is arranged in hierarchical order at the top of the website.

We can use breadcrumbs to track Read more…

Handle data from .msg file parsed by IndependentSoft’s msg.net package

Author - Varun Chopra

Handle data from .msg file parsed by IndependentSoft’s msg.net package

IndepentSoft’s MSG.NET package is used for parsing of outlook .msg files for reading the contents of file and which can be used to display contents on screen or in our custom viewer Read more…

Understanding PHP CS-FIXER with example

Author - Gopi Chand

Steps to Understand PHP CS-FIXER with example

Introduction

The PHP coding standards fixer tool is used to solve many issues (syntax, indentation etc) in your code when you want to follow the PHP coding standards defined in PSP-1 and PSR-2 Documents Read more…

Moodle Windows installation using XAMPP | Common Issues

Author - Varun Chopra

Common Issues faced during Moodle Windows installation using XAMPP

1. Do not have permissions to create a database or MySQL database is too old.

Xampp uses the Mariadb database (based upon MySql), if during installation above issue occurs then:

a. go to the c:\xampp\htdocs Read more…

How to Change Innodb storage Format for Moodle/Totara

Author - Varun Chopra

Steps to Change Innodb storage Format for Moodle/Totara

Description: You may face this problem in Totara:

Advanced Totara features require innodb Barracuda storage format

Reason: The error usually occurs because of Mysql 5.6 and below using file format “Antelope”. This format cannot handle more Read more…

What is the purpose of multiple .htaccess files in CakePHP?

Author - Varun Chopra

Purpose of multiple .htaccess files in CakePHP

In Cakephp, contained .htaccess files are as follows:

newcakeproject/.htaccess
/app/.htaccess
/app/webroot/.htaccess

1. newcakeproject/.htaccess

CakePHP root directory .htaccess redirects everything to your CakePHP app (means to webroot). We can also redirect the url to some Read more…

Login With Facebook in PHP

Author - Varun Chopra
|
0 Comments
|

How to implement Login With Facebook in PHP

In today’s environment it is very common to use facebook and gmail login features to make login process more authentic and fast. Here I am going to describe how to implement login via facebook in your web Read more…

Difference among isset, is_null and empty in PHP

Author - Varun Chopra

Learn to Differentiate among isset, is_null and empty in PHP

Php has different methods to check the value of the variable. The methods isset(), empty() and is_null() are very useful methods and all returns a boolean value. Let see the difference between these methods for different Read more…

Using Google Search Operators

Author - Mayank Srivastava

Using Google Search Operators for Better Results

Google defines Search Operators as the “words or symbols in one’s search phrase that make the search results more precise”. These operators have their basis in coding as they are nothing but shortcuts in procuring the best results Read more…

Purpose of multiple .htaccess files in CakePHP

Author - Maniraj Singh
|
0 Comments
|

What us the purpose of multiple .htaccess files in CakePHP?

In Cakephp, contained .htaccess files are as follows:

1. newcakeproject/.htaccess
2. /app/.htaccess
3. /app/webroot/.htaccess

1. newcakeproject/.htaccess

CakePHP root directory .htaccess redirects everything to your CakePHP app Read more…

How to use Laravel Queue with database

Author - Maniraj Singh
|
0 Comments
|

Purpose of Laravel Queue and How to use them with database

Page load time is an important aspect of any successful website, and one should not overlook the importance of that as it affects the SEO of the site and the overall end-user experience as Read more…

Database Migration in Laravel

Author - Maniraj Singh
|
0 Comments
|

Database Migration in Laravel

Migrations allow us to easily share the database schema of your website. There are only a few commands to run to create database tables. If, we do it manually there is some chances of getting an error and it’s also time Read more…

Library in Laravel for sending emails

Author - Mahesh Kumar
|
0 Comments
|

Support for or a library in Laravel for sending emails

Laravel uses free feature-rich library SwiftMailer to send emails. It is easy to use. Email templates can be created and loaded in the same way as views.We can use the Blade file syntax for Read more…

Bootstrap Grid System and Breakpoints

Author - Mayank Srivastava
|
0 Comments
|

Bootstrap Grid System and Breakpoints

Bootstrap Grid System

The Bootstrap Grid System uses the strategy of mobile first. Bootstrap Grid System divides the screen into 12 columns which can be joined to create wider columns according to the size of the Read more…