Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

gitignore .env not working – remove cache from git history

Problem: I want git to ignore the .env file that contains my local development environment configuration. I’m using git in VS Code editor. This is how the .env file is listed in the .gitignore file. *.env .env But it keeps syncing with the git repository. And every time the code has been merged, the staging […]

Copy or duplicate a row in Laravel project

I have been working on an application named “EasySME” with Laravel & MySQL. And a client requested a new feature that he wants to clone/copy/duplicate the existing Invoice. So, I have done a few searches and R&D and found out that Laravel ships with a built-in function called replicate(). Laravel is awesome, you want it […]

How to get or export SQL query from Laravel migration file?

Hey there.. hope you are facing the same problem as I am facing to update the DB from phpMyAdmin.. and no ssh access from Cpanel to run the migration command on the terminal. And you are in the right place.. here is the solution to get the dump query from the Laravel migration file. Command: […]

Sublime Text Editor – User Preference Setting

If you working in any editor, you would like to set the environment as you want. And in Sublime Text you can set your preferences in a easy way. – Go to Preferences > Settings – User  and put the below preferences. You can also tweak the settings by blocking/unblocking the setting by double front […]

Wordpress Social Share Plugin powered by Ultimatelysocial

Remote PHP, Laravel, LAMP developer experience in Oracle Service Cloud

Hi, You can subscribe to get emails
about technology hacks, tools and many more.