Support the ongoing development of Laravel.io →

erdely

Joined 7 Nov 2016

Statistics

Threads 6
Replies 6
Solutions 1
Articles 0
posted 6 years ago

Eager loading, problem with data delivering...

Working example: $data = Member::vip()->get(); foreach($data as $member) { echo $member->n...

0 Likes
0 Replies
posted 6 years ago

Best practices for deployment?

What are best practices for laravel deployment? Is envoy recommended? What about capistrano?

0 Likes
4 Replies
posted 7 years ago

Mask amazon s3 files path as local path?

In my new project I store all files on s3 drive, can I override this url and set something like /sto...

0 Likes
1 Replies
posted 7 years ago

Prevent multiple signs of same values in table?

I have a tables user_id and event_id, every user can be added to every event, but how can I prevent...

0 Likes
2 Replies
Solved
posted 7 years ago

Laravel 1 aplication 2 domains and db's?

I have my app finished, but I wish to run it on 2 different domains and every domain should have his...

0 Likes
3 Replies
replied 7 years ago

How to restrict the master.blade.php for admin section ?

You need "user auth" https://laravel.com/docs/5.3/authentication

0 Likes
replied 7 years ago

Relationship problem. I want 'Student' to have MANY 'Invoices' and 'Results'

You have to define relations also in your migration: https://laravel.com/docs/5.3/migrations#foreign...

0 Likes
Solved
replied 7 years ago

Relationship problem. I want 'Student' to have MANY 'Invoices' and 'Results'

I think so: Add to your Student model: public function invoices() { return $this->hasMany...

0 Likes
replied 7 years ago

Prevent multiple signs of same values in table?

@ttimot24 fantastic laravel support, many thanks friend :) $table->unique(array('mytext', 'user_i...

0 Likes
replied 7 years ago

Laravel 1 aplication 2 domains and db's?

I searched for 'config.database' and 'config.database.config', but nothing found, do you mean I can...

0 Likes

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.