When first time I installed the Laravel 5.4 and generate the Auth module using artisan command. When I am going to run Laravel migration command I got an error like “Specified key was too long; max key length is 767 bytes”, I want to share solution of that issue on my blog.
Laravel provides powerful validation rules. Laravel provides lists of the validations rules that help us to validation incoming data before saving it in the database. We can easily print validation messages on blade file. Laravel provide manually creating validation request and Automatic redirection to the form. Continue reading Custom validation rules in Laravel 5.5
Laravel how can we get the user location details using IP address. Sometimes we need to get the user location detail and address of the site visitors. We can get the user location detail from the user IP address using Laravel.
Laravel is the object-oriented PHP Framework. Laravel provides awesome auth functionality. Using Auth we can perform all user related operations. Today we are learning how to get the current login user detail using Auth.
Laravel is the amazing framework. However when it comes to writing more complex and bigger application easily. Nowadays the Laravel is mostly used PHP framework for developing complex and bigger application. The default Laravel structure comes with cumbersome and not ideal.
Laravel is the most popular PHP Object Oriented framework. Laravel provides awesomely artisan console functionality. Laravel artisan console provides lists of commands that can assist you while building your application. So, How can we create a first artisan console command?
Laravel export table data to excel sheet using Laravel Excel. Many times we need to export user data and product and order data. So let’s see, The easiest way to get the data table data using eloquent model and export data to excel file.
Nowadays, The Laravel is the most popular framework. The most of the project is developed on the Laravel. On the many projects, we need to test project with many dummy data. If we create the testing data then it will take too much time. So let’s see, how we can create the much more data without westing the time.
Laravel provides awesome artisan command functionality. using artisan command we can create the controller and model file or clear the blade file cache and many more. How we can call artisan command from controller or route.
Laravel create the excel file directly from the blade view HTML table. It’s too easy and the fastest way to generate excel file from HTML table. Without blade view file we need to create the code for the generating the excel file. We need to set the array to the proper column format for generating the excel sheet. Now, forget all those things and just create the table on the Laravel blade view file.