Laravel 8: Database Seeds with Relationships

preview_player
Показать описание
I want to show how to see fake data with relationships, based on the open-source repository and a Youtube series by Andrew Schmelyun.

- - - - -
Support the channel by checking out our products:
Рекомендации по теме
Комментарии
Автор

Little things like this really helps the overall development experience when working in a group.
Thank for the great video and awesome knowledge.

blank
Автор

This is how I would approach it too, so the seeded data structure better matches real life. I've been following the new PHP 8 course on Laracasts, and there, seeding just creates new articles with one new user and one new category. For quick testing purposes it is okay, I guess, but I feel that if the testing data is too simple, you might miss something while developing. Spending a little extra effort on seeding leads to a better end product, I think.

travholt
Автор

Thank you!
That repo and your explanations were really helpful

josuedr
Автор

Thanks very much for sharing good tricks. Based on the tricks you have shared with us, how can you implement seed based on the 1: 1, 1:M relationship

bernardchisumo
Автор

Sir kindly make a playlist of a small project from scratch with standard coding practice.

Recently I got an assignment and that mentioned the list below:
Judging Criteria:
1. Tasks must perform the “objectives”.
2. Developers should write test code.
3. Developer should use Appropriate Data Structure and Algorithms
4. Developers should follow the design pattern, SRP, DRY, .
5. Developer should follow the “standard coding guidelines”.

Kindly Make an small project from scratch that will have all the essentials things of Laravel . We are learning so many things from you. But they all are individuals. If we will get an idea from start to end then millions of people will be benefited and will be thankful to you.

Take love and respect❤️

santanudas
Автор

I need see video for Factory definities with relationship key id. Or please create how know on Laravel 9

marcinkubiak
Автор

Please @laraveldaily kindly do a Short video on how a user can subcribe to a category and when there is a new post in that category the user get an email notification

insidecampustv
Автор

Your tutorials have been really helpful, can we have a tutorial on how to build a simple user follow system using alpine js and livewire 🤗

iochizna
Автор

Can you do video on sms and email OTP registration,

naijatalks
Автор

Nice review. Pls can you make a video on how to handle media files on laravel maybe with cloudinary or any other

godsdomain.
Автор

Hie i want to know if you can be hired for a project.

nigelnyakudya
Автор

when working with api
in show or delete function route model binding when the model is not exsist it return 404 page view
but in api we don't need this
how to make it return a json message?

public function destroy(Menu $menu)
{
$menu->delete();
$destinationPath = 'uploads/menu';
File::delete($destinationPath . "/$menu->image");
return [
'error' => false,
'message' => 'menu deleted',
];
}

abdulbasitsalah
Автор

Thank you for your videos really they are great help for me..

I'm doing and project with including fortify..
I would like to make multi authentification ( user, admin) but from diferent tables ..

With the user it work, but not with the user..

Can you please make a video.
Just explaint how configure fortify to connect to diferent table ( user or admin )

jeanchillessteeve
Автор

Waiting for Restful API using Laravel Eloquent covering hasManyThrough .

MUJAHIDKHAN
Автор

Thanks im new here, i would if you can do a tutorial on how auth user can subcribe to a topic and after one month there membership expires and wont have access to the topic ( like netflix)

niffeydovie