Support the ongoing development of Laravel.io →

991 Threads

Related table, possible issue with table name?

Hi, I have a simple scenario here that is bugging me. There are two models: class DbNation extends E...

0 Likes
3 Replies
Solved
posted 10 years ago

Mocking a Stored DB Connection

Hi Guys I am saving a connection to a remote database in a static class variable. I can mock the con...

0 Likes
1 Replies
Solved
posted 10 years ago

SQL error during unit testing from a migration that works otherwise

I recently added a migration to my project to change the length of a varchar column. It looks like t...

0 Likes
2 Replies
Solved
posted 10 years ago

String Vs Text in Schema

I like to know the difference between String vs Text in schema. (Also longText , mediumText) I'm sav...

0 Likes
4 Replies
Solved

Storing configuration on database

I need some configuration to be changeable by a logged in user, and at first I thought at a file ins...

0 Likes
9 Replies
Solved

Setting transient properties on Eloquent models without saving to database?

Is there a way to set a transient property for an Eloquent model that won't save to the database? Fo...

0 Likes
3 Replies
Solved

A question on the creation of Models regarding Many-To-Many relationships

Let's say, I have the following strong entities (and their attributes): Post (title, content) Tag...

0 Likes
5 Replies
Solved

Using Variable in DB function

DB::table('users') ->join('contacts', function($join) { $join->o...

0 Likes
2 Replies
Solved

About MVC in Laravel

Hello there, i'm new in laravel, also in MVC development and i want to ask for suggestion about the...

0 Likes
3 Replies
Solved

Basic http authentication

I know how to use Laravel's basic authentication and how to change the column name. Is there a way t...

0 Likes
6 Replies
Solved
posted 10 years ago

select from $query

I have a fairly complex query that combines (via union) the results of a couple of different queries...

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