How to Install Laravel Valet on Mac | Full Laravel 9 Course | Laravel For Beginners | Learn Laravel

  Рет қаралды 24,592

Code With Dary

Code With Dary

Күн бұрын

Пікірлер: 70
@burmesedragon8851
@burmesedragon8851 8 ай бұрын
Thank you for your explanation. It is amazing! I have one simple question. Should I install Docker for my new small online store project? Thanks in advance.
@codewithdary
@codewithdary 8 ай бұрын
Docker users would say yes, but I personally have never really worked with Docker. Just a preference thing I guess ;)
@jackelofnar
@jackelofnar 2 жыл бұрын
Hopefully this series wont be too mac focused as I do enjoy your training videos. If anyone outside a mac world is trying to test an app i do suggest 'php artisan serve"
@codewithdary
@codewithdary 2 жыл бұрын
Installation is Mac focused but besides that, code will be the same on either Mac, Windows, Linux, or any other OS you might be using :)
@VincentElipeYTChannel
@VincentElipeYTChannel 2 жыл бұрын
I agree. or try to explain how it works in mac,win, and linux for different users that want to learn Laravel.
@sthefaneoliveira6097
@sthefaneoliveira6097 2 жыл бұрын
Amazing video! Thank you so much! Can you just tell me how you created a new project with Laravel 9 with laravel-mix by default?
@codewithdary
@codewithdary 2 жыл бұрын
I created this project before Laravel Vite came out. You can create a new project with Laravel Mix by just specifying the Laravel Version (before 9.1.18) when you create a new project.
@altuno
@altuno 2 жыл бұрын
if the ping doesn't work, make sure to enter the command 'valet install'. It's forgotten in the video after composer global require laravel/valet.
@codewithdary
@codewithdary 2 жыл бұрын
How did I forget that, thank you Oguzhan.
@AbhishekSingh-pj2ft
@AbhishekSingh-pj2ft 11 ай бұрын
thanks!
@branchyapple
@branchyapple Жыл бұрын
nice video! 6:57 "desktoph" couldnt resist xd
@codewithdary
@codewithdary Жыл бұрын
Thank you! 😂
@branchyapple
@branchyapple Жыл бұрын
@@codewithdary haha keep it up! You doing amazing
@nonequivalence1864
@nonequivalence1864 2 жыл бұрын
Great video! Hey, please make a video on how to install Vagrant/Homestead on Mac same way you've done for Valet. That would be epic :D.
@codewithdary
@codewithdary 2 жыл бұрын
Maybe in the future, thanks for the idea!
@aogunnaike
@aogunnaike 2 жыл бұрын
Bro!!!! I thinking you just read through my mind, I'm trying to set up my new MacBook for PHP Development
@codewithdary
@codewithdary 2 жыл бұрын
I knew bro. ;)
@jjplays404
@jjplays404 2 жыл бұрын
hello dary brother, I followed your udemy course of cart module . You didnt cover how to convert cart into orders, Please help us out by making video or cart+order system. You are my bestestttt mentor of laravel
@Riswanch6
@Riswanch6 Жыл бұрын
when I type this command composer global require laravel/valet I get this error [ErrorException] preg_split(): Allocation of JIT memory failed, PCRE JIT will be disabled. T his is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0
@codewithdary
@codewithdary Жыл бұрын
The error message suggests that the PCRE JIT (Just-In-Time) compiler is failing to allocate memory due to security restrictions. To fix this error, you can try disabling the PCRE JIT by adding the following line to your php.ini file: pcre.jit=0 If that does not work, you can try increasing the memory limit for PHP by adding the following line to your php.ini file: memory_limit = 256M
@Riswanch6
@Riswanch6 Жыл бұрын
@@codewithdary thanks man let me check it
@manasseh152
@manasseh152 2 жыл бұрын
can you pls make the course so i can follow it on windows? because i realy like it so far but dbngin and laravel valet dont work on windows?
@codewithdary
@codewithdary 2 жыл бұрын
Besides this video you can follow along though. I assume you already got MySQL installed because you should know how PHP works, so a database engine should be easy work for you :)
@hafidzmuhammad466
@hafidzmuhammad466 2 жыл бұрын
Hi Dary, can I use the steps in your Laravel 8 tutorial to install Laravel 9 instead of using valet?
@codewithdary
@codewithdary 2 жыл бұрын
Of course!
@lordbel89
@lordbel89 2 жыл бұрын
Awesome!! Does this work with the M1 (ARM) Macs as well?
@codewithdary
@codewithdary 2 жыл бұрын
Not 100% sure. I haven't got the new Mac yet :(
@uraljonjurayev1814
@uraljonjurayev1814 2 жыл бұрын
Thank you very well 👍
@codewithdary
@codewithdary 2 жыл бұрын
Thank you too Uraljon!
@n8johnson
@n8johnson 2 жыл бұрын
Why not run 'valet park' '~/Desktop/workspace/' instead of '~/Desktop/workspace/laravelapp/'? That way you won't have to park each individual project. Is there an advantage to the way you showed?
@codewithdary
@codewithdary 2 жыл бұрын
I'm showing both ways in this video, didn't say that one is better than another!
@its_abdu4925
@its_abdu4925 6 ай бұрын
when i try to install valet , it gives all kinds of errors. i have a mbp 2015. does it matter ?
@sajsta3343
@sajsta3343 2 жыл бұрын
Hi please make a laravel+docker setup as well in one video
@codewithdary
@codewithdary 2 жыл бұрын
Not in this series because that will take a while but I will definitely do it after this one!
@masoudharooni2989
@masoudharooni2989 2 жыл бұрын
Hello dear Dary, thank you for your great content. When I'm installing laravel, the composer doesn't install laravel completely for me, gives me a message, and doesn't create my "Vendor" and lock.json file. Can you help me, how can I solve this problem? The message is : Problem 1 - laravel/framework[v9.19.0, ..., 9.x-dev] require league/flysystem ^3.0.16 -> satisfiable by league/flysystem[3.0.16, ..., 3.x-dev]. - league/flysystem[3.0.16, ..., 3.x-dev] require league/mime-type-detection ^1.0.0 -> satisfiable by league/mime-type-detection[1.0.0, ..., 1.11.0]. - league/mime-type-detection[1.0.0, ..., 1.3.0] require php ^7.2 -> your php version (8.1.0) does not satisfy that requirement. - league/mime-type-detection[1.4.0, ..., 1.11.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension. - Root composer.json requires laravel/framework ^9.19 -> satisfiable by laravel/framework[v9.19.0, 9.x-dev]. To enable extensions, verify that they are enabled in your .ini files: - C:\Program Files\php-8.1.0\php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
@codewithdary
@codewithdary 2 жыл бұрын
You should try running: composer install --ignore-platform-reqs or composer update --ignore-platform-reqs
@saranr1467
@saranr1467 2 жыл бұрын
I had to run "valet install" before running valet link/park
@mohbdixbai97
@mohbdixbai97 2 жыл бұрын
I am stuck, please help if possible, I can’t access my website with valet in local network (From another device in same network) I don’t want to valet share (publicly) And 192.168.1.#/mysite.test didn’t work
@codewithdary
@codewithdary 2 жыл бұрын
I recommend you to use Git, so it's not needed to access one website through your local network... I can't help you with that, sorry.
@nassim505
@nassim505 2 жыл бұрын
Hello Dary , what's the way to Start using windows ?
@nassim505
@nassim505 2 жыл бұрын
i think i found it ( POWERSHELL) ?
@codewithdary
@codewithdary 2 жыл бұрын
Yes! Cmd
@giatechindo
@giatechindo 2 жыл бұрын
#ask xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools' Failed during: /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
@codewithdary
@codewithdary 2 жыл бұрын
Can you take a look at the following link? stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error
@giatechindo
@giatechindo 2 жыл бұрын
@@codewithdary i've not installed xcode, because not found for mac os 10.15 catalina
@millennialsdev
@millennialsdev Жыл бұрын
Could you use php artisan server?
@codewithdary
@codewithdary Жыл бұрын
You can of course run php artisan serve, the only different will be the URL.
@victhour
@victhour 2 жыл бұрын
do i need to understand/learn laravel 8 before 9?
@codewithdary
@codewithdary 2 жыл бұрын
Nah. Laravel 9 has some new features or improved versions but everything is pretty much the same compared to Laravel 9. It's not like they make a complete new framework
@janlam3344
@janlam3344 2 жыл бұрын
Linux is my daily driver, (PopOS!). Best for programming IMHO. I got so fed up with Windows updates and it breaking things. I ❤ Linux! So, don't forget us either.
@matteored
@matteored 2 жыл бұрын
Valet is better than Sail for you?
@codewithdary
@codewithdary 2 жыл бұрын
Won't say better. I just like Valet on Mac and I think Sail fits perfectly on Windows.
@matteored
@matteored 2 жыл бұрын
@@codewithdary Thank you:)
@Viralplace
@Viralplace Жыл бұрын
Hi followed all the tutorial, I’m on MacBook Pro with M2. It’s work fine but I have problems with DBNGINE It says that all the services are off. In fact from terminal if I write: Brew services list Are all off, this becouse valet execute all like root user, so if we write: Sudo brew services list We will all started correctly, but I think that it is a problem because brew isn’t happy when we use all like root user. I’ve tried to change all with my user (chown ${whoami}) but it doesn’t work and I continue to have problem with Dbengine. If I try to do: Brew services start dnsmasq or nginx And after I see these with: Brew services list We have error! Is red… It works just with sudo
@ashraful07
@ashraful07 Жыл бұрын
today i install this project l9 show me error 500 SERVER ERROR what can i do?
@ashraful07
@ashraful07 Жыл бұрын
how can solve this error
@georgebanin4812
@georgebanin4812 2 жыл бұрын
when I enter valet park it says command not found
@jonthamastersmooth
@jonthamastersmooth 2 жыл бұрын
This does not work on windows 11...do you have a video showing how to install on Windows 11? I ask because I saw a comment where the rest of the videos use Windows.
@codewithdary
@codewithdary 2 жыл бұрын
No because the title is also saying that it is on Mac. I don't have a video where I install it on Windows. Planning on doing that probably after the course :)
@MarkConstable
@MarkConstable 2 жыл бұрын
So I take it that Sail is not available on a Mac?
@codewithdary
@codewithdary 2 жыл бұрын
You can, but this video shows Laravel Valet :)
@MarkConstable
@MarkConstable 2 жыл бұрын
@@codewithdary Good to know that Sail is also available for folks who use other dev platforms.
@bentorukmakto2632
@bentorukmakto2632 5 ай бұрын
This is literally torture! Nowadays, these issues should not be this difficult. This is completely related to macOs. Yes, we hate Windows, but MacOs does not make any attempt to make us love it.
@AYANFEOLUWA001
@AYANFEOLUWA001 2 жыл бұрын
Please I’m not using MacBook
@itzadetunji
@itzadetunji 2 жыл бұрын
Hi dary, "ping laravelapp.test" does not work for me it says "ping: cannot resolve laravelapp.test: Unknown host"
@codewithdary
@codewithdary 2 жыл бұрын
something else is blocking the port 80, if you have MAMP or something else installed. Try running: lsof -i tcp:80 - it will show you that nginx is holding that port, which means valet is in play, or something else :) Try valet restart to restart the services.
@evgeniy9582
@evgeniy9582 2 жыл бұрын
The author of this video forgot that after "composer global require laravel/valet" command you need to explicitly run "valet install" command
@weichen3994
@weichen3994 Жыл бұрын
you might need to do source ~/.bashrc for it to work
@robertejiogu1981
@robertejiogu1981 2 жыл бұрын
'ping: cannot resolve laravelapp.test: Unknown host' this is waht i got when i entered 'ping laravelapp.test'. I really need assistance to bypass this issue. thanks
@emmanuelpromise1018
@emmanuelpromise1018 2 жыл бұрын
laravelapp.test is returning 404 on browser
How to install laravel valet mac
8:24
williamsk
Рет қаралды 7 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 61 МЛН
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 88 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 15 МЛН
How To Get Started With PHP, Composer & Laravel (Windows & Mac)
1:22:14
Laravel Herd - PHP Development Environment for Mac
13:37
Andre Madarang
Рет қаралды 27 М.
Setup Mac for Laravel Development  ( New Way )
8:02
Tony Xhepa
Рет қаралды 8 М.
PHP on the frontend! No more Javascript!
14:47
Aaron Francis
Рет қаралды 124 М.
Laravel Herd - Laravel development perfected
13:02
Bitfumes - AI & LLMs
Рет қаралды 9 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 61 МЛН