php - String value printed as int in laravel blade
one text
Solution:
Use laravel Eloquent Attribute Casting.
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
's_ID' => 'string',
];
}
Source