php - Laravel query builder casts boolean to integer
Solution:
City::where('is_active','=' ,'true')->get();
Answer
Solution:
This was caused by an update to php 8.0.5. You need to downgrade to PHP 8.0.4 or wait for 8.0.6. https://github.com/laravel/framework/issues/37215
Source