Articles
JavaScript, dealing with locale and hour cycle
September 10th, 2021 — 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
May 15th, 2021 — 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
December 21st, 2020 — 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
December 19th, 2020 — 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
November 19th, 2020 — 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.
Deferred Service Provider Compatibility with Laravel 5.7 or below
February 28th, 2020 — `Illuminate\Contracts\Support\DeferrableProvider` which was introduced in Laravel 5.8, so what happen if you need to make your package compatible with Laravel 5.7 or below while supporting the latest version.
Package design 101 by Marcel Pociot
January 23rd, 2020 — A great introduction how to use Orchestra Testbench to your Laravel Packages development.