Category : Laravel

ItSolutionStuff.com have tutorials for Laravel, here you can study articles of Laravel, Laravel posts collection, most popular and useful tutorials of Laravel, here you can find list of all relevant posts and example about Laravel, we have lists of tutorials and examples about Laravel.very simple and quick example collection of Latest Laravel category.



Laravel 5 Pagination example

In this tutorial you can learn how to add simple pagination in your blade file. If you are beginners then it can help you. Laravel 5 provide its own method for pagination. But if you are work on code PHP then you have to write long code for pagination and render view etc but in Laravel it is very simple so let's select data following way in Controller. <strong>Controller File:</strong> <pre class="prettyprint lang-php"> public function getUser() { $data = User::paginate(10); return view('users.index',compact('data')); } </pre> In above example you can see now it will return pagination with 1.....

By Hardik Savani | April 21, 2016 | | 24883 Viewer | Category : Laravel
READ MORE

Laravel 5 File(Image) Upload Example with Validation

In this tutorial i want to share with you how to create image uploading in Laravel 5. If you are beginners then you can do that simply. Laravel 5 provide very simple way to create file uploading with proper validation like max file size 2mb, file extention should be jpeg,png,jpg,gif or svg etc. So you can easily also implement this on your laravel application. I give you very easy and simple example that way you can undestand very well. So let's start from routes define. <strong class="step">1. Define Route</strong> First you have add two route in routes.php file. first one for generate view a.....

By Hardik Savani | April 21, 2016 | | 119326 Viewer | Category : Laravel
READ MORE

How to check table is exists or not in Laravel 5?

Laravel provide database migrations using Schema facade. Schema facade have sevaral method like add column, remove column, check if table exists, check if column exists etc. In bellow example you can see how to detect if a database table exists with Schema Builder. We somtimes need to check if table exists then to do something etc. So you can check this way: <strong>Example:</strong> <pre class="prettyprint lang-php"> Schema::hasTable('yourTable'); </pre>

By Hardik Savani | April 20, 2016 | | 11375 Viewer | Category : Laravel
READ MORE

Laravel 5 Twitter OAuth using Socialite Package

In Todays, Social authentication is important to implement in website because nowdays most of the users or developer etc will connected with Social network like twitter, facebook, google+, gitbub etc. So, In this post i want to share with you how to do sign in with twitter and how to do sign up with twitter. Laravel 5 provide very easy way to implement login with your twitter account and register with your twitter clent id. Laravel 5 provide us Socialite package that is help to social authentication. In this post we will make example same as like bellow preview and you can do that easily by us.....

By Hardik Savani | April 18, 2016 | | 11630 Viewer | Category : Laravel
READ MORE

How to define Global Variables in Laravel 5?

Laravel framework is awesome framework in todays. Laravel provide sevaral good feature and that's why it is very popular framework in PHP. Basically if we are work on big website project or ERP level project we always need to define some global variable like site title, number of pagination, footer text etc as depend on our project. So, I am going to show you how to define and use global variable in Laravel 5. Laravel 5 provide very simple way to set Global Variables in our laravel application. It is very pretty simple and with good directory structure. First we have to create global.php file.....

By Hardik Savani | April 17, 2016 | | 23238 Viewer | Category : 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 | | 68058 Viewer | Category : Laravel
READ MORE

Laravel 5 Facebook authentication using Socialite Package

In Nowdays, Social authentication is important to implement in website because nowdays most of the users or developer etc will connected with Social network like facebook, twitter, google+, gitbub etc. So, In this post i want to share with you how to do sign in with facebook and how to do sign up with facebook. Laravel 5 provide very easy way to implement login with your facebook account and register with your fb id. Laravel 5 provide us Socialite package that is help to social authentication. In this post we will make example same as like bellow preview and you can do that easily by using few.....

By Hardik Savani | April 15, 2016 | | 42267 Viewer | Category : Laravel
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 | | 110368 Viewer | Category : Laravel
READ MORE

How to check if record exists or not in Laravel 5?

If you are new in laravel 5 and you want to determine email is exist or not then you can do it easily. IF you did use code php then we have to write long code and check but laravel provide it's own query builder so it is pretty easy. you can see following example how i check row is exists or not: <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> $user = User::where('email',Input::get('email'))->first(); if (is_null($user)) { print_r("email is exists"); } print_r("email is not exists"); </pre>

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

How to check if View Exists or not in Laravel 5?

In some situations, we require to check if view exists then render view otherwise display something else. But you can perform this task using "exists" function of view helper. It will return true or false. So you can use bellow example. <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> if (view()->exists('users.index')) { .... } </pre>

By Hardik Savani | April 12, 2016 | | 1924 Viewer | Category : Laravel
READ MORE

    Laravel 5 login with Linkedin using Socialite Package

    Laravel 5 login with Linkedin using Socialite Package

    Open Post

    Laravel 5 - login with username or email example

    Laravel 5 - login with username or email example

    Open Post

    Laravel 5 generate sitemap using roumen/sitemap package Example

    Laravel 5 generate sitemap using roumen/sitemap package Example

    Open Post

    How to send mail using zoho smtp server in PHP Laravel?

    How to send mail using zoho smtp server in PHP Laravel?

    Open Post

    Laravel 5.5 - Validation Data Return - New Feature

    Laravel 5.5 - Validation Data Return - New Feature

    Open Post

    How to install laravel in your Android Phone

    How to install laravel in your Android Phone

    Open Post