Retrieving foreign key data L5

Hello, I need ur help ! I'm trying to display a table of projects with the appropriate client but getting an error ' FatalErrorException in Model.php line 833 : Cla...

PHPSpec mocking dependancies

Currently I'm trying to spec a class that generates migration files for a L5 package Im writing. IlluminateMigrationCreator with an interface MigrationCr...

queues and serialisation

Hi folks, I'm trying to push emails notification under the queue (Mail::queue). But, the $data[] contains different keys, and one of them is an Eloquent mod...

Frames not saving

I think I'm missing something but for the life of me I can't seem to see it. I'm trying to save a frame that has a textbox and a textarea, the textbox saves but the textare...

Laravel 5 default application structure

I've just checked out a fresh Laravel 5 installation, and at the moment, this is the default app structure (the domain code): ├── Commands │   └...

Where to learn all about Eloquent

Hello! I've been using Laravel for a while and always used it for some small-medium projects where the DB queries weren't complex. I just view some discussions here...

[L5] Command Handler Not Working?

After some recent changes it seems Self-Handling commands work but Commands that require Handlers do not. Has anyone else experienced this? If you look in app...

Resource (JavaScript, CSS) updates on SPA's with long Session

So my question is 2 parts - one is what would be an average session length for most large application sites? I'm thinking anyway from 1 week to 1 month, but wanted to get s...

Laravel Forge Bitbucket integration problem

Hey guys, Am I the only one that lately is having problem with my projects hosted through Forge? I mean, last couple of weeks it seems that every project of mine is...
Forge
3
40

How do I filter my DB query results to not display any duplicate foreign keys? Laravel

I'm a novice at php and creating a project using Laravel. I'm not sure the correct way to even ask this question so I will begin explaining. User profiles have a se...

Matching string with the Data inside a text file

Hi Using Laravel how do we match string with string data inside a text file? For example I want to match word "Sample" with the specific word "Sample" from...

Calling a model from another module

I'm using Creo's module system for laravel. I've come to a section in my site where I need to refrenec another model. The problem is that I need to refrence a model from an...
General
12
89

Calling C/C++ Lib

Hi Laravelers, I want to make a laravel app that, among others things, will calculate mathematical expressions, some of them a bit complex. I was thinking,...

Response::json() when query returns 2 or more columns with same name

Hello, In the following code: $logros = Logro::join('dostitulos', 'dostitulos.id', '=', 'logros.dostitulo_id') ->join('unotitulos', 'unotitulos.i...

[L4.2] Appending raw query (haversine) to Eloquent relation

I am trying to append the result of a RAW query to Eloquent attributes using the following code: $latitude = $this->shop->getAttribute('l...

Eloquent & Database Indexing

Hi all, Super newbie here. Working on an app that'll have a few tables with millions of rows, and recently realized that I should really be paying lots of attentio...

[L5] Changing Default Applicaion Paths

I just made it back to the conversation on the issue at https://github.com/laravel/framework/issu...

Neo4j - latest news!

Neo Technologies is working with the creator of https://github.com/Vinelab/NeoEloquent to improve this...

[L5] Auth constructor change

Hello!! I've updated my development version of framework through composer and I'm getting this error now: FatalErrorException in AuthenticatesAndRegistersUs...

Help needed with a Complext Query in Database Query Builder

Hello, Is there any way to run SELECT on a sub query with multiple where conditions along with multiple joins? Here is my query: SELEC...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels