Support the ongoing development of Laravel.io →

4,597 Threads

posted 10 years ago

OrderBy DESC and after OrderBy ASC query

Helo!!, i need, help me please i'm confused with this query, sorry for my english :( I have this qu...

0 Likes
2 Replies

Sorting by related field

How do I orderBy a field that's in a related table as in: DB::with('relatedTable')->orderBy('rela...

0 Likes
2 Replies

Order and paginate a collection by a releted field using Eloquent

I have these models: Post, Category and User. My goal is to show a paginated and sortable table disp...

0 Likes
7 Replies

convert this query to laravel query

i wont to make this query : SELECT w.wilayah, a.penerima FROM ( SELECT DISTINCT w...

0 Likes
0 Replies

Reset password without users email address

Hi there, I want to simplify the password reset process for the user by determining the users email...

0 Likes
0 Replies

Get data of one to many, which is got from many to many

My Category model public function firms() { return $this->belongsToMany('App\Firm'); } My Fi...

0 Likes
0 Replies

Create menu with variables from database

Hello, I would create a simple menu based on categories which are they creating from database. I hav...

0 Likes
1 Replies

Eloquent sync - Which Event is fired?

I am currently building an application and I am using UUIDs instead of auto-incrementing IDs. To sim...

0 Likes
3 Replies

Events on Pivot table

Hi there, I've got two tables linked by a Many-to-Many relationship. users id users_items user_id...

0 Likes
1 Replies

DB Relationships with where condition

I'm making a webapp where need to display all the products with active price list . I’m struggling...

0 Likes
3 Replies
posted 6 years ago

MongoDB Connection

Can anyone suggest me that how can i connect MongoDB in laravel framework

0 Likes
0 Replies

How to Query In three tables?

I have four tables. option_groups options product_options product_images Tables Structure option_g...

0 Likes
1 Replies
posted 10 years ago

Laravel migration not working [solved]

This took me quiet some time to figure out, that's why I am posting my solution here. I didn't find...

0 Likes
1 Replies

Nothing to migrate.

I'm following the quickstart task list tutorial on laravel.com. https://laravel.com/docs/5.2/quickst...

0 Likes
2 Replies
Solved

Triggering model event when modifying relationship

I am trying to set up my models such that a few of them can get stored in a cache. What I'm trying t...

0 Likes
5 Replies

How to Make a Review by Buyer For the Product?

I want to ask sir, I am beginner in laravel, I am making an online shop project with laravel but the...

0 Likes
1 Replies

Extend Eloquent Model with created_by, updated_by, deleted_by

Hi@all, i'm new at Laravel, and now i'm building my first app. My app is a database to store address...

0 Likes
6 Replies

Cannot connect to mysql 4.0

How can i connect to mysql version 4.0.22-nt? I got this error message when trying to connect to dat...

0 Likes
0 Replies

Asset URL for CDN

I have all my public files uploaded to Amazon S3 soon cloudfront. How do i manage my URL to use CDN...

0 Likes
4 Replies

Laravel column modifier method "after()" not working

I am using Laravel 5.4 and Postgres I need to create a new column after a particular column, so I ad...

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