Latest Post


PHP - How to create zip file and download using ZipArchive ?

Today, i am going to share with you how to create zip file using ZipArchive then give for download. So here i will give you very simple example to do this. We may require to create zip archive file using php code. We need to add some photos, docs etc on that zip file then give download. So here i am going to make very simple function createZip() that will help to create zip archive file. Using this function you have to simple pass array of file, docs, picture with path. So here i make very simple index.php file and you have to just copy that and run it. Make sure you have two image file sho.....

By Hardik Savani | September 24, 2017 | | 3582 Viewer | Category : PHP
READ MORE

Laravel 5.5 group by doesn't work - fixed

Someday ago i just installed laravel 5.5 application and i was checking new feature and making some examples. But i was working on database query builder example one by one, i got following error when i used group by on single column. My query was like as bellow example, so you can see on database query i simple get all users and group by with name. So, let's simply see how it is: <strong>DB Query:</strong> <pre> $users = DB::table("users") ->groupBy("name") ->get(); dd($users); </pre> But when i run above query using database query builder i got following error, as.....

By Hardik Savani | September 22, 2017 | | 2272 Viewer | Category : PHP Laravel
READ MORE

Laravel 5.5 Create Custom Middleware example

Middleware are used for filter HTTP requests in your web application. One of the basic requirement of any web application is HTTP requests filter, so we have to make is well for example make auth middleware. auth middleware always check if you are going then and then you can access those page. In laravel 5.5 application they are provide several default web middleware but in this tutorial we are going to create custom middleware for laravel 5.5 application. In this example, i am going to create "checkType" middleware and i will use simply on route, when they route will run you must have to pas.....

By Hardik Savani | September 17, 2017 | | 9333 Viewer | Category : PHP Laravel
READ MORE

Bootstrap star rating example using bootstrap-star-rating plugin

Today i am going to share with you design layout of bootstrap star rating in html. We may sometime require to do star rating system in your php, laravel, codeigniter etc projects. but you think how to make design for star rating because layout is always most important. If you doing manually using js and css then i don't think you can do it quickly, so it can take time. Here, we are going to use bootstrap-star-rating bootstrap plugin for star rating. bootstrap-star-rating plugin provide very simple way to make five star design with jquery code. Also they are give us very easy way to do this. w.....

By Hardik Savani | September 15, 2017 | | 10230 Viewer | Category : Bootstrap HTML
READ MORE

Laravel 5.5 custom validation rules example

As we know very well about, few days ago laravel 5.5 released and they introduce several feature. They also change method of create custom validation rules. So in this post i explain you how to create custom validation rules in laravel 5.5 application. Validation is a primary requirement of every project, without validation we can not release successful application or website. Because if you haven't implemented validation then you get wrong information from use input. Laravel provide there are several default validation rules like required, max, min, array, unique, digits, in, boolean, befor.....

By Hardik Savani | September 10, 2017 | | 13844 Viewer | Category : PHP Laravel
READ MORE


screenshotmachine.com API json() Now Branch Automatically Remove pngquant Strings php_ini_loaded_file read more mCustomScrollbar Plugin 404 error page thujohn/twitter package Jquery UI DB::raw() Empty Apache Stripe ID Site enableQueryLog Subscribe Facebook API Current Page no-captcha Opencart node.js Google Map Convert mysqld.sock Setup phpword Toggle Express Socialite PHPExcel Demo Snippet Admin Bootstrap Theme POST Ajax length Solve Scroll Repo Laravel orderBy Download Special Chart Control Determine PingPong Executed Laravel 5 Dialog box Gmail MVC Ubuntu 14.04 lowercase Magento Mail preg_match Parameters Modular Dropzone.js Bootstrap show password Plugin XML User Agent Javascript str_replace Datepicker bplist-parser Validation Parsleyjs Database Seeder Laravel Passport Captcha code Artisan Sort Config virtual host PayPal Terminal Access Twitter OAuth New Features Add Calculate Timepicker Variable GET Ajax CASE_LOWER Contact US Form Plugins guzzle http client Email Verification Route Thumbnails REST Current Bootbox.js Sortable IP clearInterval() Image Flash Message Listener marker Paypal Payment Gateway Page CSS Remember me file_exists() maatwebsite FIND_IN_SET() roumen/feed package Number Bootstrap Notify Plugin Sql Packages Laravel 5.2 validator.js toArray() After jQuery Path pop() Schema setInterval() meta http-equiv tag Email Tutorial FILTER_VALIDATE_URL Index Barcode Highlight JS gmaps.js gulp 500 error page Botdetect Captcha Repository Pattern Components & Slots softDeletes Progress Bar Dynamic Dependant Dropdown csv CURL CRUD Ip Address Laravel Builder