How to generate scaffold with Infyom Laravel Generator
HTML-код
- Опубликовано: 21 окт 2024
- #generator #scaffold #crud #laravel #infyomlaravelgenerator
Generate a scaffold (CRUD) quickly via infyOm Larvel Generator.
the official document is here labs.infyom.co...
Please Like and Subscribe. This will really boost my confidence and encourage me to make more and more videos.
Thanks
Shailesh. Ladumor
a wonderful tutorials, thank you so much!!
Thanks!!
Awesome tool !
Good...
Hi, i have problem. I need to make relation in model. If i make the relation in model, how to call it in my controller with base repository template?
You need to create seprate function in your repository. Base repository provide default methods.
@@LaravelPackageTutorial so i can't call it from model? Should i put the relation in repository?
@@rayhanyulanda you need declare on model and use in query in repository.
@@LaravelPackageTutorial i dont get it. I have declare it in model, but how to use it in repository? Is there tutorial you make for example using base repository template? Because i just see category tutorial which is get the relation from model not from repository
yes, let me share example with you
Class 'App\Models\User' not found error when i click the add new button on the post form.
please assist
Are you used select table users?
Check view composer file and change name space in use statement
Use App\User instead of App\Models\User in use statement
@@LaravelPackageTutorial Hello, in which controller or model please?
go to App/Providers directory. open ViewServiceProvider file.
check use statement. i think it should be use App\User;
Hello ! Thanks for this amazing tutorial. You did a good job, keep going ! Please, how to add a field with db_type = enum and html_type=select. I wanted to make a To-Do app and I need a "status" field with the options "Done" and "To-Do".
Its easy. Please just refer migration doc of laravel.
Also, we have options tutorial (inpit guide). So you can watch it and generate it with generator
@@LaravelPackageTutorial Thanks for the reply ! I will try it. I also had another problem : I have watched your tutorial "How to generate CRUD with datatables..." but at the end the output I get is the same as the Post model that you did in your previous video. I don't understand where the problem is, I have followed exactly what you did in the video.
when I typed the command php artisan infyom:scaffold Article, it even generated the view datatables_actions.blade.php. But we don't have the same output in the browser, my output is just like for a basic scaffolding.
I don't speak english very well, I really hope you understand
Infoym command not found pls help
You need to install Infyom generayor
See the play list
See here all tutorials ruclips.net/p/PL0wCC44AhrC3JHzcB5qmjYkm70OaoKegg