Support the ongoing development of Laravel.io →

Query producing wrong SQL

I have : $data = Page::find($page_id); return View::make('pages.slider', array( 'page' => $data,...

0 Likes
3 Replies
posted 11 years ago

Form with ajax upload

Hey, let say i have a simple form with a title input field and below a button to select files which...

0 Likes
6 Replies

Polymorphic Relationship on a Pivot Table (but not the way you think)

I need to establish a T-shaped relationship between three models. Here's my current schema: users h...

0 Likes
0 Replies

Weird problem in Model/Eloquent with 1 to many relatshionship

Hi everyone! I have a partial problem in 1 to many relationship. I am trying to create 3 AJAXed drop...

0 Likes
4 Replies
Solved
posted 11 years ago

Problem with controller routing.

I have several controller where I split the routing up among different filters. For example: Route:...

0 Likes
4 Replies
Solved
posted 11 years ago

Syntax error

Hey, i just swiched from local webhost [xampp on windows] to a website and i get this error Symfony...

0 Likes
2 Replies
Solved

Loading CodeIgniter Library into a controller

Hi, I want to load a CodeIgniter Core library (Table.php) and use it at some of my controllers. what...

0 Likes
2 Replies

Unlimited Depth Nested Eloquent Collection

I am currently building a menu/category package for my blog which should have the ability to be unli...

0 Likes
3 Replies
posted 11 years ago

Session class doesn't work into my Facade

Hello, I've just create my own Facade and I'd like to handle sessions in my method, But when I try t...

0 Likes
5 Replies
Solved

How to do an "include" from within a content piece

I have a blade template that is pulling content from a database. <body> <div id="cont...

0 Likes
1 Replies

Database connections not picking up .env.local.php settings within my connections array

i updated to the latest Homestead package and then run the set up. All went well except when then ru...

0 Likes
2 Replies
Solved
posted 11 years ago

Best practice to store array values

What is the best practice in laravel for storing a key value pair that I want global available but u...

0 Likes
0 Replies
posted 11 years ago

Can't get blade to escape properly

I am using the WYSIWYG editor Summernote but this seems to be an issue with any editor: Let's say I...

0 Likes
0 Replies
posted 11 years ago

Showing "11/30/-0001" when 0000-00-00 date is formatted

I'm trying to use an if statement: if('0000-00-00'!=$method->date_field) { do this } Then f...

0 Likes
2 Replies

REST API - Struggling to decide on best approach to send Multiple JSON Requests in one payload.

I am sending JSON to an API that I am building. For this particular instance, I am create a "co...

0 Likes
0 Replies
posted 11 years ago

namespaces and validatoor

I cannot seem to get validation working when using a subfolder in controller path....what "use&...

0 Likes
1 Replies
Solved
posted 11 years ago

About Vagrant: * The following settings shouldn't exist: run

Hi, Why do I see this on one of my machines? I use the same file on all my machines only one of them...

0 Likes
0 Replies
posted 11 years ago

how to change session expire time (client)

i have a question: if user change their computer time, the session cookie with expire. how can i mak...

0 Likes
0 Replies

How to sync pivot data via morphedByMany ?

Hello ! i'm trying to sync a polymorphic pivot table from the morphedByMany side of a relationship....

0 Likes
0 Replies

Laravel with Foundation Framework 5 SaaS

Hi All, I have used Foundation Framework 5 on a number of projects but I am totally new to Laravel w...

0 Likes
0 Replies

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.

© 2025 Laravel.io - All rights reserved.