Category : Laravel



Laravel 5 - Create Dummy Data using tinker factory

Hi, Friends Today we will learn how to generate dummy records in your database table using tinker factory of Laravel 5.5. As we know testing is very important part of any web development project. Sometime we may require to add hundreds records in your users table, OR maybe thousands of records. Also think about if you require to check pagination. then you have to add some records for testing. So what you will do it at that that moment, You will add manually thousands of records ? What you do ?. If you add manually thousands of records then it can be take more time. However, Laravel 5 have co.....

By Hardik Savani | August 31, 2017 | | 4878 Viewer | Category : Laravel
READ MORE

Laravel 5 - Column sorting with pagination example from scratch

Hi, Guys i always try to find something new article for laravel developer so that can be help for his development. So Today i will share with you amazing tutorial of laravel sortable table example, you can can sort your table field with pagination. We will do it column sorting using kyslik/column-sortable composer package. As we much know, sorting is important to find quick and perfect data. If you want to get ascending date or descending date of creation users then you have to simple sort data and then get. So same way if you want for name, price, id etc. So here i will explain how to do it.....

By Hardik Savani | August 27, 2017 | | 23169 Viewer | Category : Laravel
READ MORE

Laravel 5.5 New Feature - BladeIf Directive Example

Laravel 5.5 release their official documentation and they added several new features. In this post i will explain one new feature "BladeIf Directive" from the laravel 5.5 list. BladeIf is a one of the if condition but if you require many time same if condition then you don't need to write same code everywhere. You have to simple put code on one place and use every time name. For example if you have to check user is login or not and is admin then you will always write two condition with code. So we can just define one time and use their name on blade file. Here, bellow i will give you example.....

By Hardik Savani | August 24, 2017 | | 5493 Viewer | Category : Laravel
READ MORE

Laravel 5.5 - Validation Data Return - New Feature

laravel released 5.5 version a few days ago and they also introduce several new feature. So in this post i will let you know one new feature, they provide new way to validation check using request() and validate(). In this post i will give you three way to check validation and store input data into variable. So let's simple see how we can check and return back to validation. so just check bellow way to check validation: <strong>Example 1:</strong> <pre class="prettyprint lang-php"> public function store() { $this->validate(request(), [ 'name' => 'required', 'email' => 'required|ema.....

By Hardik Savani | August 18, 2017 | | 4919 Viewer | Category : Laravel
READ MORE

Simple Tags System Example in Laravel 5

If you are writing article for your blog or your personal website then you must need to implement taggable system in your website. If you write article or post for food then you have to create tags like on foods name, foods type etc. You also maybe see on there are several blog or website available tags bellow the article. So if you want to add tags in your article and you are using laravel framework then you are on right place. In this post, i will give you example of how to generate tags system in laravel 5 application using rtconner/laravel-tagging composer package. here i will simple crea.....

By Hardik Savani | August 6, 2017 | | 17877 Viewer | Category : Laravel
READ MORE

Laravel 5 curl request example using ixudra/curl package

If you know about php curl then you can simply run get, post request and get data from url. php curl is very interesting things. if you know and use in with php then you have to do curl_ini(), curl_setopt(), curl_exec() and curl_close() etc that way we can simply run request. But, If you require to fire curl request in laravel 5 application then you don't require to do curl_init(), curl_close() etc. We can run request very easily and get response in json. so we will use ixudra/curl composer package for run curl request very simple. Using ixudra curl package you can very simply curl post re.....

By Hardik Savani | July 30, 2017 | | 20363 Viewer | Category : Laravel
READ MORE

Laravel 5 create word document file using phpoffice/phpword package

Today, i am going to share with you how to generate docx file using phpword in laravel 5 application. After read this tutorial you can understand how to use phpword with laravel 5, laravel 5.1, laravel 5.2, laravel 5.3, laravel 5.4 and also upcoming laravel 5.5 version. In todays world, we sometimes require to create word document for export some data. For example if you have some important data like terms and conditions then it's always want to pdf or word that way we can get in better formate, So in laravel 5 you can do it using phpoffice/phpword composer package. In this example, i will g.....

By Hardik Savani | July 21, 2017 | | 19564 Viewer | Category : Laravel
READ MORE

How to delete multiple records using checkbox in Laravel 5 ?

It's almost need to give feature for remove multiple records using checkbox, if you are developing e-commerce application or any big web application then you must give feature to delete multiple records. So in this post, i will let you know how to delete multiple records with checkbox in laravel 5 application. here i also give multiple delete and you can also delete single records. Few days ago i posted for confirmation before delete record, so you can read from here : <a href="http://itsolutionstuff.com/post/laravel-5-confirmation-before-delete-record-from-database-exampleexample.html" targ.....

By Hardik Savani | July 18, 2017 | | 30460 Viewer | Category : Laravel
READ MORE

How to use sweetalert message box in laravel 5?

In this article, we will learn how to implement sweetalert in laravel 5 application. Here i am going to use uxweb/sweet-alert package for Sweet Alert Messages in laravel 5 application. we can simply use with laravel 5 all version like 5.1, 5.2, 5.3, 5.4 and next upcoming 5.5 too. Sweet Alert is a easy-to-use jquery library and using that we can generate beautiful alert message. Sweet Alert provide good layout and best way to open box with message. you can also use sweetalert for confirmation before delete, few days ago i posted for confirm before delete, you can read here : <a heaf="http://it.....

By Hardik Savani | July 14, 2017 | | 13188 Viewer | Category : Laravel
READ MORE

Laravel 5 email verification with activation code example

Email verification is a very basic and important part of secure laravel 5 application. In this tutorial i will let you know how to adding email verify step by step using jrean/laravel-user-verification in laravel 5 application. Several days ago i posted for email verification without package, you can read from here : <a href="http://itsolutionstuff.com/post/how-to-implement-email-verification-with-activation-code-example-from-scratch-in-laravel-52-example.html" target="_blank">How to implement Email Verification with Activation Code example from Scratch in Laravel 5.2 ?</a>. So in this post i.....

By Hardik Savani | July 8, 2017 | | 24838 Viewer | Category : Laravel
READ MORE

    Jquery Select2 - Select box with search example code

    Jquery Select2 - Select box with search example code

    Open Post

    PHP Codeigniter - Ajax Infinite Scroll Pagination Example

    PHP Codeigniter - Ajax Infinite Scroll Pagination Example

    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

    Solved Issue - "/usr/bin/env: ‘node’: No such file or directory"

    Solved Issue - "/usr/bin/env: ‘node’: No such file or directory"

    Open Post

    PHP Laravel 5 - Sub-domain routing file Example

    PHP Laravel 5 - Sub-domain routing file Example

    Open Post

    Laravel 5 email verification with activation code example

    Laravel 5 email verification with activation code example

    Open Post