Support the ongoing development of Laravel.io →

Eloquent Relationships Bad Practices?

If I have two models: Institution and InstitutionStatus Is it considered bad practice to have Instit...

0 Likes 1 Replies
Solved
posted 9 years ago

Eloquent and database functions

Hi there. I'm new to Laravel so please be gentle with me! I'm a little stumped as to how I would go...

0 Likes 3 Replies
Solved

Asset-Pipeline SCSS Compass

I'm setting up Asset-Pipeline as part of our project. Previously we used Codekit to compile these SC...

0 Likes 1 Replies
Solved

Tag request: Architecture Tag

Any chance of adding an "Architecture" tag as an option? This tag would represent threads...

0 Likes 2 Replies
Solved

[SOLVED] Artisan doesn't work after upgrading to 4.1

Hi, Yes - i know there's threads about this but I've tried just about everything. After upgrading to...

0 Likes 1 Replies
Solved

Copied application is not working

Hello Community! I developed an Application with Laravel 4.1 on my Windows machine (and it's working...

0 Likes 1 Replies
Solved
posted 9 years ago

filemanager thread

Every company in my app has a folder that has the same name as the company name: Inside that folder...

0 Likes 4 Replies
Solved

Storing multile selections into database

Hello, I have a form with select name "interests" and i present multiple options so i am u...

0 Likes 4 Replies
Solved

Issue loading psr-4 ServiceProvider

Hello, I'm getting a class not found exception after creating a service provider for my repositories...

0 Likes 4 Replies
Solved

Adding Select statement to ORM

Retrieving A Record By Primary Key $user = User::find(1); var_dump($user->name); Is there anyway...

0 Likes 4 Replies
Solved

Retrieve the sender username of a message with relationships

In my Message.php model, I defined the following: class Message extends Eloquent { public functi...

0 Likes 3 Replies
Solved

Blade Nesting

What I want to do is @include(@yield('layout')) which I can't do because it is most likely nesting p...

0 Likes 4 Replies
Solved

Problem with returned statements in Route

Hi I have a strange problem on a parallel plesk. everything work's fine on my local apache but after...

0 Likes 1 Replies
Solved

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 9 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

Where to put bucket name for aws-sdk-php?

All the examples show to specify your bucket name on the spot, but what if I use the same bucket nam...

0 Likes 2 Replies
Solved
posted 9 years ago

Laravel IoC Multiple Subclasses Bindings Confusion

I have one abstract class AbstractValidator. Currently, I have two subclasses, LoginValidator and Si...

0 Likes 3 Replies
Solved
posted 9 years ago

how to get direcory names list without full URL path.

I have a list of directories. controller code: 'directories'=> File::directories('filemanager1/c...

1 Likes 3 Replies
Solved
posted 9 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 9 years ago

"Camelize" and "underscorize" strings

I have a set of keys which are written in CamelCase (they are part of another software, I cannot sim...

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.

© 2023 Laravel.io - All rights reserved.