laravel-enum
laravel-enum copied to clipboard
Calling translation on boot method on EnumServiceProvider problem
Calling translations on boot method on EnumServiceProvider cause the invocation of loadJsonPaths function of Translation FileLoader. This blocks the normal load of the others packages translation files.
I think the best option is to use Custom Validation Rules
Feel free to submit a PR
Can this be added to a new release? It works ok.
@BenSampo please review this.
I migrated all my systems to https://github.com/datomatic/laravel-enum-helper
Duplicate of https://github.com/BenSampo/laravel-enum/issues/245