Latest Post

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 | | 2109 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 | | 16200 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 | | 69151 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 | | 11456 Viewer | Category : Laravel MySql

AngularJS - How to render HTML value in ng-repeat ?

I always post small example of AngularJS function, In this example we learn how to render our HTML code in ng-repeat using trustashtml filter. Sometimes we have array or object of records with html values, at that time we require to use ng-repeat, But we can't simple way render html code, we should require to use trustashtml or ng-bind-html-unsafe etc. So in this example i created one filter for this task using sce trustashtml. filter as like bellow you can see code of that filter using $sce.trustAsHtml. <strong>Filter</strong> <pre class="prettyprint lang-html"> app.filter('trustAsHtml',['$.....

By Hardik Savani | February 4, 2017 | | 2095 Viewer | Category : jQuery AngularJS

Datepicker csv Array Solve Interface csrf_token Admin Panel Parsleyjs Middleware Paypal Payment Gateway Google OAuth gulp Amazon S3 File RSS Feed timestamps bootstrap-progressbar.js groupBy() ServiceProvider File Upload Jquery Plugin Origin Facebook API Send Database Seeder Chosen JS Empty Migration DB::raw() Git response() tree view SUM() Each orderBy no-captcha JWT Installation Old Segment DATE_SUB GuzzleHttp slice() CRUD Dialog box PostgreSQL COUNT() Timepicker Lavacharts Where Not In Query Laravel 4 Connection Notification AngularJS TrustAsHTML Filter URL JS Bootstrap Plugin Strip Tags CloudConvert API ajaxComplete Laravel Resource Codeigniter 3 word-wrap RSS Eloquent-Sluggable Package HTML to PDF Interfaces Delete Remote Email Verification Website Environment refs bootstrap-multiselect plugin Mail Auth Generate REST Subscribe stevebauman/location composer package Admin Bootstrap Theme voyager package Paytm Google API Application Request Method Upgrade Tooltip clearbit API encrypter Letter Laravel 5 Socialite Dynamic Dependant Dropdown Subscription Authentication Mysql Concat React JS Form Validation Facade google recaptcha code FILTER_VALIDATE_URL After Remove Gravatar Image strtolower unicodeveloper/laravel-password chmod Repo typed.js plugin Carbon Package Switchery JS Pagination Query Scratch Cordova Chart sven/artisan-view package User Agent Lightbox uppercase Join Phonegap Base URL Frontside Validation Chat Number Scroll Captcha code Library php artisan serve FIND_IN_SET() Attribute jquery.lazyload.js Rewrite PHPUnit validator.js softDeletes Access Tutorial Bootstrap maxlength plugin Blade inject Image Upload Ionic framework Setup Parsley Control Limit