Tag : Package


Laravel 5 - Create modular structure application example using L5Modular package

Today i am going to share with you how to implement modular design in your laravel application from scratch using L5Modular package. When i have started working with laravel and i see the structure of laravel like controller, views, model and helpers etc. I was impressed and i liked more. But still i was little bit confuse, thinking we can make it modular then it become more useful and understandable. If you create module for every crud enter level like country, state, city, item, product etc. It could be fantastic because it can re-use in your other laravel application easily. Modular struct.....

By Hardik Savani | June 20, 2017 | | 1829 Viewer | Category : PHP Laravel
READ MORE

Laravel 5 - How to create API Authentication using Passport ?

In this tutorial, We will lean how to build basic web services authentication in Laravel 5 application. In today, API as also know as Web services. Web services very important when you are create web and mobile app developing. You require to create API for you mobile application developer. As we know laravel is more popular because of creating API. But if you are starter and you don't know what is api and web services, then you are a right place. In this example i will show you how to create very simple api and authentication. Laravel introduce Passport package for api authentication. Passp.....

By Hardik Savani | May 9, 2017 | | 28068 Viewer | Category : PHP Laravel JSON JWT
READ MORE

PHP - import excel file into mysql database tutorial

In this post, i going to explain how to import excel file into mysql database using PHP. In this post i will give you full example of csv file, ods file, xls file, xlsx file import into database using phpexcel package. We always require to add data from admin panel like products, items, users, emails etc. If we have few records and require to add manually then it is ok, But if we have more data on excel file or csv file then it take long time to store data, At that time we can use direct import xls file or csv file into mysql database. So, In this tutorial i am using Spreadsheet_Excel_Reade.....

By Hardik Savani | November 27, 2016 | | 20645 Viewer | Category : PHP Bootstrap MySql
READ MORE

Laravel 5 - create quick backend admin panel tutorial

Today, I am going to share with you How to create admin panel in Laravel 5 Application. In this tutorial we will create quick simple back-end admin panel using voyager package. We always require to create admin area for every website. Admin Panel keep dynamic our website. Admin Panel through admin user can handle website dynamically like change title, meta-data, posts and etc other modules. So If you are working on Laravel framework and you require to create quick admin panel then you can do it using voyager package. voyager package through we can make quick back-end in our Laravel 5. This pa.....

By Hardik Savani | November 27, 2016 | | 129447 Viewer | Category : PHP Laravel Bootstrap Installation
READ MORE

Laravel 5.3 - import export csv and excel file into database

Laravel 5.3 release few days ago and they upgrade several feature on Laravel 5.3. They also some changes on directory structure and etc. So, Today I am going to give you one example how to import and export xls, xlsx and csv files. I also added post for Laravel 5, but this example will help you to implement on your Laravel 5.3 application. In this example through you can import excel or csv to store in database and export or download excel or csv file from database table. For this example i use maatwebsite package from scratch. Maatwebsite package though we can easily working with csv and .....

By Hardik Savani | September 18, 2016 | | 88437 Viewer | Category : Laravel
READ MORE

Laravel 5 - generate PDF from html view file and download using dompdf

Normally, if we work on big ERP level project on laravel, we require to generate PDF file for data from database table. In this tutorial i give you very simple way to create pdf file and give to download that pdf step by step for beginners. In this post i use laravel-dompdf package for create pdf file and this package also provide to download function. In this example i have a one table "items" and i will download pdf file of items table data with tabular format, You can also write your own css on view file for pdf, so you can make batter pdf file. So, finally you have to just follow few ste.....

By Hardik Savani | July 15, 2016 | | 95410 Viewer | Category : Laravel
READ MORE

How to solve - This cache store does not support tagging?

When i was working on ACL module for my project, i fetch error like : This cache store does not support tagging, if you use zizaco/entrust package for ACL and you fetch this error then you have to set array as cache driver, so open .evn file and change CACHE_DRIVER value this way: <strong>.env</strong> <pre class="prettyprint lang-php"> CACHE_DRIVER=array </pre>

By Hardik Savani | July 3, 2016 | | 23853 Viewer | Category : Laravel
READ MORE

Laravel 5 - Barcode generator example using milon/barcode package

In this post i am going to give you example of how to generate barcode in laravel application. we will create barcode using milon/barcode package that provide several way to generate QR Code and barcode. If you need to generate barcode for your products then you generate barcode sticker in laravel application using milon/barcode package. I added preview of barcode after finish example you can find output like bellow preview. It's provide several barcode like Qr Code, PDF417, C39,C39+, C39E,C39E+, C93, S25,S25+, I25,I25+ etc. You have to just follow few step: <strong>Preview:</strong> <img widt.....

By Hardik Savani | May 17, 2016 | | 23772 Viewer | Category : Laravel
READ MORE

Laravel 5 - Google reCaptcha code and Validation example using anhskohbo/no-captcha package

I think we should use Google captcha code on our registration form, contact form etc because captcha code prevent spams, bots etc. Most of the application we need to use captcha varification because it very important for security reason. There are several library to generate captcha image in Laravel. In this example i use Google reCaptcha for generate captcha using anhskohbo/no-captcha package. anhskohbo/no-captcha is very popular package. In this post i give you very simple and from scratch of generate Google reCaptcha code as you can also see bellow preview. After complete this example you .....

By Hardik Savani | May 16, 2016 | | 19961 Viewer | Category : Laravel Google API
READ MORE

Laravel 5 - multiple files download with response example

If you need to give to download multiple files response from out application. If you require to give download only on file then you can do it easily like this way: <pre class="prettyprint lang-php"> return response()->download(public_path('myimage.jpg')); </pre> But if you need to give multiple images files or docs etc then you can't do it this way: <pre class="prettyprint lang-php"> return response()->download([public_path('myimage.jpg'),public_path('myimage2.jpg')]); </pre> But you must have to create single zip file or something. So first you need to use zipper package, i added zipp.....

By Hardik Savani | May 14, 2016 | | 6673 Viewer | Category : Laravel
READ MORE

    AngularJS - Display Default image if original image does not exists with example

    AngularJS - Display Default image if original image does not exists with example

    Open Post

    PHP - import excel file into mysql database tutorial

    PHP - import excel file into mysql database tutorial

    Open Post

    PHP - How to implement Google new reCAPTCHA Code Example with Demo?

    PHP - How to implement Google new reCAPTCHA Code Example with Demo?

    Open Post

    How to implement lazy loading image with example for your website?

    How to implement lazy loading image with example for your website?

    Open Post

    Jquery select2 ajax autocomplete example with demo in PHP

    Jquery select2 ajax autocomplete example with demo in PHP

    Open Post

    Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example - Part 2

    Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example - Part 2

    Open Post