Support the ongoing development of Laravel.io →

4,599 Threads

php artisan migrate:make Does Not Create Schema

From the Starting with Laravel 4 book I have two models files named Cat.php and Breed.php in my mode...

0 Likes
2 Replies

Fields to organize entries in my DB (order_by Myfield)

Hello, I started on Laravel after a lot of sites on Codeigniter. So I try in my first dev to respect...

0 Likes
1 Replies

Help! newbie in laravel 4..

I am following a tutorial in phpacademy... I'm using ubuntu. I got an error : "Error in excepti...

0 Likes
2 Replies

Memcached as default Cache

I'm planning to setup Memcache and APC. Question 1 , If i use File as default cache, does it cache t...

0 Likes
1 Replies

Database Eloquent Modeling with dynamic table names ?

How can I model dynamic tables names. For example. A product has orders, all orders for the same pr...

0 Likes
1 Replies
Solved

Database Truncate Even If It Has Foreign Key

I have a database seeder begins with: DB::table('lessons')->truncate(); But when I run seeder, [I...

0 Likes
3 Replies
Solved

Need help modelling relationships

So I'm creating a very simple project/task management application in Laravel 4 and I'm not sure how...

0 Likes
3 Replies

query returning something wrong

Hi... I started using laravel 2-3 months ago and for the first time I have a problem I can't solve :...

0 Likes
1 Replies
Solved

Survey Design

I am looking to create a dynamic form survey using a database with questions, answers, and associati...

0 Likes
0 Replies

Call to undefined method error while getting the data

these are my relations.. User model public function posts() { return $this->hasMany('Post'...

0 Likes
1 Replies

Post request with Media temple

Hello, I'm new to the world of Laravel my first app is running ok locally through mamp when i'm tryi...

0 Likes
2 Replies

datetime or timestamp for created_at and updated_at ?

Hello. When updating data in my MySQL-Database, the updated_at column does not update its time. I am...

0 Likes
1 Replies

Many to Many Relationship problem

So i have problem about many to many relationship implementation in laravel I have two model, User a...

0 Likes
1 Replies
Solved

Eloquent ORM relationship array trouble

Hello, I'm stuck with this problem. I have these databases: -users with id, first_name et cetera......

0 Likes
0 Replies

Fortrabbit issue with angular post

Hi, I have just uploaded my Laravel backend and Angularjs front to Fortrabbit and I am having issues...

0 Likes
4 Replies

problem in accessing value from parentmost table.

I've four tables.User,Post,Reply and Confirm tables. And the relation is User has many posts posts...

0 Likes
2 Replies

Assigning Variable to URL

Route::get('/p/{id}/{name?}', array( 'as' => 'viewItem', 'uses' => 'HomeController@viewIte...

0 Likes
4 Replies
posted 10 years ago

Loading posts for specific domains

I'm building my first laravel app, which is a multidomain app with 6 domains. I'm sorry if this is a...

0 Likes
7 Replies

Can I set database credentials based on environment

I'm deploying an app with fortrabbit, as you may know, fortrabbit does not uses localhost and have o...

0 Likes
2 Replies
Solved

Eloquent model default scope.

Hi all, I am looking to create two models, both on top of the same table. I know that I could do wit...

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