PHP

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…

PHP7 Null coalesce operator

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator (),scalar type declarations,return type declaration,null coalesce operator any many others new features.So then first see what is this operator.(??) is null coalesce operator.In previous version till 5.6 we was see a operator that is called ternary operator(?).Null coalesce operator 

Continue Reading…

PHP7 Return type declarations

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator (),scalar type declarations any many others new features.Return type declaration a great features what i think.You can specify a return type for a function.You can define both scalar type and return type declaration in a same function.Let see an 

Continue Reading…