Latest Post

How to create snippets in sublime ?

nowdays sublime is a very popular text edir in the developing field. sublime text editor is provide lots of packages like code formatter, php syntax etc. sublime is also provide snippet. snippet is very intrsting point because if you need to write same code lots of time than you can create shortcut name for that command content. For example if you want to write text "lorem ipsum" then you can just write just "lorem" and get whole lorem text. In following example i create snippet "debug" for debug code of PHP. If you write just "debug" you can find autocomplete with debug snippet and just cli.....

By Hardik Savani | March 26, 2016 | | 1740 Viewer | Category : Sublime

How to create scroll to top of the page by jquery animate ?

However you want the scrolling process to have animated effect. you have to follow bellow example. in this post you can add button for scrolling top with animate effect. Most of website you can see with one button left side or right side for scrolling top of the page. so, if you want to create on your site then you have to add following jquery code: <strong class="example">Example</strong> <pre class="prettyprint lang-html lang-js"> <style type="text/css"> #toTopImg{ position: fixed; bottom: 20px; left: 20px; cursor: pointer; display: none; z-index.....

By Hardik Savani | March 26, 2016 | | 2471 Viewer | Category : PHP Javascript HTML jQuery

How to convert Object into Array in PHP?

Whenever you need to convert object to array in your php project then you can do that using (array). It is a pretty simple example to convert php object into array that way you can use array. So, let's see the following example. <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> $myObject = new MyClass; $myObject->id = 100; $myObject->title = "posts"; $myObject->description = "this is posts"; $newArray = (array) $myObject; print_r($newArray); </pre>

By Hardik Savani | March 25, 2016 | | 1577 Viewer | Category : PHP

Laravel 5 custom pagination view example

laravel default also provide pagination view using bootstrap design like next and previous button and number page with link. but it is a very comman and generally used by most of developer. If you want to change it using Presenter class of laravel. you can set your own custom view for your pagination layout. In bellow i give you the example of i added first, last, next and previous button and main banifit is that you can easily modify that view and link. so let's see the preview of image layout of pagination. <strong class="preview">Preview:</strong> <img width="100%" src="/upload/laravel_pa.....

By Hardik Savani | March 23, 2016 | | 27600 Viewer | Category : Laravel

How to remove particular value from jquery array?

When i was working on my code PHP project, at that time i need to remove specific items value from my javascript array. i did google search and solve that but i would like to share in my site how to remove value from javascript array. so, let's see how to use: <strong class="example">Example:</strong> <pre class="prettyprint lang-js"> var languages = ['php', 'laravel', '.net', 'java', 'c#', 'javascript'] var deleteLanguage = 'laravel'; languages = jQuery.grep(languages, function(value) { return value != deleteLanguage; }); console.log(languages); </pre>

By Hardik Savani | March 23, 2016 | | 1049 Viewer | Category : Javascript jQuery

Check Paypal Integration HTML to PDF Trans Helper Tooltip Xampp Convert New Features Auth clockface plugin Link Page meta http-equiv tag Effect Array Apache strpos Field Axios Payment Gateway Executed Package Kyslik/column-sortable package Laravel Resource Codeigniter 3 Links View AngularJS Filter Fullcalendar JS ngclipboard.js Old AngularJS TrustAsHTML Filter Numeric Clear Percentage array_combine datatables Cordova Zoho mail Site Bootstrap maxlength plugin maatwebsite Website Prompt modal Recursive auth() Chart Language Chosen JS Twitter Bootstrap Capitalize File Upload Dropbox API Billing Strings Loading Manual parse Admin Bootstrap Theme Components & Slots Laravel Eloquent ID Datetimepicker GuzzleHttp Server Scroll Generate Jquery Dialog Box MSSQL CURL str_replace Grayscale Image Attr Class Autocomplete Loop Authentication Repo Month Base URL Linux KCFinder ServiceProvider Controluser Environment REST Master ACL Number Function csrf_token Remember me Google OAuth oauth CASE_LOWER Repository Pattern Localization JWT User Agent Empty Magento 2 Laravel Cashier XSS SMTP React JS Last Dialog box Redis Barcode JSON Datepicker Folder WHERE Query Command Laravel Ionic Blade inject Send Magento Laravel Builder AngularJS Linkedin API clearbit API URL Botdetect Captcha Thumbnails Mail Frontside Validation Sql Gmail toArray() Excel chumper/zipper Stripe Select Animation Bootstrap Plugin Remove Accordion Scratch str_random() Ajax Javascript Ionic framework Add Interface validator.js filter Animate