We use 'enums' that are string values rather than ints (not really enums, but same idea). The app doesn't have casts set up because the strings are human-readable anyway, and I think with just a small tweak this package can work fine without casts.
One of the difficulties is we use enums on pivot tables to specify the nature or state of a relationship, and I think we'd have to create a pivot model for each of these in order to get the casts to work.
We use 'enums' that are string values rather than ints (not really enums, but same idea). The app doesn't have casts set up because the strings are human-readable anyway, and I think with just a small tweak this package can work fine without casts.
One of the difficulties is we use enums on pivot tables to specify the nature or state of a relationship, and I think we'd have to create a pivot model for each of these in order to get the casts to work.