Support the ongoing development of Laravel.io →

991 Threads

posted 7 years ago

Laravel 5.3 Eloquent & Relationship

I have a record model and status model. Which each record has status can be "approved", &q...

0 Likes
3 Replies
Solved

Getting error when returning query to view (Trying to get property of non-object)

Hello, I'm trying to get the info from a specific user via a ID in the url. This is my route: Route:...

0 Likes
2 Replies
Solved

Migrations

Hello, i'm new user of laravel and i tried use migrations relationship but it doesn't work. Can you...

0 Likes
1 Replies
Solved

Can't change user's password

Hello everyone, I can't change my user password, but other field. i dont know why, plz help me . wha...

0 Likes
6 Replies
Solved

Looking for Eloquent equivalent to this basic query using "DISTINCT"

SELECT DISTINCT user_id FROM picks WHERE weeknum = 1 I'm having a hard time finding examples using &...

0 Likes
6 Replies
Solved

Maintaining only created_at or updated_at in an Eloquent model

Hi. I'm aware that this was often asked for in the past. There are basically two solution's that can...

0 Likes
2 Replies
Solved

Synchronizing 2 databases in Parallel

First I would like to thank your community as it has helped me a lot during my journey of learning L...

0 Likes
6 Replies
Solved

Class 'app\PostTable' not found

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

0 Likes
6 Replies
Solved

Eloquent Many to Many Queries returning empty or incorrect. Why? Laravel 5.3

So, this is weird. I have been implementing ontoMany relationships between users and various data se...

0 Likes
1 Replies
Solved

What kind of database for big data?

Hi, i used to use laravel with mysql on hostings. Never use AWS or managed a Server by myself. For a...

0 Likes
3 Replies
Solved

Get item by item_id from LengthAwarePaginator?

How can i get item by it is id from LengthAwarePaginator? I have tried something like this: {{$categ...

0 Likes
3 Replies
Solved

Ho to Paginate search results?

I have own search filter, like that: public function search(Request $request, $counter = 5){ $sear...

0 Likes
2 Replies
Solved

Dynamic Dropdown w/ Mysql

Hello! I am trying to create a dynamic menu in my header view of all my pages. (I am new to Larav...

0 Likes
4 Replies
Solved

Question on model create

Alright, I will do my best to describe my issue here. I have a route Route::get('/did/{search?}','DI...

0 Likes
2 Replies
Solved
posted 8 years ago

Can I give my user a choice to choose his own subdomain in Laravel 5.3 project?

I have implemented multi-tenancy in a project with unique subdomains & separate dbs. Suddenly, m...

0 Likes
2 Replies
Solved

SQL Server 2012 DB connection with Laravel 4.2

So I'm trying to connect a SQL Server 2012 with Laravel and I get an error. PDOException (08001) SQL...

0 Likes
5 Replies
Solved

Wait until information is saved into DB

Hello, I'm currently trying the following: I'm having a form, where a user can add additional inform...

0 Likes
2 Replies
Solved

Model not found (Class 'App\Http\Controllers\App\Work' not found)

Somehow my model cannot be found, I also did try with use; This is in a normal controller public fun...

0 Likes
1 Replies
Solved

Add additional information for user

I'm using Laravel for a little app. In this app I added the auth things of Laravel (verison 5.3), so...

0 Likes
4 Replies
Solved

How to upload file/s (specifically pdf)?

Hi, can someone help me with the uploading of file/s. . .

0 Likes
3 Replies
Solved

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.