How to define Global Variable or Constant in Laravel

We often need to define global variables/constants for our application, like Status, Conditions, Countries (we can put all countries in table as it will be along array/object), also weekdays, weekends and e.t.c. vary on projects. Status (Active, Inactive) and Conditions (Ok, Good, Better, Best) or Grade (F, C, D, A, A-, A+), so like these … Continue reading How to define Global Variable or Constant in Laravel

Advertisements

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 … Continue reading Sublime Text Editor – User Preference Setting