Tag : Tutorial


How to create ban/revoke user functionality in Laravel 5 example ?

In this tutorial, i am going to share with you how to create user block and unblock feature in your laravel 5 application using laravel-ban composer package. It will mostly require to create user ban and revoke functionality for security reason. If you are developing big web application then it must be require to enable and disabled user when admin user want. Because some user make in-activity on our website then we could ban that user. So basicaly it is good if you are give user ban and revoke functionality to client on your laravel 5 application. In this article, we will learn how to make .....

By Hardik Savani | June 14, 2017 | | 4307 Viewer | Category : PHP Laravel Bootstrap jQuery MySql
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 | | 22460 Viewer | Category : PHP HTML Codeigniter
READ MORE

Laravel 5 - Twitter API using thujohn/twitter composer package tutorial

In this tutorial, I am going to share how to access twitter feed using twitter api in Laravel 5, In this example we also post tweet with multiple image upload using thujohn/twitter composer package of Laravel. As you know twitter is very popular social networking website. They also provide api to manage your tweets and also other information. In this example we are going to use thujohn/twitter composer package for use twitter api. thujohn/twitter package through we can use easily all api like fetch linkify(), linkUser(), getUserTimeline(), getHomeTimeline(), postTweet(), uploadMedia() etc. So.....

By Hardik Savani | December 11, 2016 | | 16267 Viewer | Category : PHP Laravel Bootstrap Twitter API
READ MORE

Laravel 5.3 new feature and update - $loop variable

Laravel 5.3 provides several new features in API, Mail, Model, Blade Template etc. Today we learn new feature <strong class="path">$loop</strong> variable of blade view in Laravel 5.3. Laravel Blade templating language provides several things like @if, @foreach, @include etc and you know this thing very well. Laravel 5.3 give new variable $loop in blade template engine and you can use it with <strong>@foreach</strong>. $loop variable through we can simply get first and last records. Sometimes we require to give difference layout of first element and last element of loop. So, you can simply d.....

By Hardik Savani | October 6, 2016 | | 3687 Viewer | Category : PHP Laravel
READ MORE

Laravel 5 Google OAuth authentication using Socialite Package

In Todays, Social network is very wide and lots of people are connected with them. So, Social authentication is important to implement in website because nowdays most of the users or developer etc will connected with Social network like google,facebook, twitter, gitbub etc. So, In this post i want to share with you how to do sign in with google and how to do sign up with google. Laravel 5 provide very easy way to implement login with your google account and register with your google id. Laravel 5 provide us Socialite package that is help to social authentication. In this post we will make exam.....

By Hardik Savani | April 16, 2016 | | 30062 Viewer | Category : Laravel Google API
READ MORE

Laravel 5 Repository Pattern Tutorial from scratch

In this post i want to share with you how to create Repository Pattern in Laravel 5 application. generally we are getting data directly from model, I mean we are use just MVC. But if you have big application then it is better way if you use Repository Pattern. I will give you few step to create Repository Pattern. normally we use directly from Model but if you make Repository Pattern for every module then it is good way to develop laravel application. <img width="100%" style="border:2px solid red" src="/upload/Laravel-5-Repository-Pattern-Tutorial.png"> <strong class="step">Step 1: Create In.....

By Hardik Savani | April 13, 2016 | | 55748 Viewer | Category : Laravel
READ MORE

Laravel 5 Stripe example using Laravel Cashier from Scratch

In this tutorial post i show you the example of Stripe subscription example using Laravel Cashier in Laravel 5.1 application. In this example i use Laravel Cashier(Billing) of Laravel 5. Whenever you are work on big project like ecommerce or ERP on that project mostly we need to use subscription plane for your application that way client can earn something. So the laravel include Billing subscription using Stripe. we will make bellow example for pay subscription payment method. In bellow preview you can see i added 5 input field of form. one for select plane, second for add credit card number.....

By Hardik Savani | April 11, 2016 | | 60673 Viewer | Category : Laravel
READ MORE

Laravel 5 Localization(trans helper) tutorial example

First Laravel 5 introduce localization for laravel application. Localization is very pretty intrsting topic added on laravel 5. Localization through we can manage multiple language message. i mean you can manage multiple languages within your application. for example you have one title like "Home Page", this is static title and now it is in english, but you also manage other language like if this site open in spanish then name will like : "Página de inicio". <img width="100%" src="/upload/Laravel-Localization-Tutorial.png" alt="Laravel-Localization-Tutorial.png" style="border:2px solid red".....

By Hardik Savani | April 9, 2016 | | 13249 Viewer | Category : Laravel
READ MORE

    Laravel 5 export to pdf using maatwebsite example

    Laravel 5 export to pdf using maatwebsite example

    Open Post

    Response download with file in Laravel 5.3 example

    Response download with file in Laravel 5.3 example

    Open Post

    Codeigniter 3 - select2 ajax autocomplete from database example with demo

    Codeigniter 3 - select2 ajax autocomplete from database example with demo

    Open Post

    Laravel 5.3 - whereDate(), whereMonth(), whereDay() and whereYear() examples.

    Laravel 5.3 - whereDate(), whereMonth(), whereDay() and whereYear() examples.

    Open Post

    How to use elasticsearch from scratch in laravel 5?

    How to use elasticsearch from scratch in laravel 5?

    Open Post

    Laravel 5 - How to get difference of time in minutes?

    Laravel 5 - How to get difference of time in minutes?

    Open Post