I am using the full calendar open source library in an application. I am using Laravel at the back end. Now most JavaScript libraries use cameCase in their variable names. The thing is that on the back end Laravel has a naming convention in tables I guess which uses underscored_in_the_column_name.
Now the create() method comes very handy and creates a new resource with the input data coming and I don't have to assign multiple fields manually. But now since I am working with the library, it is sending the data as camelCase which is an issue both ways because when I return data from the server to the calendar I again have to make sure that the fields are in camelCase instead of underscores_between_them.
How do I do this? Is there a way to accomplish this in Laravel or will I have to do it manually?