Support the ongoing development of Laravel.io →

Optionality: `sometimes` we need a little bit more

Hello, Given I have a model with an optional 'email' attribute. When specified, it has to link to a...

0 Likes
0 Replies
posted 9 years ago

hide public/index.php in url mantaining assets accessible

I'm trying to hide public/index.php url, mantaining assets file and folders (in public folder) acces...

0 Likes
6 Replies
Solved

Error when I upgrade to 4.2 in \Illuminate\Support\Str.php on line 7

Hello when I Upgrad from 4.1.30 to 4.2 and I got this error : Parse error: syntax error, unexpected...

0 Likes
5 Replies

How to create a variable accessible to all controllers and views?

Hi guys! The reason I'm asking this is because I created an Ad class. My current setup right now is...

0 Likes
4 Replies
Solved

QuickStart Queries

Hi There, Please excuse my greeness. I am following the guide here: http://laravel.com/docs/quick#in...

0 Likes
3 Replies

Auth::attempt fails. Hash is differs each time.

Hello! I've looked through all the other threads regarding hashes and Auth:: and not one has been ab...

0 Likes
6 Replies
Solved

CDN is mixing up with other urls.

I'm managin the users profiles from their social network, and using S3 with cdn. The problem is that...

0 Likes
1 Replies
posted 9 years ago

Laravel 4.2 relations with soft deletes

In 4.0 I could get soft deleted related models with the following relation public function student()...

0 Likes
6 Replies

Image from fb in View

Hello everyone, I'm managin the fb images but I don't know why they does't show in the view I access...

0 Likes
2 Replies
Solved

foreign key not set up properly?

First, let me describe the conceptual behavior. I have two tables - a promotions table, containing t...

0 Likes
0 Replies

Redirect loop issue

Hi, I just created a simple UserController and after my first test for routing I get a browser error...

0 Likes
6 Replies
Solved
posted 9 years ago

Controller function not being called

Hey, I'm at a loss... doing the same thing twice, but it doesn't work the second time lol. Here's th...

0 Likes
4 Replies
posted 9 years ago

Extending the session facade

I'm currently attempting to extend the session facade, so instead of using Session::put('company', $...

0 Likes
0 Replies

Model-specific Permissions Package

I'm looking for a permissions package that allows me to define a role and permissions on a user, but...

0 Likes
0 Replies

Filter not exist columns in Eloquent model

How can I modify the ~~~static::creating~~~ function to avoid "Column not found: 1054 Unknown c...

0 Likes
0 Replies
posted 9 years ago

Elequent - where pivot_field = something

Is ti posible to do something like this: Request::with('users')->where('pivot_status', '=', PENDI...

0 Likes
0 Replies

File Upload stop working all of a sudden

My file uploading script was working previously, with the same validation rules, it has stopped work...

0 Likes
1 Replies

Eloquent set random not duplicate id when creating records

This is the code of my Eloquent model: protected static function boot() { parent::boot(); s...

0 Likes
2 Replies

Shortcut for if ($a->polyable_type == get_class($b) || $a->polyable_id == $b->id) ?

I'm wondering if Laravel has a shortcut function for this part of an if statement? if ($a->polyab...

0 Likes
0 Replies

Password hashing issue causing the same password to have differing hashes

I am sure I am just missing something obvious but I can't stare at this problem any more. I have imp...

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