Support the ongoing development of Laravel.io →

Adding a "reference table" to a pivot table

Hi guys at the moment I'm hardcoding in the 'unit' column on the 'ingredient_recipe' table. I want t...

0 Likes
3 Replies

Sessions not saving when choose Memcached

I done: sudo apt-get install memcached sudo apt-get install php5-memcached sudo service apache2 res...

0 Likes
8 Replies

Problem with laravel vagrant master

Hi all, Sorry for my english... :) I have a problem by work with my vagrant laravel project. If I ca...

0 Likes
0 Replies

MAMP mysql conflict with native MAC mysql

Hi all, i've a Mac and i'm running MAMP with virtualhost properly configured. the problem was mysql....

0 Likes
0 Replies

Laravel 4 - saving a hasMany relationship

I have the following relations: Discount: <?php class Discount extends Eloquent { pro...

0 Likes
2 Replies
posted 10 years ago

Obtain related object in many to many

I need to obtain the object that are check in "$user->services->contains($service)"....

0 Likes
1 Replies
Solved

URL is not what expected

I am following a Codebright Laravel book which teaches about routing in the Basic Routing chapter. I...

0 Likes
10 Replies
Solved

Querying a many-to-many relationship

Hello, being new to Laravel, I'm trying to perform a query in Laravel 4's query builder or Eloquent....

0 Likes
3 Replies
Solved

Need variables

Hi, i have a select: $roles = agegroup::all(); The select delivers an object with data. Now i need t...

0 Likes
2 Replies
Solved

Package for RESTful JSON-based APIs?

Hello there! Recently, I've been working on API for single-page application and found that quite a f...

0 Likes
2 Replies

Theme folder?

i wanted to create a themes folder for my mini-cms project, how can i achieve that using Laravel?

0 Likes
10 Replies
Solved
posted 10 years ago

Auto Generate Cache

How to store cache in cache root directory in my laravel website. please provide me your suggesion

0 Likes
1 Replies

Why Laravel save data more then one record at one time?

I use Laravel Eloquent to save data to table store, but it save more then one record at one time. Wh...

0 Likes
1 Replies

Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed

Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed */ public funct...

0 Likes
2 Replies

I want to send my table schemas to the front-end using in json format. How can I get that schema?

Do I have to write a raw sql query? Or is there a class in laravel that can do that?

0 Likes
2 Replies
Solved

Laravel is installed but not working.

Hi, I have Ubuntu as a vagrant box. (I followed the tutorials at laravel.com and laracasts, but I op...

0 Likes
2 Replies
posted 10 years ago

Data-Value for a form's Value

I am using the pick a date script in my laravel site. Everything is working correctly; however, in o...

0 Likes
1 Replies
Solved
posted 10 years ago

Homestead Init Not Working

Hey all, I am trying to move to Homestead 2.0. I have no problem doing the composer install, but whe...

0 Likes
1 Replies

How to write "text" to file with special place in Laravel?

I would like to write the text into file with special place like: // test.php <?php Hi 1 Hi 2...

0 Likes
4 Replies

Models that that don't extend Eloquent

Is it possible to create a model that doesn't extend Eloquent? I have need for some models that don'...

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