Laravel 5.5 HMVC modular structure

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.

Continue reading Laravel 5.5 HMVC modular structure

Laravel 5.5 create a first artisan console command

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?

Continue reading Laravel 5.5 create a first artisan console command

Laravel export table data to excel sheet using Laravel excel

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.

Continue reading Laravel export table data to excel sheet using Laravel excel

Laravel Faker generate dummy data for testing

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.

Continue reading Laravel Faker generate dummy data for testing

Laravel call artisan command from route or controller

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.

Continue reading Laravel call artisan command from route or controller

Google Map API set marker to current user location

How to get current user location using Google map API and set the google map marker to the current user location with Info window.  Yes, it is possible to get the current user location using Google map API.

Continue reading Google Map API set marker to current user location