Latest Post

Laravel 5 - Custom Helper Facade Class Example from scratch

Today, In this post i am going to share with you how to create custom global helper functions using Helper Facade in our Laravel 5 application. We always need to define some global functions for our application because that way we can access that helper functions from every file of our project. In this tutorial i am going to share with you how we can make global helper function in Laravel framework from scratch. It is very important to create custom helper functions we have before start our projects. In this post we learn how to create custom Helper facade, i also posted few days ago <a href=.....

By Hardik Savani | March 5, 2017 | | 6498 Viewer | Category : PHP Laravel
READ MORE

Laravel - How to search with comma separated values using Query Builder ?

Sometimes, we require to manage to take single column for multiple integer ids, for example if we have "posts" table and require to set multiple tags on each post, so at that time we can take just single column and store selected tags ids. this way will use less memory. It is simple to store data into row, but as you think how we can search or find specific tag id data from comma separated column value using laravel query builder. However, It is possible using <strong class="path">"find_in_set()"</strong> of MySql predefine function, We can use find_in_set() using whereRow() of laravel query .....

By Hardik Savani | March 2, 2017 | | 1430 Viewer | Category : Laravel MySql
READ MORE

How to get last inserted id in Codeigniter?

Sometimes, we require to get last insert record id from database in controller, so in this example we will learn how to get last inserted row id in Codeigniter 3 project. It's very often need to get last insert id in programming field, if you are working on Codeigniter framework and you want to fetch last created id, i mean max id, then you do easily.Codeigniter provide method insert_id() to get last inserted id. insert_id() is function of "db" library. db library provides several function for connecting database task. insert_id() will return id of last inserted record. So here i give contro.....

By Hardik Savani | February 28, 2017 | | 502 Viewer | Category : MySql Codeigniter
READ MORE

Laravel 5 - Simple user access control using Middleware

We always require to built user access control in our application, when we start. I posted <a href="http://itsolutionstuff.com/post/laravel-52-user-acl-roles-and-permissions-with-middleware-using-entrust-from-scratch-tutorialexample.html" target="_blank">User ACL Roles and Permissions using entrust</a> for laravel 5 application. But as you can see on my post it is very useful and fantastic, But if you have big application or like e-commerce application. Because User ACL is take a time to implement. Yes, if you have small or medium level application and you don't require to make permission with.....

By Hardik Savani | February 26, 2017 | | 20693 Viewer | Category : PHP Laravel
READ MORE

Codeigniter 3 - Generate PDF from view using dompdf library with example

In this tutorial, i am going to share with you how to create pdf file from html view using dompdf library in Codeigniter 3 application. We will integrate dompdf library from scratch so no issue if you don't know about dompdf library. We generally require to generate PDF for invoice, data, information, subscription etc. If you use any PHP framework like laravel, code php, yii etc then you have option to other package for generate HTML file into PDF. But if you are working on Codeigniter then you fetch problem to how to do it. But in this article i am going to give you very simple example to ht.....

By Hardik Savani | February 26, 2017 | | 3750 Viewer | Category : PHP HTML Codeigniter
READ MORE


parse Login With FB croppie.js Date Format Repo Nodejs away() XSS validator.js guzzle http client View Empty Linux Rewrite Autocomplete Carbon scrollTop Select Query Paypal Payment Gateway Modal Calculate PHPExcel throttle toastr js Current Page Issue node.js Force toArray() Stripe Convert Bootstrap show password Plugin Opencart MassAssignmentException clockface plugin Scout Package gravatar Animate helper Delete voyager package Controluser bootstrap-multiselect plugin JWT Number Excel Package Apache characters Mailchimp API JSON GET Ajax PHP Authentication FILTER_VALIDATE_URL Twitter OAuth Example roumen/sitemap First Function php.ini date_format() Ubuntu 14.04 Email Verification Laravel 5.4 Character Send jquery.lazyload.js Lavacharts Jquery Dialog Box Directory DATEDIFF() Value Select Connection Parameters DB Statement Express Algolia Package thomaswelton/laravel-gravatar Object Origin Element Blade inject Check league/flysystem-dropbox Xampp read more GuzzleHttp MSSQL Middleware HTML Scratch Image word-wrap yajra/laravel-datatables-oracle Timepicker User Agent Website Database Query Gravatar Image refspec Capitalize SweetAlert Plugin Script MySql Cache Barcode softDeletes preg_match Google API Message Form JS Plugin ID Google Map Export enableQueryLog FIND_IN_SET() Sitemap Redis Search hasColumn milon/barcode Old Last POST Ajax Laravel Cashier Google OAuth Automatically toSql groupBy() clipboard.js screenshotmachine.com API xoxco tags input Scroll encrypter DATE_SUB Lightbox Laravel 5.2 Sublime text 2 Laravel 4 Technology Collapse Log max_file_uploads is_null auth() Laravel 5.3 Blocked