Tag: PHP
Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*
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 Aws\S3\S3Client ( [
Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*
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 Aws\S3\S3Client ( [
Using Laravel Eloquent ORM
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
Sort query result according to search conditions in CakePHP 2.
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
Handle data from .msg file parsed by IndependentSoft’s msg.net package
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
Salesforce – How to do it right
Salesforce – How to do it right Moving on from managing your customer relationships in a worksheet and deciding to do that in a CRM system like Salesforce is a big step forward. If you have already taken that step
Understanding PHP CS-FIXER with example
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
What is the purpose of multiple .htaccess files in CakePHP?
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
Login With Facebook in PHP
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