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 | | 9368 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 | | 23164 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 | | 4843 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 | | 5550 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 | | 5867 Viewer | Category : PHP Laravel Server

datatables 500 error page response() Zip Popup Box colorpicker Attribute Pixel inner join Setup Highchart FadeIn Timepicker refs Cache Bootstrap show password Plugin Facade yajra/laravel-datatables-oracle Mailchimp API SweetAlert Plugin Trigger jQuery Failed Lavacharts thomaswelton/laravel-gravatar Bitbucket IP Array Manual php_ini_loaded_file Add Top Twitter OAuth Modular Nodejs Sort Loading CloudConvert API Technology ngclipboard.js meta http-equiv tag Email Verification Record JS Sublime text 2 Index Class Bootstrap-lightbox Plugin HTML to PDF date_format() Parameters LIKE Query validator.js Sortable orderBy Query Gravatar Image After split Validation whitespace Javascript Specific DB Statement AngularJS TrustAsHTML Filter Paypal Payment Gateway Scout Package timestamps Field Codeigniter Paypal Integration Laravel Resource Branch Chat read more GET Ajax Convert Special AngularJS Filter Jquery Modal PingPong Collapse Chart.js Mysql Concat groupBy() Variable Log Activity str_random() Composer PostgreSQL PHP AngularJS Directive mac KCFinder JWT SEO Strip Tags Behance API Where In Query Xampp Import php artisan serve MassAssignmentException dompdf Dropzone.js chmod Library Gmail Application league/flysystem-dropbox Controluser CASE_LOWER Select Query RSS Feed file_exists setInterval() String json() Botdetect Captcha ANDROID_HOME Database Seeder Upgrade Laravel Cashier Server Ajax Request toArray() Paging Laravel Eloquent User Agent filesize() Windows characters Ajax Check Google Chart Apache guzzle http client SMTP maatwebsite glob Sitemap xoxco tags input Join Last slice() Bootbox.js Payment Gateway Solve