JavaScript, dealing with locale and hour cycle

2021-09-10 00:00:00 — Finding current language locale and hour cycle (12 or 24 hours) from the client browser can be tricky in JavaScript, but it is possible...

Add Field default only on Create view for Laravel Nova

2021-05-15 00:00:00 — By default, Field::default() will set default value to a field on Index, Detail and Create/Attach view. However you might want to set default only on Create/Attach view...

Extending default Fields on Laravel Nova

2020-12-21 00:00:00 — Each project doesn't always expect the same set of default and you might have a requirement to customise Laravel Nova default behavior. For example setting default datetime format for `DateTime` field.

By-passing Laravel Nova catch-all routes

2020-12-19 00:00:00 — Laravel Nova routes by default will register a catch-all route to intercept all GET requests and propagate it to Vue router.

Using Minio on Laravel + Vapor Locally

2020-11-19 00:00:00 — Testing Laravel Vapor application with file uploads locally can be tricky. It is possible to setup S3 bucket to receive file from localhost by adding required CORS configuration but now you have the alternative of using Minio.