Hi, I am trying to create a beautiful API. Lets assume we have 2 tables, relationship one-to-many (a...
I have the following query that needs to count how many occurrences there is of the events (using an...
I was searching the internet I saw many results saying its possible, tried some of them but I'm unab...
There are two ways to create new record in laravel $model = new MyModel; $model->field1 = 'value1...
Hi guys! I have a posts table and a post may have one media. It can be a video or a gallery. This is...
Hi, I have a boolean column in table. I have also added that field in $fillable in modal class. When...
I'm trying a simple migration(give below), but I get the "SQL Syntax Error or Access Violation&...
Hi guys! I have a posts table having these fields id content post_type media_id postable_type The...
I want change password column length 32 to 60 Why this is not work, if (Schema::hasColumn('users', '...
I'm creating a password reset functions as descibed in the Laravel docs. I've generated the password...
Save me posted everything again thought i'd share the stackoverflow post i made earlier today http:/...
id item_id tag_id 244 25090 28 247 25091 28 249 25091 33 250 25092 28 251 25092 33 253...
I am porting an application from Kohana with loads of data from both MySQL and MongoDB. I have a bun...
Hi, We have a requirement in our application wherein we need to capture all instance of update opera...
DB::table('users') ->join('contacts', 'users.id', '=', 'contacts.user_id') ->join('orders', 'u...
Hi! I have succesfully upload my app on shared host, and everything is okay except problem with data...
Hi! I'm trying to run a migration that will alter some of my tables to correct the data type of some...
i have this join statement : Item::join('buttons', 'items.cta_id','=','buttons.id')->where('build...
I must be missing something obvious here... I have a model called PlanType and another called Pricin...
Hello all! I'm getting ���� instead of accented chars like ç, ã, é... from a sqlsrv PDO connection.....
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.