Latest Post

How to store all record in laravel5 Cache

if you are work with large application which depend on large query and required large number of record at that time your application performence littel bit down. that problem overcome with laravel Cache functionality. Laravel Cache provide to you store your large query in cache so your application performence improve. first of all you must write <stong>"use Cache"</strong> keyword on top of the your class Here is an example using Laravel’s Fluent Query Builder: <pre class="language-php"> $users = DB::table('order') ->orderBy('price', 'desc') ->take(10) ->.....

By Hardik Savani | February 11, 2016 | | 1006 Viewer | Category : Laravel

How to set scroll to bottom in jquery?

Sometimes, we need to set scroll bottom as default by using jquery, in bellow example you can see i use scrollHeight for get the total height of scroll class div with scroll, and at last i use animate with scrollTop attribute and set bottom, So Basically when your page will load then automatically scroll as bottom. <strong>Example:</strong> <pre class="code language-html"> <html lang="en"> <head> <title>Scroll Down bottom</title> <script src=""></script> </head> <body> <div cl.....

By Hardik Savani | February 11, 2016 | | 1156 Viewer | Category : PHP HTML jQuery

How to create custom facade in laravel 5.2?

Sometimes we are use repeat code and repeatedly use function at that time we can create custom facade for our project, that way you can create functions and use it.So, How to generate custom facade, I give you the few step to create custom facade: <strong>Step 1:Create class file app/ItSolution/DemoClass.php</strong> In Following step, first you should create "ItSolution" directory in app folder and create file DemoClass.php(<strong style="color:red">app/ItSolution/DemoClass.php</strong>).now copy the following code in your DemoClass.php file. <strong>app/ItSolution/DemoClass.php</strong> <pr.....

By Hardik Savani | February 10, 2016 | | 9004 Viewer | Category : Laravel

Check and Uncheck checkboxes using JQuery

Sometimes we need to Select and Deselect all checkboxes like you see on gmail if you check top checkbox then automatically select other all.So, we can do using jquery and its method prop().In Following example you can see how is that and use this example simply: <strong>Example:</strong> <pre class="code language-html"> <html lang="en"> <head> <title>Select and Deselect Checkbox</title> <script src=""></script> </head> <body> <input name="subject_all" class="subject-all" type=.....

By Hardik Savani | February 10, 2016 | | 616 Viewer | Category : HTML jQuery

How to create custom helper in Laravel 5?

I would like to explain how to create custom helper functions, in your laravel project some functions and some repeating code, so at that time you have to create some helper functions that can help to easy way and every time you not need to write more code and very flexible, that way you can easily modify that code. Now if you want to add custom helper functions in your website or project directoty then you have to follow just three step and use it. <strong>Step 1: Create helpers.php File</strong> In this step, you need to create <strong style="color:red">app/Http/helpers.php</strong> in you.....

By Hardik Savani | February 9, 2016 | | 8154 Viewer | Category : Laravel

JS URL Character pngquant Interface Typeahead JS whitespace refspec Script Controller Ionic MVC Export chmod Where In Query Global Variable Import Clear Auth Excel str_replace Localization Current Page Log Terminal Subscription 500 error page Form Jquery Collapse Animate 404 error page Sendgrid Dropbox API Bootstrap Tokenfield Plugin User Agent gulp Particular FILTER_VALIDATE_URL Request Twitter API Pixel Ubuntu Check Snippet Demo CSS croppie.js Migration Data league/flysystem-dropbox stevebauman/location composer package Effect Now select2.js Carbon Instagram API Generate date_format() Confirm Box csv Configuration tree view Stripe Message AngularJS Filter Origin Where Not In Query View Upgrade New Features softDeletes Bootstrap-lightbox Plugin hasColumn MySql Percentage Elasticsearch select box search Chat Remove Access characters max_file_uploads PayPal thujohn/twitter package Parsleyjs Barcode Jquery Plugin Animation Bootstrap Plugin Twitter OAuth Blade inject Dynamic Dependant Dropdown pop() Module Codeigniter Repo Vue.JS Controluser Trans Helper Record Algolia Package File Upload nl2br Prompt modal clipboard.js COUNT() POST Ajax Listener parse Subscribe Chosen JS dompdf XSS Magento 2 Composer RAND() Protection array_map Accordion ajaxComplete bplist-parser Amazon S3 Join HTML Specific Object to Array Attribute CRUD gmaps.js refs AngularJS Directive preg_match word-wrap Magento Ajax filter Namespace Draggable Run Project After laravel-elixir GET Ajax toArray() Repository Pattern Laravel Eloquent Pagination IP php_ini_loaded_file AngularJS Page