Support the ongoing development of Laravel.io →
softwaredeveloperca

softwaredeveloperca

Joined 15 Feb 2016

Statistics

Threads 0
Replies 20
Solutions 0
Articles 0

softwaredeveloperca has not posted any threads yet

replied 9 years ago

Users and Roles

Let's see your schema. You could try $query->where('admin', '=', true);

0 Likes
replied 9 years ago

Users and Roles

Create a one to one relationship between users and roles tables by creating a new field called role_...

0 Likes
replied 9 years ago

Upgrade from 4.2 to5.2

Start with upgrading to 5.0 and then upgrade to 5.x then upgrade to 5.2. Follow the steps below and...

0 Likes
replied 9 years ago

Mass Assignment from Request data

In your model set the fillable fields and laravel will ignore the rest protected $fillable = ['name'...

0 Likes
replied 9 years ago

DB:raw query

'SELECT *, ( 6371 * acos( cos( radians(' . $lat . ') ) * cos( radians( lat ) ) * cos( radians( lng )...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.