Latest Post

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 | | 1884 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 | | 1955 Viewer | Category : PHP

PHP - Bootstrap autocomplete tokenfield with Ajax Example

In this post, i am share with you example of how to make tokenfield autocomplete with ajax in PHP. I will give you very simple example so you can easily use with your core PHP Project and other framework like Laravel, codeigniter etc. Here in this example we use Bootstrap tokenfield plugin for tags ajax autocomplete. tokenfield plugin is advanced tagging/tokenizing plugin for jQuery and Twitter Bootstrap with a focus on keyboard and copy-paste support. tokenfield plugin also provide typeahead js for tags autocomplete, But it this example i use jquery ui for autocomplete ajax. In this example.....

By Hardik Savani | February 10, 2017 | | 10421 Viewer | Category : PHP Bootstrap jQuery MySql Ajax

How to integrate paypal payment gateway with laravel 5.4

Today, I am going to show you How to integrate paypal payment gateway in our Laravel application. In this tutorial i explain step by step example code of How to integrate paypal payment gateway. Here i give you full example of How to integrate paypal 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 8, 2017 | | 49808 Viewer | Category : PHP Laravel

Laravel - How to make subquery in select statement?

Sometimes we require to make subquery inside the select statement in Laravel. At that time we are thinking how to select from subquery using in Laravel Query Builder. In this post i will give you example of subquery in select statement in Laravel 5 application from scratch. For subquery in select statement we are going to use <strong class="path">DB::raw()</strong>. DB raw function through we can simply make suquery join in Laravel Eloquent Query Builder. Here as bellow full example, i have three tables as listed bellow: <strong>1)products</strong> <strong>2)products_stock</strong> <strong.....

By Hardik Savani | February 6, 2017 | | 9576 Viewer | Category : Laravel MySql

Admin Panel SEO Import Jquery Modal Middleware PayPal parse slice() IP Join Sublime text 3 AngularJS Filter Function Javascript Download Directory Bootbox.js Terminal Phonegap lowercase split Opencart Environment clipboard.js Server Access mysqld.sock Query Builder CURL Client side validation yajra/laravel-datatables-oracle milon/barcode Express Scroll GuzzleHttp Limit Div Chosen JS Force PingPong Thumbnails Pagination read more Fetch Allow Where In Query Technology Laravel 5 Animate Sortable Image Gallery First away() Switchery JS execute query clockface plugin Google Chart Link str_replace Application Old Inserted Id stevebauman/location composer package Failed Object Element ajaxComplete guzzle http client Jquery Dialog Box POST Ajax Subscription Laravel 5.4 Scratch Google Map FadeIn Dynamic Dependant Dropdown Send Vue.JS Library Login With FB filesize() Hard Config whitespace Convert helper roumen/sitemap Dropzone.js Timepicker Image Laravel 5.3 ACL CloudConvert API Scout Package Sitemap Example Windows Jquery Plugin Toggle Stripe Percentage Socialite Bootstrap-lightbox Plugin Nodejs Location Carbon Tooltip str_random() bplist-parser no-captcha Xampp tree view ppa RSS Feed Resize Image Issue Laravel basename() Master response() Draggable Frontside Validation CRUD Upgrade Special word-wrap hasTable Behance API gravatar Flash Message thomaswelton/laravel-gravatar Node JS is_null Authentication Localization Request toastr js Linux QR Code filter_var Listener Top Twitter Bootstrap virtual host Select Query marker MSSQL Key LIKE Query Paypal Payment Gateway