Support the ongoing development of Laravel.io →

4,311 Threads

posted 8 years ago

Unable to detect application namespace.

php artisan make:model events [RuntimeException] Unable to detect application namespace.

0 Likes
0 Replies

Multiple relathionship row reading

Hello everybody, I ma using laravel 5.2 and i have 3 tables users, visits, visits_time, i have relat...

0 Likes
0 Replies

Insert record into database fails Not a fillable problem.

My inserts are not inserting. I made a save method in the model so I could put in some debugging. He...

0 Likes
0 Replies

oneToMany with a relation table.

Some one has a hint how to make a oneToMany relation with a relation table? I have 2 tables having f...

0 Likes
0 Replies
posted 8 years ago

last states

hi to all, i have 2 table one called mission +----+-----------+ | id | name | +----+----------...

0 Likes
0 Replies

Paginating Results with Dynamic Query Builder Filters

I found this tutorial on creating dynamic filters for query builder, allowing me to quickly run thro...

0 Likes
3 Replies
Solved

get custom model attribute not working

Model class Domain extends Model { protected $guarded = []; public function clients() { return $th...

0 Likes
1 Replies

Eloquent returns unused values

print_r(User:all()); This prints a lot of fields which are of no use to me like [hidden:protected] =...

0 Likes
1 Replies

Cycle dependecies

Hello, i have general question. How do Eloquent solves cycle dependencies on the tables? Does it at...

0 Likes
1 Replies

Translating a sql query so that can be accepted in laravel

I have this sql query, but I have no idea how to sort of write it Raw so that it can be put into my...

0 Likes
0 Replies

Laravel 4.2 Homestead PDOException "could not find driver" using "sqlsrv" for MS SQL server.

I'm using two database connections. One is our data warehouse, one is the mysql database powering th...

0 Likes
1 Replies

Laravel Cashier Multiple Subscription

Hi everyone, I am developing an application which is a subscription based app. But in my case rather...

0 Likes
0 Replies

Jason to Model

As i understand laravel supports the model route binding. I do understand how it works and i find th...

0 Likes
2 Replies

How can i get records using laravel eloquent relation with where clause???

My database structure like this: category: id, name Parents: category_id parent_id id has parent cat...

0 Likes
3 Replies
posted 8 years ago

Eloquent query where() confusion

I don't know how to build an eloquent query for the following: SELECT * FROM table WHERE column1 = v...

0 Likes
5 Replies
Solved

Laravel 5 RESTful Backend & AngularJS frontend CRUD example tutorial

Hi everyone. This is a link to a tutorial that shows you how to create a Laravel 5 RESTful API as th...

0 Likes
2 Replies

Eloquent/Database Query Builder events

Hello I've recently had the need of firing events when update() or delete() methods on QueryBuilder...

0 Likes
2 Replies
posted 8 years ago

New Version Breaks withTrashed() on polymorphic relations?

I'm sure I'm doing something wrong, as this is a bit complex for me... but this worked fine for me f...

0 Likes
2 Replies

Laravel Relationships

I am trying to understand why something works. I have a user model and within it I state that a User...

0 Likes
3 Replies

ksort() expects parameter to be array, integer given

I am currently trying to insert the value of fields to a table. However, this error keeps coming up:...

0 Likes
3 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.