Latest Post

How to remove query string from URL using JQuery

<strong>Why remove query strings?</strong> Main two reasons for this. 1. Clear URL alwaya look better than the long URL 2. When you are not remove your query string from URL. then all get variable show in you URL string. sometime it not good for a security You can remove your query string using this simple Jquery code. <pre class="language-javascript"> $(document).ready(function(){ var uri = window.location.toString(); if (uri.indexOf("?") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?")); window.history.replaceState({}, document.title, clean_uri); } }); </pre>

By Hardik Savani | February 17, 2016 | | 1537 Viewer | Category : jQuery

Crop, Resize, Frames etc on selected image in php using Aviary

Whenever you require to use any image plugin for select image and crop,resize,effects,frames,strickers ect, so you have to use Aviary api like as you see of facebook, twitter ect., that site plugin provide lots of efects and api guide that way you can use easily in your web app and as well as on mobile app too. So, I am going to give demo of how to use this api in our side. <strong>Preview:</strong> <img style="border:2px solid cadetblue;width:100%" src="/upload/selectimage.png"> <strong>Example</strong> <pre class="code language-html"> <html> <head> <title>Aviary Image U.....

By Hardik Savani | February 16, 2016 | | 2247 Viewer | Category : PHP Javascript HTML CSS jQuery

laravel 5 change date format using carbon example

Sometimes you require to change date format in your laravel app. we have to use Carbon class for change format in laravel, because it provide many date function for like change date formate, count diffrence between two dates in days etc. So, Basically i am going to show you change date format using Carbon. we will use createFromFormat() and format(), createFromFormat() will take two argument first give format of date and second one date and format() take one argument give formate as you want. you can see bellow example: <strong>Example:</strong> <pre class="language-php"> $date = date('Y-m-d H.....

By Hardik Savani | February 16, 2016 | | 2802 Viewer | Category : PHP Laravel

Laravel 5.2 and AngularJS CRUD with Search and Pagination Example.

Now i show you how to create CRUD(Create, Read, Update, Delete) using AngularJS and Laravel 5. In Following step by step you can create web application of create, edit, delete, lists, search with pagination of items modules. In this post through you can make simple crud, search and pagination module and easily use in your laravel project. I am going to show preview of items module that we will do using angularJS and Laravel 5.2. <strong>Preview</strong> <img src="/upload/laravel-angular.png" width="100%" style="border:2px solid cadetblue" /> <strong class="step">Step 1: Create items table an.....

By Hardik Savani | February 15, 2016 | | 47449 Viewer | Category : PHP Laravel AngularJS

How to get hours difference between two dates in laravel?

Whenever you need to get difference between two dates in hours in laravel 5 then you can get easily using Carbon. Laravel by default provide Carbon class. Carbon class throught you can calculate difference between two dates in hours. In Following example you can see, we have a two dates, first $to variable and second one $from variable. Carbon class diffInhours function using you can get difference between two dates. I hope you will find your solution. <strong>Example:</strong> <pre class="language-php"> $to = \Carbon\Carbon::createFromFormat('Y-m-d H:s:i', '2015-5-5 3:30:34'); $from = \Carb.....

By Hardik Savani | February 13, 2016 | | 1803 Viewer | Category : Laravel

Twitter API Stripe Form Validation croppie.js Repo bootstrap-multiselect plugin DATEDIFF() Sendgrid Bitbucket yajra/laravel-datatables-oracle str_replace Laravel Cashier auth() Import bootstrap-progressbar.js parse DB Statement thujohn/twitter package Numeric Typeahead JS REST Recursive Homepage Percentage daterangepicker Excel Autocomplete Lavacharts FILTER_VALIDATE_URL away() Local Captcha code Now Library preg_match PHP Ubuntu 14.04 Carbon Tracking Blade inject PHP artisan datatables Codeigniter 3 Switchery JS SMTP groupBy() Blocked Packages Git Sitemap Ubuntu Bootbox.js Authentication Message encrypter Mailchimp API array_combine thomaswelton/laravel-gravatar FIND_IN_SET() Configuration Scout Package Parsleyjs Progress Bar Version Amazon S3 Capitalize Ajax SUM() Tooltip helper Parameters SUBSTRING_INDEX() apache2 Linux Bootstrap show password Plugin Algolia Package glob Segment Source Code Image Upload Terminal Localization xoxco tags input Remember me Site Dynamic Dependant Dropdown Draggable Attribute Middleware GuzzleHttp Paging lowercase Cache mysqld.sock laravel-elixir clipboard.js Composer toastr js Codeigniter Null select box search refspec Specific enableQueryLog MassAssignmentException Laravel 5.2 Route Artisan Command Controluser PHPUnit nl2br HTML Controller milon/barcode Executed User ACL Package Directory Upgrade uppercase Gmail clearbit API Apache Value Ckeditor getQueryLog Schema Remove KCFinder Sublime AngularJS Count Xampp PingPong jQuery Base URL Tutorial Download Old Example JWT Custom Components & Slots Form JS Plugin colorpicker Barcode chumper/zipper Jquery Dialog Box