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 | | 873 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 | | 749 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 | | 3269 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 | | 17297 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 | | 5440 Viewer | Category : Laravel MySql

Old php_ini_loaded_file Form Validation Google Chart Auth Ionic framework Chat DB::raw() Sql CORS jQuery Sortable Login With FB Undefined softDeletes Calculate Progress Bar Check Chart SUM() Recursive PayPal Localization Excel Gmail scrollTop Sort Select Redirect Mail Paging Dropzone.js Commit Character Effect Twitter API Issue bootstrap-growl Origin Dropbox API New Features RAND() Jquery Modal Scratch getQueryLog auth() Module upload_max_filesize CASE_LOWER Laravel 5.4 Current Page URL select2.js is_null characters Subscription gmaps.js mysqld.sock COUNT() chumper/zipper Value Download ID Date Format Resize Image Interfaces Facebook API Zip Authentication Record Nodejs GET Ajax FIND_IN_SET() Language Branch Count Solve Form JS Plugin Gravatar Image Animate Datetimepicker Custom laravel-elixir inner join Technology PHP artisan Jquery UI Middleware execute query chmod toSql Request Percentage Sendgrid Multi Auth Composer Server Lavacharts Laravel Cashier word-wrap Payment Gateway Base URL response() PostgreSQL Dynamic Dependant Dropdown length Config Chosen JS Failed Website Paypal Payment Gateway POST Ajax Sitemap Route str_replace validator.js Linkedin API Request Method clockface plugin Hard Behance API Message 500 error page refspec Log SMTP Capitalize Local ACL away() HTML to PDF Version DATE_SUB Sublime text 2 date_format() Codeigniter voyager package preg_match Cross Terminal 404 error page Force Bootstrap Plugin Attr Query str_random() AngularJS TrustAsHTML Filter Month SEO Reset