Tag : Laravel 5.4



Laravel 5 - login with username or email example

Today, we will learn how to allow login with username or email in laravel 5 application. If you see on some website, they allow email or username both for login or email, username, mobile no, id etc. i mean they provide several way for login. In this example, you can learn how to make it possible to username or email for login in php laravel 5. we have to simply use PHP filter <strong class="path">"FILTER_VALIDATE_EMAIL"</strong> to validate is it username or email So, basically you have to write your login method like as bellow i gave you example: Let's see bellow example and put it on you.....

By Hardik Savani | July 6, 2017 | | 4789 Viewer | Category : Laravel
READ MORE

Laravel 5 - Confirmation before delete record from database example

Hi Guys, In this post we will learn how to open confirm model box before deleting item in laravel 5 application. As we know very well delete operation is very command and basic feature of every web application. Also delete operation is very important part because if you remove item, post, product, category etc then it will remove from your browser. So we should always prefer to confirmation before remove item. There are several options available to use confirm like jquery ui confirm, sweetalert, bootbox, bootstrap confirmation etc jquery plugin. So we almost use bootstrap theme so it would al.....

By Hardik Savani | June 29, 2017 | | 30943 Viewer | Category : PHP Laravel Bootstrap jQuery MySql Ajax
READ MORE

Laravel 5 - Ajax crop image before upload using using croppie plugin

In this article i will let you know jquery ajax crop image before upload using croppie plugin in Laravel 5 application. After several feedback and request from viewer for post of laravel 5 crop image upload example, i decide to find good plugin and post for ajax crop image in laravel 5 application, Last few days ago i already posted for image uploading with laravel like <a href="http://itsolutionstuff.com/post/ajax-image-upload-example-with-validation-in-php-laravel-frameworkexample.html" target="_blank" >Ajax Image Upload Example With Validation in Laravel</a>, <a href="http://itsolutionstuf.....

By Hardik Savani | June 24, 2017 | | 22893 Viewer | Category : PHP Laravel Bootstrap jQuery Ajax
READ MORE

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 | | 8146 Viewer | Category : PHP Laravel
READ MORE

Custom User Log Activity in Laravel 5 App Example

In this tutorial we will learn how to create custom user log activity without composer page in laravel application. In this article, I share with you very simple and easy log management in laravel application. I created custom log tables and helper facade that way you can keep your track user logs. You can simply modify table structure and also helper method name etc as you like. I always like to do something new so i did very simple user custom log activity management system. After reviewing all codes, you can understand how it works and simple. we will manage log without using anymore pac.....

By Hardik Savani | June 17, 2017 | | 25604 Viewer | Category : Laravel
READ MORE

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 | | 6307 Viewer | Category : PHP Laravel Bootstrap jQuery MySql
READ MORE

Laravel 5 ajax request validation example

In this example, I am going to show you how to make validation using jquery ajax in laravel 5 application. It would be always greate if you use laravel validation for your web form in laravel project. we can use laravel validation very simply if we don't need to use jquery ajax. because laravel provide easy way to use validation without ajax. But if you want to use laravel validation with jquery then you can't do it easily. However you can make it by following example. In this example i will show you how to use laravel default validation with jquery ajax. Here we also print laravel validat.....

By Hardik Savani | June 9, 2017 | | 52738 Viewer | Category : PHP Laravel Javascript jQuery
READ MORE

Laravel - How to disable created_at and updated_at timestamps from Model?

As we know, we create new record in table using model then created_at and updated_at column value automatic set current timestamps. But sometime you require to prevent set timestamp of created_at and updated_at column, Maybe you don't have. So in this post we will learn how to make disabled timestamps value from model. So, there are two way to create disable created_at and updated_at timestamps in laravel 5 application. So first you can simply "$timestamps" equals to false in your model. So you can do it as simple bellow example of Item model. <strong>app/Item.php</strong> <pre class="prettyp.....

By Hardik Savani | June 1, 2017 | | 3459 Viewer | Category : Laravel
READ MORE

Paytm payment gateway integration example in Laravel 5

In this tutorial, I am going to share with you How to integrate paytm payment gateway in laravel 5.4 application. As we know today market, all the things digital and as specially for india. India become digital india. Paytm is a very popular payment and commerce company based india. They provide very easy way to shopping and recharge of mobile, D2H, electricity bill etc. So in this example we will learn how to make paytm payment integration in laravel application. This example is from scratch using "anandsiddharth/laravel-paytm-wallet" package. So let's follow bellow few step and get preview .....

By Hardik Savani | May 16, 2017 | | 8627 Viewer | Category : PHP Laravel Bootstrap
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 | | 116753 Viewer | Category : PHP Laravel JSON JWT
READ MORE

    How to send mail using mailable in laravel 5.3?

    How to send mail using mailable in laravel 5.3?

    Open Post

    Laravel 5 - Image Upload and Resize Example using Intervention Image Package

    Laravel 5 - Image Upload and Resize Example using Intervention Image Package

    Open Post

    How to use sweetalert message box in laravel 5?

    How to use sweetalert message box in laravel 5?

    Open Post

    How to retrieve number of twitter followers count without authentication or api ?

    How to retrieve number of twitter followers count without authentication or api ?

    Open Post

    Laravel 5.3 - import export csv and excel file into database

    Laravel 5.3 - import export csv and excel file into database

    Open Post

    Bootstrap form validation example with demo using validator.js plugin

    Bootstrap form validation example with demo using validator.js plugin

    Open Post