Latest Post

How to add mysql trigger from migrations in Laravel 5?

Sometimes you require to add trigger in your mysql database of laravel 5. but you think how to create trigger using laravel migration because laravel not provide special function like insertTrigger and something so it problem to create direclty, But laravel DB::unprepared() through we can create trigger for database. In Following example you can see how to create migration and create trigger code and how to write drop trigger code, so let's do it this way. <strong class="step">Create Migration:</strong> <pre>php artisan make:migration add_trigger</pre> <strong class="step">Migration:</stron.....

By Hardik Savani | March 8, 2016 | | 8353 Viewer | Category : PHP Laravel MySql

Multi select autocomplete jquery example with code

In this post i show you how to use autocomplete with multiple select option by jquery. I think you will did autocomplete for single option using jquery ui plugin. but in this post you can learn multi selection autocomplete using jquery ui. In bellow preview you can see how will output of your multiselect autocomplete because its like choose js or something like plugin. But for layout i just add my own css. this example i use jquery ui js file and one more multiselect js file that file through we can do multi select and one more thing you can also customization of autocomplete.multiselect.js fi.....

By Hardik Savani | March 8, 2016 | | 16280 Viewer | Category : PHP Javascript HTML jQuery

How to confige Elasticsearch in our local system

In this tutorials we have learn how to configer a Elastic search in our local system. follow this step and easily configer an Elastic Search. <strong class="step">1) Step 1 — Installing Java :</strong> -Before installing OpenJDK with APT, update the list of available packages for installation on your Ubuntu Droplet by running the command: <pre class="prettyprint lang-php prettyprinted"> <span style="color:#FFFFFF;font-weight:900;">$ sudo apt-get update</span> </pre> -After that, you can install OpenJDK with the command: <pre class="prettyprint lang-php prettyprinted"> <span style="color:#.....

By Hardik Savani | March 7, 2016 | | 3945 Viewer | Category : PHP Laravel Elasticsearch

Laravel 5 query builder where exists example

you use sql where exists clause in laravel. whereExists through you can use sql where exists clause in your laravel project. It is very easy to use and you can easily undestand. You can give SELECT statment in where condition. you can see bellow example and you can learn how to use whereExists in your app. <strong>SQL Query</strong> <pre class="prettyprint lang-sql"> SELECT * FROM `items` WHERE EXISTS (SELECT `items_city`.`id` FROM `items_city` WHERE items_city.item_id = </pre> <strong>Using Laravel Query Builder</strong> <pre class="prettyprint lang-php"> DB::table('it.....

By Hardik Savani | March 7, 2016 | | 4567 Viewer | Category : PHP Laravel MySql

How to resolve laravel 5 blank page on server?

When i was created my laravel 5.2 application and i upload application on live GoDaddy server. But i found blank page. I think First you have to check php version on live server. if you run laravel 5+ application then make sure your PHP version at least <strong class="path">PHP 5.5</strong>. But, again i don't know why it was blank page and i checked permission of storage folder 777. so basically when you found blank page on your shared hosting the first make sure permission on <strong class="path">storage Directory 777 Permission</strong>. But if you can't solve and found again then also ch.....

By Hardik Savani | March 6, 2016 | | 4854 Viewer | Category : PHP Laravel Server

Lightbox Redirect FadeOut Allow Site Limit Segment bootstrap-progressbar.js Log Eloquent-Sluggable Package Snippet Gmail PHPExcel inner join Loading Run Project Ajax Query Builder characters Plugins Setup New Features Cache Xampp Executed bootstrap-growl Twitter OAuth upload_max_filesize Solve SweetAlert Plugin PHP artisan str_random() COUNT() Progress Bar clipboard.js public_path File Upload Bootstrap show password Plugin Bootstrap-lightbox Plugin daterangepicker yajra/laravel-datatables-oracle Config Dropzone.js refs RSS JSON Ionic framework oauth Controller Source Code uppercase Rewrite Exists Nodejs refspec Mediafıre API Laravel Resource LIKE Query Jquery UI Controluser bootstrap-multiselect plugin Jquery Modal Old POST Ajax Namespace React JS roumen/feed package Parsley DB Statement API Zoho mail Node JS ANDROID_HOME Server FIND_IN_SET() Column Ubuntu 14.04 Bitbucket Add toArray() Attr str_replace max_file_uploads Multiple Elasticsearch jquery.lazyload.js Special strpos WHERE Query Element DB::raw() Count MVC Components & Slots Folder is_null Terminal filter_var Issue xoxco tags input Stripe Database Current JS array_combine Laravel 5.4 Key Constraint SUM() pop() QR Code Behance API filter hasColumn String groupBy() XSS Laravel 5 Multi Auth Google API Jquery Dialog Box getQueryLog PHPUnit auth() Send Laravel Passport Sub-Domain CORS CRUD Paging lowercase Paytm php artisan serve Switchery JS Commit PHP Reset Client side validation Laravel 5.4 - Markdown Mailables away() Select Query Authentication 500 error page no-captcha Carbon read more Empty Thumbnails mCustomScrollbar Plugin Sitemap