Support the ongoing development of Laravel.io →

4,311 Threads

Trouble authorizing with side application.

I have an Ads website, built on top of a CMS. Recently I have decided to write few managemenet utili...

0 Likes
0 Replies

Input::all() and Storing user issue with password_confirmation field

<?php // Controller public function store() { $validator = Validator::make($data = Input::all()...

0 Likes
5 Replies

Join query in eloquent

so i have this join query $artikels = DB::table('artikel') ->leftJoin('kategori_artikel','artike...

0 Likes
3 Replies
Solved

Creating table relationship between two tables using pivot

Hi guys, I'm working on creating my own Project Manager, I currently have a projects, users and a pr...

0 Likes
2 Replies
Solved

<script>alert("OK");</script>

I cache the results of a query using the remember method. But how to cache all query?

0 Likes
0 Replies

Laravel 5 - Auth Driver - What am i doing wrong ?

This is my ServiceProvider located at App/Providers/ <?php namespace Sail\Providers; use Illumi...

0 Likes
1 Replies

laravel mysql every table derived must have an alias

This is my query simplified bellow. I have to use an alias as I am using union/sub query. (select d...

0 Likes
2 Replies
Solved

Laravel 5: Passing through validated input to model after FormRequest

Apologies this is on 5, and I know things are likely to change at any given moment, but I think this...

0 Likes
2 Replies
Solved

Should I use a separate/distinct database in my app for listings?

Should I be using a separate database for listings in my app, which is the primary business/sales da...

0 Likes
2 Replies
posted 9 years ago

Storing Data for a Model in two tables?

Hello, is there a way in Laravel to store Data for a Model in two different tables? Or to build rela...

0 Likes
5 Replies
Solved

Looking for resource/tutorial on chained relationships.

I'm looking for a good resource or tutorial that will help describe the Laravel/Eloquent way of gett...

0 Likes
4 Replies
Solved

Form binding with polymorphic relationship

Hi everyone!! Please I need help: How can I bind a Form::model if I have a polymorphic relationship?...

0 Likes
0 Replies

Translate the data in database using laravel

Hello everybody, I using laravel 4 to develop my website.i want to translate my website contents.the...

0 Likes
1 Replies

Help me understand how to use Query Builder and Eloquent model for this scenario

Given I am working on a event registration website with a database schema like this one http://www.d...

0 Likes
2 Replies
posted 9 years ago

sql to eloquent

Hello friends, I have problems to extract the year from a date, grouped by date and sort by date usi...

0 Likes
1 Replies

how can i count number of records in table where status = 1

how can i count number of records in table where status = 1 using laravel ???

0 Likes
2 Replies
Solved

Model unique static rule with a conditon

Hi Everyone, I want to store the unique value of url in an account at any time. As per laravel docum...

0 Likes
0 Replies

Looping over relationship inside foreach

Hi guys, I cannot seem to figure out why this does not work. I want to show the opening hours for my...

0 Likes
5 Replies

Updating hasMany items with ease

While updating an entity model needs to update a hasMany attribute with multiple items. $user->la...

0 Likes
1 Replies

Eloquent object truncating long text?

Hey folks, I started a Stack Overflow question about this but I thought I'd see if anyone here might...

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