define conststs in laravel code example Example: laravel get a const variable // In user model const role_id // Call with v User::role_id