Laravel collection returns an INT as string locally and on live environment as an int !

Posted 2 years ago by unitedworx

i have an issue where a Laravel eloquent collection returns an INT as string on live and locally as string! trying to figure out why this difference and make sure that my live and test environments are different.

Anyone come across such issue?



Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.