Latest Post

How to integrate stripe payment gateway in Laravel 5.4 Application ?

Today, I am going to show you How to integrate stripe payment gateway in our Laravel application. In this tutorial i explain step by step example code of How to integrate stripe payment gateway. Here i give you full example of How to integrate stripe payment gateway step by step like create laravel project, migration, model, route, blade file etc. So you have to just follow few step as listed bellow. <strong class="step">Follow Bellow Few Step:</strong> <strong>1)Install Laravel Application</strong> <strong>2)Database Configuration</strong> <strong>3)Install Required Packages</strong> <stron.....

By Hardik Savani | February 18, 2017 | | 14148 Viewer | Category : PHP Laravel

How to get keys name from array using array helper in PHP Laravel ?

Few days ago, I was working on my new Laravel 5.4 application and i require to get keys name from my array. i was thing how we can get it and laravel provide us for to do it. Finally i found array helper function in Laravel docs. There are several array helper function available for array. I found array_keys() helper for getting keys name from our array. array_keys() will return array of keys. It could be easy to work with keys name in array. So in this example i want to share with you small example using array_keys() helper. I created one route "myarraykeys" with my $myArray variable, and .....

By Hardik Savani | February 18, 2017 | | 1188 Viewer | Category : PHP Laravel

Laravel 5 - "syntax error or access violation 1055 in group by" Solved

Yesterday i was working on my Laravel 5.4 application and when i use group by statement in query builder I found error like as bellow: <br/> <strong> SQLSTATE[42000]: Syntax error or access violation: 1055 '' isn't in GROUP BY (SQL: select `products`.*, SUM(products_stock.stock) from `products` inner join `products_stock` on `products_stock`.`product_id` = `products`.`id` group by `products`.`id`) </strong> I was thinking what will be error and why it comes. i thought maybe it comes from mysql. i just add following query using laravel builder as like bellow: <strong>Laravel.....

By Hardik Savani | February 15, 2017 | | 2062 Viewer | Category : Laravel

How to execute artisan commands from route or controller in Laravel ?

Sometimes we require to run php artisan command from route or controller file in out Laravel Application, However we can do it using Artisan facade. Laravel Artisan facade that way we can easily run all artisan command with argument. Artisan facade have two method call() and queue(), queue() through we can simply make process in queue like email sending etc. So let's see simple example with route. In this example we run "php artisan migrate" command using artisan facade. Here i bellow example you can learn how you can run artisan commands from route. <strong>Example:</strong> <pre class="pre.....

By Hardik Savani | February 12, 2017 | | 2526 Viewer | Category : Laravel

PHP - Getting Started PHPUnit test with simple example

PHPUnit is a one type of unit testing framework for PHP language. In todays PHPUnit is very popular for testing. Most of site owner want to implement PHPUnit test because that way we can simply test using command. Without testing our website will never be good to publish. But if you don't know about PHPUnit and no idea how to start so just follow bellow example for scratch. I will give you very simple example of PHPUnit and how it works from scratch. I make quick easy example with phpunit command. We have to create two file like as listed bellow: <strong>1)MyTest.php</strong> <strong>2)MyTest.....

By Hardik Savani | February 12, 2017 | | 2095 Viewer | Category : PHP

Bootstrap show password Plugin Admin Bootstrap Theme Array Null softDeletes Object Progress Bar whitespace read more Failed timestamps SUBSTRING_INDEX() Flash Message Trigger Captcha code Special chmod Autocomplete intervention/image Google OAuth croppie.js hasColumn Multiple COUNT() AngularJS Loading filesize() Reset Composer Index clockface plugin Form JS Plugin Strings Source Code Numeric Elasticsearch Interfaces length no-captcha tree view Namespace Package Accordion PHPUnit KCFinder Contact US Form Dialog box str_replace Environment validator.js Inserted Id XML apache2 PHPExcel Linkedin API Localization Ajax Request Schema PingPong New Features Request Method Solve Element Script Limit Redirect Sortable Authentication Value ServiceProvider Zip Delete socket Record Chart.js Character voyager package Animate Jquery Modal XSS Twitter Bootstrap Instagram API Jquery Dialog Box Client side validation Automatically sven/artisan-view package hasTable Mail Laravel Month chumper/zipper refs DB Statement Request Components & Slots colorpicker Empty gmaps.js Where In Query Search Jquery UI Module array_combine Control Draggable API Calculate Branch Datetimepicker Remove Mysql Concat DATE_SUB Timepicker Send Pixel Ip Address Config Segment Key Dropzone.js Loop Stripe Variable Select strpos CASE_LOWER stevebauman/location composer package Blocked daterangepicker yajra/laravel-datatables-oracle Count Laravel Eloquent php artisan serve Object to Array phpmyadmin Clear Foreign Key Capitalize basename() CRUD Bootstrap Plugin Setup DB::raw() Library Master Laravel 5.4 Custom Command Last setInterval() Javascript