Latest Post

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 | | 3817 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 | | 4730 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 | | 109886 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 | | 3257 Viewer | Category : Laravel

How to add prefix in each key of PHP Array?

Whenever you require to add one character or more to each and every key of array then most of the people would like prefer add key using for loop or foreach loop. But we can do this without using any kind of loop. using array_combine(), array_keys() and array_map() through we can add prefix on each key of array, In Bellow example you can see how to use both function together and add faster way to add prefix of every item key: <strong>Example:</strong> <pre class="language-php"> $myArray = ['0'=>'Hi','1'=>'Hello','2'=>'Hey']; $myNewArray = array_combine( array_map(function($key){ return 'a.....

By Hardik Savani | February 13, 2016 | | 3342 Viewer | Category : PHP

Undefined Master CASE_LOWER Old parse Tag Manager plugin Bootstrap-lightbox Plugin Multi Auth array_combine AngularJS Directive Switchery JS datatables Barcode public_path Count Directory Socialite scrollTop Exists Paytm Magento 2 Current Zip Scratch Generate Paypal Payment Gateway Email Delete chmod json() clockface plugin Express Enable Capitalize MassAssignmentException Package Location Check Tutorial Protection Schema Path Admin Panel upload_max_filesize Setup oauth CloudConvert API DB Amazon S3 whitespace Array throttle bplist-parser Eloquent-Sluggable Package Script filter Source Code Timepicker pop() intervention/image Page array_map thomaswelton/laravel-gravatar Zoho mail auth() Homepage GuzzleHttp word-wrap Upgrade Lavacharts Interface timestamps Base URL XSS Laravel 5.3 Column Solve typed.js plugin Gmail Laravel 5.4 - Markdown Mailables RAND() Apache thujohn/twitter package Ionic Variable voyager package WHERE Query AngularJS TrustAsHTML Filter Subscription croppie.js POST Ajax Executed React JS Foreach Class Website helper Database Seeder Request API Windows Xampp Select toastr js Paging split Magento filter_var Components & Slots select2.js Percentage gulp Hard Packages Where In Query Function Determine Artisan Command Highlight JS SUM() Localization Image Laravel Eloquent PayPal Route Mailgun API Artisan FILTER_VALIDATE_URL length Controluser Draggable Query execute query AngularJS strtolower PHP artisan Month tree view Codeigniter Bootbox.js DATE_SUB DATEDIFF() csv REST hasTable Key Constraint chumper/zipper groupBy() ppa Add