Awesome tutorial. I have done some optimization on the DashboardController to minimize the no. of database queries done to retrieve the tasks counts: public function index() { $statuses = [ 'pending' => 'Pending', 'in_progress' => 'InProgress', 'completed' => 'Completed', ]; // Query all tasks $allTasks = Task::get(); // Retrieve all tasks assigned to the current user $userTasks = $allTasks->where('assigned_user_id', Auth::id()); foreach ($statuses as $key => $value) { $taskCounts["total{$value}Tasks"] = $allTasks->where('status', $key)->count(); $taskCounts["my{$value}Tasks"] = $userTasks->where('status', $key)->count(); } return Inertia::render("Dashboard", [ "data" => $taskCounts, ]); }
@utkarshshuklacse7 сағат бұрын
Laravel nextjs breeze ❤
@kifaru.12 сағат бұрын
can you make a tutorial on how to install multiple laravel website on subdomain with hostiger
@kifaru.12 сағат бұрын
can you make a tutorial on how to install multiple laravel website on subdomain with hostiger
@houdaifa631913 сағат бұрын
Can anyone here help me get the course or watch it form his account pls i need this one and from third world and still student and i can't afford it pls
@hodaifayahiachrif984614 сағат бұрын
u skip a lot of section and explain it in very bad way and i can't afford the paid version and it sooo anoying
@darshan.shirke17 сағат бұрын
Really good explanation of wsl and linux integration with Docker Desktop on windows
@NABEELSHAMSU17 сағат бұрын
@22:53 getting error as Call to unknown function: 'Fake' please how to solve this..
@williamribasczky9261Күн бұрын
Thank you for this amazing content! One of the best tutorials ever! I want to give a bug fix suggestion: - Validating if the username is already in use. The fix is simple, update the validation rule for username: 'username' => ['required', 'string', 'max:255', 'regex:/^[\w\-\.]+$/i', Rule::unique(User::class)->ignore($this->user()->id)] This way, we can guarantee a unique username when updating the profile
@CharlesMartel829Күн бұрын
This is sick! (in the positive sense)
@tarunkumardewangan4239Күн бұрын
sir i am from india unable to pay for your course site show some technical error please help
@umutemremart4414Күн бұрын
when I try to register I get the following error: Connection could not be established with host "mailpit:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailpit failed: can someone help
@alessandropedroso3335Күн бұрын
Do you have any paid courses on Vue JS?
@nasko235679Күн бұрын
Man I gotta say Laravel on vscode is a complete mess. Intellisense is broken even with all the extensions you recommended from your other video, react imports don't auto complete even for installed packages and even formatting with prettier doesn't work properly. It's a complete turn off for someone trying to learn a new framework having to manually look through your code and check for spelling errors and having to google imports for every single thing.
@pcerrorsandsolutions34382 күн бұрын
3:33:58 Or we can write 'image_path' => $this->image_path ? (Str::startsWith($this->image_path, ['', '']) ? $this->image_path : (Storage::url($this->image_path) ?: $this->image_path)) : '', so image CDNs can be allowed
@user-zn7fm1su8x2 күн бұрын
Thanks, Zura! Your tutorials are always insightful. One suggestion: If you could you briefly explain the logic before implementing it. For example, when creating a search field, create a background beforehand. Also, adding architecture pattern diagrams and data flows would enhance the learning experience for visitors making it even more greate tutorials. Just a thought. and of course if it's a paid course, it will worth buying. Thanks again, You're the best!
@MoDevWeb2 күн бұрын
Great project thank you! I'm a subscriber now. But how did you deploy this specific project?
@BansiAghara-cj3ux2 күн бұрын
Excellent content. but plz provide admin panel source code
@utchomreun54392 күн бұрын
public function index() { $query = Project::query(); $projects = $query->paginate(10)->onEachSide(1); return Inertia("Project/Index",[ "projects" => ProjectResource::collection($projects), ]); }
@utchomreun54392 күн бұрын
this code not working
@code4life3322 күн бұрын
Class App\Models\User contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filament\Models\Contracts\FilamentUser::canAccessPanel) 36:00 // How to solve it .. Plz help someone
@code4life3322 күн бұрын
ver 2 and 3 differences
@miskhan20182 күн бұрын
Hi, your tutorial is great. The time you take to explain so many things makes it easy especially for beginners to grasp the whole idea of how inertia works. Please can you do a tutorial on how implement Adminlite with laravel + reactjs.
@HarryEdwards-zk6ok3 күн бұрын
You're a very good teacher. I am really thankful to you. I was making a Realtime Chat application with PHP. But Laravel makes it much easier. Actually, you deserve a million subscribers. Thank you for this course. 🤩😍🤩🤩
@jebshorts86603 күн бұрын
How this can be free??!! ❤
@khalidyoga75173 күн бұрын
u are the true savior
@howasyourday33513 күн бұрын
I have two identical forms, one on landing and one on the app dashboard. how to define it in the controller at function create? Thank you, I hope you are always healthy bro🙏
@jhutchtor14 күн бұрын
Around 28 minutes in using both my code and yours it can't find any of the index files, or create etc. None of the Routes is working. I even copied all of your code and it still can't find the pages. I get the 404 error file not found. Up to this point it was OK, now well you really don't want to hear the review.
@cristhianjhlcom4 күн бұрын
Hello, I have a few questions what kind of projects do you recommend for sharing hosting? and you can use just one VPS service for multiples projects?
@AyoubElMcherqui4 күн бұрын
Thanks man ! very informative.
@mertsozen98564 күн бұрын
im having issues with darkmode i followed u from beginning till dark mode setup changed the tailwind.config.js and app.blade.php to class dark but keeps on light mode.. can you help me @TheCodeholic or someone else?
@shortshorts474 күн бұрын
Why are we not loading chats dynamically on scroll just like we did for messages. Because I noticed when loading all chats at once the performance is too slow.
@OhmVibe4 күн бұрын
Great tutorial! I'm very impressed with how the PHP ecosystem has evolved over the years. I used it a little about nearly 10 years ago when I was first learning how to code, but have been primarily a full-stack JS dev since. Looks so much more elegant than Node and its frameworks.
@TheCodeholic4 күн бұрын
I agree. People hate PHP that existed 10 years ago. I think I hate that PHP as well. But modern PHP with modern frameworks is something to love.
@SpeaksYourWord5 күн бұрын
Same ad shown so many times what's wrong with you?
@TheCodeholic4 күн бұрын
I don't control how often KZbin shows ads or which ads it shows
@sandrinerodriguez94255 күн бұрын
Hello Deployment to Laravel version 11 application hosting does not work. The configuration is different. I cannot deploy Laravel 11. Have you tried on your side? Did you find a solution ? THANKS
@X-factor65 күн бұрын
Great project !
@aservantofjesuschrist69116 күн бұрын
Whosoever believeth in Jesus Christ will have everlasting life.
@dppyent85495 сағат бұрын
What's the essence of that here
@mehedihasannayem12956 күн бұрын
Watching from Bangladesh 😍. But have one question. In DatabaseSeeder.php under Project::factory you wrote hasTasks(30), Why? I understand this will create 30 tasks for each Project but where did you get the function hasTasks() from?? You don't even declare any relationship named hasTask().
@alexwmb6116 күн бұрын
Hi I have this error in windows : Composer require lavarel\breeze --dev In RequireCommand.php line 155: file_put_contents(C:\ProgramData\ComposerSetup\bin): Failed to open stream: Permission denied
@neglasuleiman23556 күн бұрын
i like this course i would like more of it and would prefer pinia included to it
@matt_acerph6 күн бұрын
Thanks Sir for video:)
@gytislaukaitis6 күн бұрын
Saved the day
@rumble19257 күн бұрын
Sir can you please build my website, I'm too lazy to read docs
@hrayrashchyan59257 күн бұрын
Hello Zura! thanks for the lesson, it's very good. I'm following this step by step and now I'm at the last part of the custom crud: "Editing and adding new ones is not work. Only deletion works correctly.” can you help me?
@pcerrorsandsolutions34387 күн бұрын
What is hasTasks() and how it's formed?
@eneadasulaj86187 күн бұрын
hello Zura! thank you for the tutorial, it's very good. i am following it step by step and now I'm in the part of setting up the signup. I have followed all the steps, but it is throwing this error: "message": "The route api/signup could not be found." Do you have any advice for me on how to fix it?
@TheCodeholic7 күн бұрын
In Laravel 11 you have to run a separate command to install API. You probably have not run that
@eneadasulaj86187 күн бұрын
few additional things... from the initial installation i noticed that some files were not there as before like api.php (which i added manually), other files in the config folder like cors, sanctum, view etc are missing from the default installation. im not sure that's something new in laravel or the initial setup wasn't done properly
@eneadasulaj86187 күн бұрын
@@TheCodeholic thank you, it helped! i first removed my api.php that I added manually, ran composer require laravel/sanctum then php artisan install:api. after these steps it worked
@eneadasulaj86186 күн бұрын
@@TheCodeholic after I fixed that problem I had another error which said: "Call to undefined method App\\Models\\User::createToken()" which referred to $token = $user->createToken('main')->plainTextToken; in the signup method. I realized that happened due to the missing HasApiTokens(which is part of sanctum that I installed) in the User model. Once I imported and used HasApiTokens in User.php it worked. Is there a way to avoid these kind of problems since it is related to the installing?
@pcerrorsandsolutions34387 күн бұрын
wow finally a react with inertia. Loved it so much 😍!
7 күн бұрын
Thank you for the great explanation! Can I ask what VsCode theme and font are you using?
@HaroldDefree-ow8kz7 күн бұрын
thank you
@mackstabao69677 күн бұрын
Hi @TheCodeholic please help me Im having a Undefined Method error on this line in ProjectController.php file $projects = $query->paginate(10)->onEachSide(1); ->onEachSide(1); - undefined method at 1:13:38 mark of the video
@patrickjohndonado8208 күн бұрын
hello gents how to fix if I edit on page 5 after submitting the update it still stay on page 5. currently its jumping back to page1. can someone help? thanks