Setup Laravel Sail in 2 MINUTES!

preview_player
Показать описание
👇 Learn with me 👇

In this video, I'm going to share with you guys how you can setup your local development environment using Laravel Sail, which uses Docker as the virtual machine/environment.

Laravel is a popular PHP framework that you can use to build really cool applications/integrations. But setting up your local development environment can sometimes be a pain. Thankfully, Laravel Sail provides this for you. Laravel Sail will assist you in building a local docker environment meaning you can make on the fly changes to your code and see it instantly without having to refresh anything.

Join me as I share with you guys how to build your own docker environment with Laravel Sail in 2 minutes.

Let me know your thoughts in the comments!

WHO AM I?
I'm Ross. I'm a freelance senior web developer, a content creator, and someone who is passionate about creating things. I make videos that will aid your life in terms of working as a freelance web developer and give you all the necessary skills, tips, and tricks to live, survive, and strive in the competitive industry of programming, web development, and other related fields.

I've had a huge passion for technology ever since I was a kid, yes, I was pulling apart computers at 14 years old.

FEEL FREE TO CHECK ME OUT

Subscribe To My Channel HERE!

#RossEdlin #FreelanceProgramming #WebDeveloping #laravel
Рекомендации по теме
Комментарии
Автор

That's awesome, just what I was looking for, thanks so much!

MainActor
Автор

1st benefit of using docker is you don't need any dependency on your local system
you used composer, which requires PHP, and for laravel 10 to work need node/npm, which by watching your video would be on the same machine.
Totally beats the purpose of using docker.

You don't need a single dependency on your local machine except for of course docker itself to run Laravel app.

BsiennKhan
Автор

How did you make your build faster? I am using WSL2 in my docker and still when running php artisan sail:install it is building slowly.

Arcaz
Автор

please make a video how to connect laravel sail database with heidi SQL Database connection

PakistanArmyYouth
Автор

i am using windows.
i added sail to my existing laravel

C:\Users\user>wsl -l -v
NAME STATE VERSION
* Ubuntu Running 2
docker-desktop Running 2



./vendor/bin/sail up
when i do this, it give me error
/bin/bash: No such file or directory

i already removed vendor and again did composer install

sagart
Автор

It says here that "The system cannot find the path specified".

henzzhenzz
Автор

Windows With Laravel/Sail is so extremly slow on localhost? i really wanna go back to linux and ditch all gaming just for this....

hyiping
Автор

Pretty nonsensical to install php, all the dependencies, composer etc. and use docker. I managed create a Dockerfile from php-fpm and extended it with xdebug etc. and it runs smooth. Total waste of time.

badmadmat
Автор

whats the point of making the fastest video on yt if you dont treat ppl errors, you dont even answer them.

Beauty-hjkc
Автор

There are nothing happened, after I wrote ./vendor/bin/sail up in Docker no running containers 😐

Пользовательпрофессионал
visit shbcf.ru