PHP

Laravel Vue Pagination Without Webpack

Recently i applied Vue.js only my Laravel application. During that time, i faced a problem to show pagination using vue. Then i make an solution and sharing on here. Please not that i didn’t use webpack on this application. Think we will show all user list in a page with pagination. So, first take a 

Continue Reading…

Mysql 5.7 GROUP BY error incompatible with sql_mode=only_full_group_by

In mysql 5.7 sql mode ONLY_FULL_GROUP_BY is enabled by default. Which means that, your select list must be in your aggregate(GROUP BY/ Having) function. See the details from here https://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html Recently i faced this types of problem, my sql was exactly SELECT * FROM `users` GROUP BY `user_level_id` The problem on this query is that, 

Continue Reading…

PHPMYADMIN with PHP 7.2 “Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable”

phpmyadmin v4.6.6 isn’t fully compatible with PHP 7.2, have an warning issue. On phpmyadmin v4.8 fixes this compatibility issue with php 7.2 To run phpmyadmin v4.6.6 with php 7.2 you will found this below warning Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable Backtrace ./libraries/sql.lib.php#2128: PMA_isRememberSortingOrder(array) ./libraries/sql.lib.php#2079: PMA_executeQueryAndGetQueryResponse( 

Continue Reading…

PHPStorm launcher as terminal command on homestead

PHPStorm is a great IDE for PHP.This IDE support few major framework like Symfony, Drupal, WordPress, Zend Framework, Laravel, Magento, Joomla!, CakePHP, Yii etc.It provides the best code completion, refactorings, on-the-fly error prevention, and more.Today we know how can we access PHPStorm from our local ubuntu machine using a terminal command.First we will see how 

Continue Reading…

Beanstalkd and Supervisor With Laravel Queue

Beanstalkd Beanstalk is a simple, fast work queue.Its interface is generic,but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.chronously. Supervisor Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. Laravel Queue Laravel 

Continue Reading…

Google Map Nearest Place Finder Query

Few days ago while i am working on projects where using google map,i face a problem that i have already few place’s in my database with their latitude and longitude,now i need to find nearest place’s depend on a certain distance.That time i found a solution,here i am going to share this how will be 

Continue Reading…

oauth2 custom error message

oauth2 with laravel

oauth2 is a service that is mostly used for api authentication.Let know a short note about oauth2.OAuth 2 is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service, such as Facebook, GitHub, and DigitalOcean.Like we want to build an api based application,that time we have a think 

Continue Reading…

Basic OOP in Programming Language

OOP Stands for Object Oriented Programming. OOP is not a programming language it is just a method or technique of programming where a programmer write code using a standard way rather than procedural way. The main thing of OOP is Class & Object (Instant). So, what is Class & Object? Well, Class is a set 

Continue Reading…