Support the ongoing development of Laravel.io →

4,311 Threads

Getting ->diffForHumans() to work on other timestamp fields

Hi, I've been raging for a few hours trying to achieve this. 'created_at' and 'updated_at' both have...

0 Likes
4 Replies
Solved

How to get data from json without index

Hello I need get data from json without index to populate data in dropdownlist $agents = DB::table('...

0 Likes
2 Replies

Multiple user have to confirm news in a board

in a message board several users to confirm the entries. how can I realize the easiest? it will also...

0 Likes
0 Replies

what type array return in view

Hello what type array return in view from this varible $agents=DB::table('users_agents') ->sel...

0 Likes
0 Replies

SoftDelete - Problem

Hi, I am using SoftDelete in many models of my app by defining it like this: class Entries extends E...

0 Likes
0 Replies

Laravel failed to mock Eloquent::save using Mockery for Controller testing

Hi guys, iv been struggling with this for hours and hours. I cant seem to get Mockery to work with t...

0 Likes
1 Replies

Eloquent belongsToMany() with wherePivot() and has() -> SQL ERROR

I've got these two database schemas, I'll dumb them down for now. Schema::create('matchups', functio...

0 Likes
3 Replies
posted 9 years ago

Model::join and releations

Hello together! I am stuck and hope someone can push me in the right direction. I have a one to many...

0 Likes
3 Replies

laravel error auth include domain groupe multi namespace groupe

I use laravel 4.2 and in my route file i use this code Route::group(array('domain' => 'www.eee.do...

0 Likes
0 Replies

Custom SQL queries

I'm learning Laravel and have a custom query that i'm working on. How do I pass a variable string in...

0 Likes
3 Replies

Getting values from domain tables.

I have the following tables: Time_Tracker time_tracker_id time_tracker_module_id (FK with Modules) t...

0 Likes
2 Replies
Solved

Sentry how get user id from session or db

Hello Sentry how get user id from session or db Sentry::getUser()->id; Thanks

0 Likes
1 Replies
posted 9 years ago

How to get unknown relation

Hi All, I'm using a many to many polymorphic relation; table attachments table attachables table ite...

0 Likes
0 Replies

Laravel5 and Elequent

I am learning Laravel and have been learning Laravel 4. I am now learning 5. Where has eloquent gone...

0 Likes
1 Replies

Help Me To Fix My Controllers

I have a controllers like below : public function show($id) { $registrasi= Registrasi::find($id); if...

0 Likes
1 Replies

How to show data from different table one to one relationship ?

Terms table term_id name slug Term_taxonomy table term_taxonomy_id term_id description i want to...

0 Likes
0 Replies

Laravel Search Form Query (Multiple Parameters)

Hey all. I'm trying to query a DB in Laravel using Eloquent. When I click the submit button on my vi...

0 Likes
3 Replies

How to get the value of dynamic field names of table that differ by only a number at end of field name?

Hi, My first post. Just wanted to say it's great to see such a good and personable and helpful commu...

0 Likes
4 Replies
Solved

I need get first,last name from table users?

Hello I need get first,last name from table users? in this function public function getAccountList()...

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.