Support the ongoing development of Laravel.io →

4,599 Threads

Table with multiple polymorphic fields

Ok so I have a table called payments which has two sets of polymorphic fields:- parent_id parent_typ...

0 Likes
0 Replies
posted 7 years ago

Queries related to each other bug

Hi all i want to ask a question i have jobs and each job has more that one skills and i want to retu...

0 Likes
2 Replies

Connection Firebird DB via SSH

I am creating an application with Laravel and Firebird 2.5 and wants to run it on a DigitalOcean ser...

0 Likes
0 Replies

TaskQueue.php Error - Laravel 5 & Forge

When running any Posts and Model::create function within Laravel I am being greeted with the below e...

0 Likes
0 Replies

Count number of times link_id occurs on pivot table, and sort by highest number of occurences

User.php public function favorites() { return $this->belongsToMany('Link')->wi...

0 Likes
1 Replies

add new "password" column for authentication

Hi, I need to do two kind of authentication users. First is by password, so you need to type login+p...

0 Likes
0 Replies

InsertGetId or Eloquent Model creation generating errors with Oracle

Hi, I'm developping an application with Oracle 10g as database. In ny code, i'm creation a model and...

0 Likes
0 Replies

Rollback migrations provided by a module

Hi, I have a question concerning the rollback of migrations provided by external modules. I built a...

0 Likes
0 Replies

Trying to get property of non-object

I have 2 table user and usedetail. Having relationship(1-to-many) and working fine. But problem is w...

0 Likes
6 Replies

trouble with morphOne

Hello everyone! I have a little problem with Polymorphic relationships en Laravel 5.2. For example,...

0 Likes
1 Replies

Many to many pivot table issue / show all users with their role

I want to get all users: $users=User::get(); After that i want to se for every of them the role. fo...

0 Likes
1 Replies

How to add a additional condition in a join using query builder laravel 5.3?

My regular query is like this : SELECT e.field1, b.field2, c.field3, d.field4, a.field5 , a.field6...

0 Likes
4 Replies

Laravel Scout Where Clause Not Working As Expected

Am implementing full-text search with Laravel Scout and TNTSearch, everything is working fine aside...

0 Likes
0 Replies

Laravel with vou resorce(Get request)

Hello everyone, im new with laravel and vue resource and i need help to find how to pass variables f...

0 Likes
0 Replies

Class 'app\PostTable' not found

<?php use app\PostTable; Route::get('/', function () { // return view('welcome'); return...

0 Likes
6 Replies
Solved

Symfony \ Component \ Debug \ Exception \ FatalErrorException Class 'lembar' not found

im using laravel 4.2... idk this problem, but in localhost is running when in hosting im get error ....

0 Likes
0 Replies
posted 7 years ago

Return array of models in model

Hi, in model Item I need in function all() to get array of different models (like groups, products,...

0 Likes
0 Replies

Define models relationships of a large existing database

I'm migrating a platform builded over Yii Framework 1.1.16 to Laravel 5.3. I would like to know if t...

0 Likes
0 Replies

getting correct id on join

I'm wondering how to get the correct id on join without specifying the table or 'as' in the select p...

0 Likes
1 Replies

edit post with multiple categories checkbox using

how to use pivot table data related two tables like posts and categories. post-model.php public func...

0 Likes
4 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2024 Laravel.io - All rights reserved.