PhpStorm Quick Tips
Recently I decided to switch my IDE from the amazing Visual Studio code back to PhpStorm which was my preferred IDE of choice for years.
Recently I decided to switch my IDE from the amazing Visual Studio code back to PhpStorm which was my preferred IDE of choice for years.
Here are three handy routines that uses CSS to hide buttons in Laravel Nova. The use case is where you don’t want to use a
Here are some of the most used key combinations and plugins we like for Visual Studio Code How to remove extra line breaks The key
Background At times you might want to avoid certificate checking when developing a PHP application and using file_get_contents. If file_get_contents can’t work the the certificate
Background At times you might want to avoid certificate checking when developing a WordPress application. This could especially be true when you are developing on
PHP debugging can involve outputting to a log file. Although modern frameworks like Laravel has this baked in, sometimes you just want something short and
Description Here is a code snippet to work out the date of the last Sunday: echo date(‘Y-m-d’,strtotime(‘last sunday’)); Reference https://stackoverflow.com/questions/15196587/get-last-sunday-date-in-php/15196691
Background Laravel has this concept of a Resource Controller, aka an Eloquent API Resource. This API translation layer sites between your eloquent resources and an
Background When using Laravel Nova, you might want to populate a date field with a date in the future, for example, if you have tasks,
Background Typically .gitignore is used to ignore files – but what do you do when you want to include files? The trick when including files
If you cannot find what you are looking try another search or contact us, we’re there to help