Tag : Laravel 4


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 | | 8603 Viewer | Category : PHP Laravel Bootstrap jQuery MySql
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 | | 5570 Viewer | Category : PHP Laravel CURL
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 | | 7094 Viewer | Category : PHP 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 | | 16786 Viewer | Category : PHP Laravel Bootstrap jQuery MySql Ajax
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 | | 5299 Viewer | Category : PHP Laravel Bootstrap
READ MORE

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 | | 3341 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 | | 23833 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 | | 18021 Viewer | Category : PHP Laravel Bootstrap jQuery Ajax
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 | | 2626 Viewer | Category : Laravel
READ MORE

Laravel 5 - Grayscale Image Generate Example from scratch

Today, i am going to share with you how to make grayscale image from original in laravel application. Sometimes, we may require to make grayscale image when user upload image. grayscale image looks better if you have an good layout website. in article we will learn how to create grayscale image using intervention package in laravel. intervention package provide a lots of things to do with image like resize, Grayscale, write on image etc. intervention package is also perfect to generate grayscale image. So, let's follow few step to generate grayscale image and upload it to our server. You c.....

By Hardik Savani | May 2, 2017 | | 3698 Viewer | Category : PHP Laravel
READ MORE

    Laravel 5 notification alert using bootstrap notify plugin example

    Laravel 5 notification alert using bootstrap notify plugin example

    Open Post

    How to upload image with validation in PHP Codeigniter?

    How to upload image with validation in PHP Codeigniter?

    Open Post

    Laravel - How to make subquery in select statement?

    Laravel - How to make subquery in select statement?

    Open Post

    Laravel 5.4 New Feature - Add new Components & Slots in Blade Template

    Laravel 5.4 New Feature - Add new Components & Slots in Blade Template

    Open Post

    How to check current password using hash check in Laravel 5.3?

    How to check current password using hash check in Laravel 5.3?

    Open Post

    How to change date format in jquery using moment JS ?

    How to change date format in jquery using moment JS ?

    Open Post