Latest Post

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 | | 13128 Viewer | Category : Laravel
READ MORE

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="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body> <input name="subject_all" class="subject-all" type=.....

By Hardik Savani | February 10, 2016 | | 673 Viewer | Category : HTML jQuery
READ MORE

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 | | 10701 Viewer | Category : Laravel
READ MORE

How can i print php variable in jquery?

If you are working on php and you need to print your php variable inside the javascript then you can simple get value. you can use "" for get value of php variable. in following example you can see : <strong>Example:</strong> <pre class="code language-html"> <script type="text/javascript"> var my_var = "<?php echo $my_variable; ?>"; console.log(my_var); </script> OR <script type="text/javascript"> var my_var = <?php echo $my_variable; ?>; console.log(my_var); </script> </pre> But, you can use on php file, Not on js file.

By Hardik Savani | February 8, 2016 | | 1020 Viewer | Category : PHP Javascript jQuery
READ MORE

How to get product using rakuten marketing api in PHP?

In this post you can find how can use rakuten linkshare API in our php website. first you need to create class for retrieve data from "https://pubhelp.rakutenmarketing.com/hc/en-us" website. now i give to example of product search, but if you use this class then you can easy to implement your other search like advance search etc. So now i am giving you class that send request to rakutenmarketing.com website and get data. but this class you can also you for other site API use like CJ API. <strong>Your php file :</strong> <pre class="language-php"> public function getProduct() { // Bearer to.....

By Hardik Savani | February 6, 2016 | | 5044 Viewer | Category : PHP Laravel Rakuten Marketing API
READ MORE


Snippet PHPExcel Cordova gulp file_exists() softDeletes Master select box search Redirect lowercase Confirm Box Sublime text 3 Loading Link Contact US Form enableQueryLog COUNT() Download AngularJS TrustAsHTML Filter Apache Strip Tags RAND() Control Bootstrap show password Plugin POST Ajax Directory Vue.JS Column Ionic framework Image Upload CASE_LOWER Numeric Select Query unicodeveloper/laravel-password Array Allow ServiceProvider DB Ubuntu clockface plugin Datetimepicker Scout Package Zip Barcode IP Config AngularJS Directive csv Configuration Lightbox marker nl2br Gmail DB Statement Month Failed Database Determine inner join public_path Run Project Connection Loop validator.js Blocked Laravel 5.4 - Markdown Mailables Object WHERE Query ajaxComplete thomaswelton/laravel-gravatar PHPUnit FadeIn Sortable DB::raw() API Schema PingPong refs Autocomplete Controluser jQuery Index Prompt modal Windows Mediafıre API Instagram API Mailgun API Highlight JS Resize Image User Twitter Bootstrap Dialog box Permission uppercase Special FIND_IN_SET() Check characters filesize() Issue Object to Array Record Terminal Captcha code oauth upload_max_filesize Specific Class SUM() maatwebsite Value Log Form Validation tree view Multi Auth Add Request Method Force Controller phpmyadmin socket Date Format Draggable Number CORS Upgrade scrollTop refspec Highchart CloudConvert API JSON Algolia Package xoxco tags input toSql auth() Custom Command glob Javascript Laravel 5.2 React JS timestamps Particular apache2 php artisan serve Toggle str_random() Bootbox.js Accordion Magento String