TinyMCE Image upload using Laravel

TinyMCE is a popular open-source JavaScript library that provides a rich text editor for web applications. When we insert or paste image into the editor, images_upload_handler handler function in TinyMCE is used to uploading of images to the server. Update your tinymce initialize code as below, You need to make sure about selector and other […]

How to get nearest area lat and lng in Laravel

To get the nearest area from a set of latitude and longitude coordinates in Laravel, we can use the haversine formula to calculate the distance between the coordinates and a set of known coordinates for the area. The haversine formula calculates the distance between two points on a sphere based on their latitude and longitude […]

How to fix .gitignore not working issue on our repository

Sometimes our .gitignore file isn’t working as expected, there are a few reasons why this might be happening. Here are a few solutions that we can apply: Make sure that your .gitignore file is in the root directory of your repository. Git looks for this file in the root directory, so if it’s in a […]

Laravel Packages

Laravel is a popular PHP framework for web development, and there are many packages available for it that can extend its functionality. Some examples of popular Laravel packages include: Laravel Debugbar: This package adds a debug bar to the bottom of the page that shows information about the current request, such as route, controller, and […]

Remove index.php from url laravel

1) Apache Virtual Host If we have full access of our server than we can remove index.php from the url using virtual host. 2) .htaccess We can also remove index.php from using .htaccess. We need to create .htaccess file in our root directory of Laravel project if its not available. Place the below code in […]