What a timing! A week ago I was looking for a laravel course on this channel and the most recent one was uploaded 3 years ago and lot of information didn't work out. Thank you so much for this!
Wow, this is by far the best Laravel course I have ever seen. I started back in 2016 and I've never seen anything as good as this. I send everyone here to learn how to build a substantial or "real" app in Laravel now. This is the way to onboard new developers! (Along with a subscription to laracasts of course!)
If you are using Laravel 11, in 1:29:13, you need to change the returned route in "store" method of RegisteredUserController into: return redirect(route('myFiles', absolute: false));
Have you came across any other issues completing this project using Laravel 11? I am currently having issue with Folder Upload and am not sure what I am missing
@@nicholas3376 I haven't completed it but I have done the Folder Upload feature. Maybe you need to set the validation rules of StoreFolderRequest like this: public function rules(): array { return array_merge(parent::rules(), [ 'name' => [ 'required', Rule::unique(File::class, 'name') ->where('created_by', Auth::id()) ->where('parent_id', $this->input('parent_id')) ->whereNull('deleted_at') ] ] ); } Don't ask me how does it work haha. Because I read about this problem in the comments and I tweak it a little to make it works.
@@lalaland1234-s5i my validation rules in StoreFolderRequest look the same as yours - I am worried it is some sort of configuration issue because when I try and upload a folder I can see in the browser dev tools that I get a POST localhost/file 500 (Internal Server Error). I will update if I can figure it out
Very awesome tutorials. In love with this great course. For the method "buildFileTree" in 3:39:35, I've simplified the method as following: private function buildFileTree($filePaths, $files) { $filePaths = array_slice($filePaths, 0, count($files)); $filePaths = array_filter($filePaths, fn ($f) => $f != null); $tree = []; $currentNode = []; foreach ($filePaths as $ind => $filePath) { $parts = explode('/', $filePath); $currentNode = &$tree; foreach ($parts as $i => $part) { if (!isset($currentNode[$part])) { $currentNode[$part] = []; } $currentNode = &$currentNode[$part]; } $currentNode = $files[$ind]; } return $tree; } I would not have thought about the logic by myself. Got my brain running only after looking and understanding the logic you explained.
cool, we also dont need to initialize the $currentNode = []; since we referencing the $tree array to the $currentNode inside the inner loop, the $currentNode will be the $tree array
ok.. after 3 days i've been searching on google and laravel 11 documentation because im using laravel 11 for this tutorial, and for validation folder already exist, in 2:25:00 this tutorial, at this time, is always cant validated the "name" folder, and then i tried to deleted this script ->where('parent_id', $this->parent_id) in StoreFolderRequest.php file or.. you can add this script like this one below return array_merge(parent::rules(), [ 'name' => [ 'required', 'unique:files', Rule::unique(File::class, 'name') ->where('created_by', Auth::id()) ->where('parent_id', $this->input('parent_id')) ->whereNull('deleted_at') ] ] ); now it works like a charm, btw thanks alot Zura for this tutorial, You are the best
I have also been searching for a free standard course on Laravel 10 and Vue 3. I really like the way @TheCodeholic teaches as his courses are highly organized and the dude really knows his stuff. I downloaded his video th-cam.com/video/jffKw_NMfnw/w-d-xo.htmlsi=r3_eJTkCP7fF3Y4V on my PC in HD for the "Build and Deploy Laravel E-commerce Website with Laravel and Vue" course, but unfortunately, the video was incomplete because it is a premium course. I felt frustrated at the time. I was hoping that there might be a way to get access to the premium course and pay for it later when I have the money.
Thank you very much for this course. I'm struggling with the setup. I'm doing the same thing as you did and getting no configuration file provided: not found while trying to run ./vendor/bin/sail up . Do I have to provide a docker compose file ?
There is somethig that i really don't get about Custome request from 1:40:00 to ~ 2:05. Request are depending on a input that is never sent at this tome. So in my opinion, folder creation should faild ... And when I try to mock this feature ... it's failing ( i'm talking about parent_id being null all the time even in ParentIdBaseRequest where the autorise function will return false all the time because it's depending on $this->input('parent_id') . At time of the lesson it should not work but it's does in the video 😅
Yes I did We should not make any request in the http request objet. It's possible but we shouldn't. You have to move the validation with the database request in the controller ( or service / usecase as you wish )
@@elkekegrande4816 Thank you ! I tried to move the rules() from my StoreFolderRequest and ParentIdBaseRequest to my fileController but I did not work and I got unauthorized error now ! If you have the time to provide an example or a link to your working code that would be greatly appreciated, thank you in advance !
@TheCodeholic I'm not sure to understand what I did wrong but... I can get the validation for the duplicate folder names working. And I tried many time. I checked your code and compared to mine and to no avail. Can't find the reason why it still create folder with the same name.
I really appreciate all the hard work of creating such an incredible project, but it would be interesting to specify in somewhere visible that this is for Laravel 10. Trying to replicate this project in version 11 could be difficult for beginners since they will run into random issues and incompatibilities
Do we need to use Ubuntu for this project, or can we run the whole thing on another IDE like VS code? Also, is there a particular reason for using www as a parent folder over the project?
the use of "www" as the parent folder in Laravel Sail is a convention that simplifies the setup and aligns with common Docker and web development practices. Laravel Sail comes pre-configured with a "docker-compose.yml" file that expects your Laravel application code to be in a folder named "www" within the project directory.Remember when using sail/docker the application s running from the docker containers
@@DailyInfo-gr3ip well if you already knew laravel I think this video is a good start to learn vue, since you will learn the vue pattern in this video.
Dude I really appreciate this great content you made to help people learn code thank,s but you talk so much, it makes things boring and tiring, this video could be 10 hours less. But still Thank you.
Getting this issue in headlessui MenuItem : CreateNewDropdown.vue:21 Uncaught (in promise) TypeError: Cannot destructure property 'active' of 'undefined' as it is undefined.
What a timing! A week ago I was looking for a laravel course on this channel and the most recent one was uploaded 3 years ago and lot of information didn't work out. Thank you so much for this!
Wow, this is by far the best Laravel course I have ever seen. I started back in 2016 and I've never seen anything as good as this. I send everyone here to learn how to build a substantial or "real" app in Laravel now. This is the way to onboard new developers! (Along with a subscription to laracasts of course!)
If you are using Laravel 11, in 1:29:13, you need to change the returned route in "store" method of RegisteredUserController into:
return redirect(route('myFiles', absolute: false));
That will be very helpful!
Have you came across any other issues completing this project using Laravel 11? I am currently having issue with Folder Upload and am not sure what I am missing
@@nicholas3376 I haven't completed it but I have done the Folder Upload feature. Maybe you need to set the validation rules of StoreFolderRequest like this:
public function rules(): array
{
return array_merge(parent::rules(),
[
'name' => [
'required',
Rule::unique(File::class, 'name')
->where('created_by', Auth::id())
->where('parent_id', $this->input('parent_id'))
->whereNull('deleted_at')
]
]
);
}
Don't ask me how does it work haha. Because I read about this problem in the comments and I tweak it a little to make it works.
@@lalaland1234-s5i my validation rules in StoreFolderRequest look the same as yours - I am worried it is some sort of configuration issue because when I try and upload a folder I can see in the browser dev tools that I get a POST localhost/file 500 (Internal Server Error). I will update if I can figure it out
These people want me to learn everything ❤❤
@pace0 please don't master one skill first.
Wait...13 hours of a framework stack that I am just starting to be in love with, building something practical and fun? Bruh. How do I sub twice??
I LOVE how you say "category". Im gonna start saying it that way 😂
Very awesome tutorials. In love with this great course.
For the method "buildFileTree" in 3:39:35, I've simplified the method as following:
private function buildFileTree($filePaths, $files)
{
$filePaths = array_slice($filePaths, 0, count($files));
$filePaths = array_filter($filePaths, fn ($f) => $f != null);
$tree = [];
$currentNode = [];
foreach ($filePaths as $ind => $filePath) {
$parts = explode('/', $filePath);
$currentNode = &$tree;
foreach ($parts as $i => $part) {
if (!isset($currentNode[$part])) {
$currentNode[$part] = [];
}
$currentNode = &$currentNode[$part];
}
$currentNode = $files[$ind];
}
return $tree;
}
I would not have thought about the logic by myself. Got my brain running only after looking and understanding the logic you explained.
cool, we also dont need to initialize the $currentNode = []; since we referencing the $tree array to the $currentNode inside the inner loop, the $currentNode will be the $tree array
It's Codeholic video : first I like the video then I start watching.
ok.. after 3 days i've been searching on google and laravel 11 documentation because im using laravel 11 for this tutorial, and for validation folder already exist, in 2:25:00 this tutorial, at this time, is always cant validated the "name" folder, and then i tried to deleted this script ->where('parent_id', $this->parent_id) in StoreFolderRequest.php file or.. you can add this script like this one below
return array_merge(parent::rules(),
[
'name' => [
'required',
'unique:files',
Rule::unique(File::class, 'name')
->where('created_by', Auth::id())
->where('parent_id', $this->input('parent_id'))
->whereNull('deleted_at')
]
]
);
now it works like a charm, btw thanks alot Zura for this tutorial, You are the best
Thank you dude, saved a lot of time for me, and btw i'm on laravel 10.8 and this bug exists on this version also.
@@TheHaykokalipsis no problem
Thank you, helped a lot
Thanks man, it worked for me.
Thanks for providing this amazing content, been looking to work with Laravel for a while now.
Impressive work as always, Zura! Been a fan of you since 2021
What a relief atleast a vue js course.. If it could be available in nuxt js then it'll be great help
Zura is underrated af.
Best coding content creator from Georgia 💯
First!!! (10h25am est)
Please more laravel course please ❤
You can take this course without know Laravel or Vue? or there is need of having previous knowledge?
Oh guys you are the best!
I really like Vue and Laravel
I have also been searching for a free standard course on Laravel 10 and Vue 3. I really like the way @TheCodeholic teaches as his courses are highly organized and the dude really knows his stuff. I downloaded his video th-cam.com/video/jffKw_NMfnw/w-d-xo.htmlsi=r3_eJTkCP7fF3Y4V on my PC in HD for the "Build and Deploy Laravel E-commerce Website with Laravel and Vue" course, but unfortunately, the video was incomplete because it is a premium course. I felt frustrated at the time. I was hoping that there might be a way to get access to the premium course and pay for it later when I have the money.
Thank you so much .,..for providing free contextual based courses!
Thank you very much for this course.
I'm struggling with the setup. I'm doing the same thing as you did and getting no configuration file provided: not found while trying to run ./vendor/bin/sail up . Do I have to provide a docker compose file ?
Do I really need to use docker, wsl and ubuntu for this project? Because Im really not familiar with those I only use xampp and vs code
Really a good tutorial with lots of new things to learn on laravel.
Hi guys, I just came across this awesome course, but before I start digging in, does the course implement opening uploaded folder?
I am finding a great vue tutorial and I found this, great timing, thank you, man. Actually, I am a big fan of code holic.
I'm looking for..
@@honor9lite1337 The same I was just looking for a laravel + vue and then this appears... what a gem!
There is somethig that i really don't get about Custome request from 1:40:00 to ~ 2:05.
Request are depending on a input that is never sent at this tome.
So in my opinion, folder creation should faild ... And when I try to mock this feature ... it's failing ( i'm talking about parent_id being null all the time even in ParentIdBaseRequest where the autorise function will return false all the time because it's depending on $this->input('parent_id') . At time of the lesson it should not work but it's does in the video 😅
I encountered the same problem. Have you had a solution for that yet?
@@alexmurphy8024 parent_id should nullable
Same problem did anyone find a solution ? It's not logical
Yes I did
We should not make any request in the http request objet. It's possible but we shouldn't.
You have to move the validation with the database request in the controller ( or service / usecase as you wish )
@@elkekegrande4816 Thank you ! I tried to move the rules() from my StoreFolderRequest and ParentIdBaseRequest to my fileController but I did not work and I got unauthorized error now !
If you have the time to provide an example or a link to your working code that would be greatly appreciated, thank you in advance !
@TheCodeholic I'm not sure to understand what I did wrong but... I can get the validation for the duplicate folder names working. And I tried many time. I checked your code and compared to mine and to no avail. Can't find the reason why it still create folder with the same name.
I'm having the same problem
Same here als@@NoelDev-2023
I found the solution to it guys
Change "page.props.folder.id " to "page.props.folder.data.id "
@@usmanmohammed7495 Where did you change it?
Hye, can we get a complete Vuejs course along with a project to master it?
Laravel + React next?
It's helping to many students
2:36:19 when i create newfolder then i get error : 403
THIS ACTION IS UNAUTHORIZED.
bro should i know laravel a lot .. but i dint practive the vue js ever .... should i start this or i need to learn first vue js?
auhorize() inside request is set to false maybe
WOW Nice Thank you so much for the great content, awesome project 👍👌
ადამიანი ლეგენდა ♥
yo another fellow gruzin :d
can i do this course to learn laravel? or should i come with eariler knowledge about laravel?
Thank you SO MUCH!!!! YOU GUYS ARE AMAZING! from Argentina!!!
love from bangladesh
I really appreciate all the hard work of creating such an incredible project, but it would be interesting to specify in somewhere visible that this is for Laravel 10. Trying to replicate this project in version 11 could be difficult for beginners since they will run into random issues and incompatibilities
Wow. I needed this
You've installed windows installer on Ubuntu running on Windows?
Does this sync files and folders directly or I need to upload everytime?
Does aws necessary for this? Can I implement the same in other storage drivers?
Do we need to use Ubuntu for this project, or can we run the whole thing on another IDE like VS code? Also, is there a particular reason for using www as a parent folder over the project?
the use of "www" as the parent folder in Laravel Sail is a convention that simplifies the setup and aligns with common Docker and web development practices. Laravel Sail comes pre-configured with a "docker-compose.yml" file that expects your Laravel application code to be in a folder named "www" within the project directory.Remember when using sail/docker the application s running from the docker containers
should i learn vue.js first befor getting in this project ?
How and when did you installed Inertia? did I missed something?
Hi zura, can you make a vlog about your journey as web developer. You also can make vlog about your current job
can i use Apache with Laravel sail ?
Is such a tool as a backup considered here?
Is there any vedio on mlops?
Can I use Mailpit service without Docker? Is there a link that can help me?
i'm sorry idk what docker is.. how is it relevant to this project?
Thanks awesome tutorial, Could you please share your IDE settings? Im impressed how it can be customized, especially folder icons and colors.
he used phpStorm for this project.
Can you turn on subtitles?
This is awesome 👌
Will timestamp be added to this course?
I've experience in laravel but not in vuejs
Do i need to learn vue first or just build here and vue will be teached from scratch?
please try to learn vue first
sir that's so much helpful video for us. Can you please make video on plugin development in 2023 in wordpress , acf in wordpress .
can the user Upload HTML files and react files on this project?
Can you write this using react and nodejs?
Yes you can.
Do you have it @@bugraotken
I Can't use docker with laravel, it throws out an error as a pop up that says docker couldnt find a distro or smth like that
to install docker and link with laravel, I also struggled . Spend some time, you can do it.
I finished and it was good.
Good job !!
How many days it took for you to finish it?
today is august 2024, is this tutorial still relevant? because i want to learn from this video. please tell me.
Yes not the latest laravel version but very similar
it is totally relevant, just use the new version of laravel.
the greatest
can I upload code?
Sir plz make one video how to make full stack Web app with React Js and Laravel plz
no subtitle
Se puede hacer en windows?
Literalmente lo hizo en windows con wsl
Please release spring boot tutorial too
📌 2:46:58
4:57:43
7:04:58
8:27:16
9:19:29
Can we PLEEEAAAASE have this exact same tutorial in React & Node ?
Beautiful
Thank you
📌Latest 39:15
bro should i know laravel a lot .. but i dint practive the vue js ever .... should i start this or i need to learn first vue js?
@@DailyInfo-gr3ip well if you already knew laravel I think this video is a good start to learn vue, since you will learn the vue pattern in this video.
When you change vue but browser had not change,Take about you type "npm run dev" or not
yes, you can run this command
Use Laravel Herd for setup and save 30 minutes
sorry i'm not good at hearing, I can understand but it would be better if there is a subtitle or caption enabled
How many hours did it take to actually build this though?
why using Laravel?
Why not? it is one of the greatest backend framework.
Laravel has everything that a efficient framework has to offer. Read about it.
Zura is the best
I have finished this course.
Who else complete this full course??
bro should i know laravel a lot .. but i dint practive the vue js ever .... should i start this or i need to learn first vue js?
@@DailyInfo-gr3ip you need to know both Laravel Vue in mid level. As he didn't explain very deeply. It's good course for mid level
Ayo. I finished the course but downloading single file returns 404. I am using Laravel 11. Did you face this same problem?
@@georgeomollo2415 I didn't face such issues..
I cloned the files using git
Dude I really appreciate this great content you made to help people learn code thank,s but you talk so much, it makes things boring and tiring, this video could be 10 hours less. But still Thank you.
Oh, inertiajs is causing me a lot of problems...
❤❤❤
I'm first viewer
you deserve a medal
want full laravel 10 course
isn't it enough for you?
5:31:35
Please make video on ROS OR ROS2 #PLEASE #PLEASE #please
❤❤❤❤❤❤❤❤❤❤
🙏💯👍
First
Sounds great :) but I'd prefer the same with node.js as backend.
i understood nothing, sad
If y beginner it's sounds difficult but actually it's good project you can learn
Getting this issue in headlessui MenuItem : CreateNewDropdown.vue:21 Uncaught (in promise) TypeError: Cannot destructure property 'active' of 'undefined' as it is undefined.
❤❤❤