PHP Frameworks

Laravel Configuration and Environment Variables

Author - Pawandeep Kaur
|
0 Comments
|

Laravel Configuration and Environment Variables

Each laravel application has one “Config” directory which includes all the basic configuration files. You can configure your application by adding custom or built-in configuration variables.

Environment Configuration:
Based on the environment where the application Read more…

Handling zip file download completion and cancellation event in PHP

Author - Harpal Singh
|
0 Comments
|

Handling zip file download completion and cancellation event (PHP)

Problem: I am working on a project in which user needs to download a zip file from the website. I am creating zip file on the server temporarily which should be Read more…

Run artisan commands on shared hosting server (Laravel)

Author - Harpal Singh
|
0 Comments
|

Run artisan commands on shared hosting server (Laravel)

Laravel is a popular and excellent framework of php. It provides many functionalities out of the box like authentication, events, job queues, artisan commands and many more.

A problem on shared hosting- When Read more…

Stripe – The requested address was not found on this server

Author - Varun Chopra
|
0 Comments
|

Stripe Payment Gateway Integration – The requested address was not found on this server

Stripe Payment Issue while capturing payment:

I was implementing Stripe payment in one of my cake3 project. My Stripe Charge Capture Request was Read more…

How to impersonate a user in Laravel?

Author - Dalbir Kaur
|
0 Comments
|

Steps to impersonate a user in Laravel (Login As another user)

Impersonate functionality allows you to impersonate other users, in order to see the application from their point of perspective, without having to log out and log in again. For instance, as an Super Admin, you Read more…

Introduction to Magic Methods in PHP

Author - Webner
|
0 Comments
|

Here we will go through different Magic Methods in PHP

The PHP functions which starts with the double underscore “__” are called magic methods. These are the methods which are always defined in classes, and can not be used alone i.e. Read more…

Purpose of multiple .htaccess files in CakePHP

Author - Maniraj Singh
|
0 Comments
|

What is the 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 Read more…

How to create and run multiple cron Jobs in Laravel?

Author - Harpal Singh
|
0 Comments
|

Here is the process for creating and runnning multiple cron Jobs in Laravel

Cron: It is a scheduler which runs after a specific interval or at specific time. It should be used when developer wants to run a piece of code at a particular Read more…

New features in Laravel 5 and higher versions

Author - Umang Pasricha
|
0 Comments
|

The list of some new and useful features in Laravel 5 and higher versions

1. Migrate:fresh Command: Refresh command runs all the down methods from database migrations. There may be some cases where down method for some database migrations are not given which Read more…

Bulk upload files to AWS S3 bucket

Author - Komal Dhiman
|
0 Comments
|

How to bulk upload files to AWS S3 Bucket (using Laravel)

Amazon Simple Storage Service (Amazon S3) is used to store and retrieve any amount of data, at any time, from anywhere on the web. While storing data to AWS S3 bucket one way is to Read more…

Convert HTML to pdf using mpdf plugin in cakePHP

Author - Sahil Bhalla
|
0 Comments
|

How to use mpdf plugin in cakePHP to convert HTML documents to pdf?

mPDF is a PHP library which is used to generate PDF files from HTML Documents. It converts utf-8 encoded documents and also supports almost all languages including Arabic and Hebrew. It includes Read more…

Understanding Inflector in Cakephp

Author - Parminder Kaur
|
0 Comments
|

Understanding the purpose and usage of Inflector in Cakephp

The Inflector class in cakephp is used to modify single/multi word strings into different formats using its build-in methods. We don’t need to use core php methods such as str_replace if you want to Read more…

Laravel Database Migration

Author - Umang Pasricha
|
0 Comments
|

What is Laravel Database Migration?

Laravel Migration provides a mechanism to propagate database changes from one machine to another (like development to production). It is a kind of version control of the database.

Create an application after installing laravel by using composer (like in the example Read more…

Laravel Log storage in S3 bucket

Author - Harpal Singh
|
0 Comments
|

How to Save Logs of Laravel in Amazon S3 Bucket?

Problem – We are working on a laravel project in which logs are saved in the storage folder of laravel and it is using a lot of space. We need to save logs of laravel in Amazon Read more…

Integrate Laravel web service with custom alexa skill

Author - Dalbir Kaur

Steps for integrating Laravel web service with custom alexa skill:

Step 1: Your web service should be on secure HTTP connection and should have SSL/TLS. Alexa strictly enforces for this to protect the confidentiality and integrity of your data.

Step 2: Open your amazon developer Read more…

Laravel’s powerful validation rules

Author - Pawandeep Kaur
|
0 Comments
|

Laravel’s powerful validation rules

When we develop any application in Laravel, various validation rules are available which are used to validate data from all incoming HTTP requests.

Some Examples:

1. First let’s create a controller named RegistrationController by executing the following command:Read more…

Reflection Api in Php

Author - Gopi Chand
|
0 Comments
|

Reflection Api in Php

What is Reflection and why is it useful?
Reflection is generally defined as a program’s ability to examine itself and modify its logic/methods at execution time. In simple terms, reflection is asking an object to tell you about Read more…

Integrate Razorpay in CakePHP application

Author - Rita Sharma
|
0 Comments
|

Integrate Razorpay in CakePHP application

Step 1: Create Razor Pay Account

First of all you need a test account for Razorpay integration. Click the below link https://dashboard.razorpay.com/#/access/signup and set up a test account there:

Step 2: Get your Read more…

PHP_CodeSniffer Introduction

Author - Preeti Bisht
|
0 Comments
|

What Is PHP_CodeSniffer?

PHP_CodeSniffer is an essential development tool that helps developers to work in a standardise format so as to make code clean and consistent. It ensures that same coding style is being followed. It allows a set of rules or a standard to be Read more…

Introducing WordPress versions 4.9.4 and 4.9.5

Author - Sukhpreet Singh
|
0 Comments
|

WordPress Version 4.9.5

WordPress 4.9.5 is released on 3rd April 2018. This version is released to fix the security issues. There were three major security issues which are solved by the WordPress community in this version:

1. Don’t treat Read more…

1 2 3 4 5 6 7 8 9 10 11 Next page ›