- antu97
- Posts : 1
Join date : 2020-07-25
My First Problem
Sat Jul 25, 2020 11:48 pm
I didn't implement the LARAVEL NEW FRESHPROJECT and LARAVEL development server. So , I didn't understand the Laravel valet setup.
- AdminAdmin
- Posts : 3
Join date : 2020-07-25
Re: My First Problem
Sun Jul 26, 2020 12:00 am
@antu97 - Only post problems which is very specific and after you have done enough internet search you still couldn't find out a proper solution.
- Mahasweta Bhowmick
- Posts : 7
Join date : 2020-07-26
only for mac users
Sun Jul 26, 2020 1:33 am
Laravel valet setup for only mac user not for windows!
antu97 likes this post
- Mahasweta Bhowmick
- Posts : 7
Join date : 2020-07-26
no problem during installation
Sun Jul 26, 2020 1:34 am
i dont have any problem.
antu97 likes this post
- sujoy98
- Posts : 19
Join date : 2020-07-25
Age : 25
Valet installation info.
Sun Jul 26, 2020 9:12 am
Valet requires macOS and Homebrew. Before installation, you should make sure that no other programs such as Apache or Nginx are binding to your local machine's port 80.
Install or update Homebrew to the latest version using
Install PHP 7.4 using Homebrew via
Install
Install Valet with Composer via
Run the
Once Valet is installed, try pinging any *.
Valet will automatically start its daemon each time your machine boots. There is no need to run
/* INFORMATION FROM LARAVEL OFFICIAL WEBSITE *\
Install or update Homebrew to the latest version using
- Code:
brew update
Install PHP 7.4 using Homebrew via
- Code:
brew install php
Install
- Code:
Composer
Install Valet with Composer via
- Code:
composer
- Code:
laravel/valet
Run the
- Code:
valet install
Once Valet is installed, try pinging any *.
- Code:
test
- Code:
ping foobar.test
- Code:
127.0.0.1
Valet will automatically start its daemon each time your machine boots. There is no need to run
- Code:
valet start
- Code:
valet install
/* INFORMATION FROM LARAVEL OFFICIAL WEBSITE *\
- Mahasweta Bhowmick
- Posts : 7
Join date : 2020-07-26
how to install laravel
Sun Jul 26, 2020 2:00 pm
first of all you need to download xampp for local server then composer and git and which ever text editor you want to use, after downloading xampp start apache & Mysql aswell, then you need to install composer (as composer wants xampp file that is why firstly you need to install xampp) then click composer it will choose automatically the xampp path, click on next and next and it get insall. after that install git or git bash whatever u called, click next n next again next one pop up gets on ur screen choose last option "use the native window secure channel library"( we use it because as windows command prompt for ls commands), rest of all choose as default. After that install visual studio code (i use VSC) then open it then go to view then integrated terminal then type on terminal( cd.. enter , cd.. enter, cd xampp/htdocs enter, composer create-project laravel/laravel lsapp enter) after this laravel will installing on ur pc. After installing laravel change the directory type cd lsapp. Then go to project click on open file then click on c drive then goto xampp then click on htdocs then click ls app , all the file will open up.
Then for checking laravel goto browser type localhost/lsapp/public (enter) laravel interface will appear on ur screen , but there is a security issue for that u need to change the host file for that u need to follow some steps.
step 1- goto c drive then xampp then apache the extra then open up vhost file by using notepad, change virtual host file.
<virtualhost *:80>
documentroot "C:/xampp/htdocs"
servername localhost
</virtualhost>
virtualhost *:80>
documentroot "C:/xampp/htdocs/lsapp/public"
servername lsapp.test
</virtualhost>
then save the file.
After that open notepad as administrator then open file goto c drive , goto windows goto system 32 goto drivers goto etc change text document to all file choose .host file , then edit type
127.0.0.1 localhost
127.0.0.1 lsapp.test
After all this stop xampp and restart again.
Then goto browser type "lsapp.test" same laravel page will open up on ur screen.
THIS IS HOW YOU NEED TO INSTALL LARAVEL AND THEN ENJOY CODING!
THANK YOU.
I HOPE THIS MAY HELP YOU!
Then for checking laravel goto browser type localhost/lsapp/public (enter) laravel interface will appear on ur screen , but there is a security issue for that u need to change the host file for that u need to follow some steps.
step 1- goto c drive then xampp then apache the extra then open up vhost file by using notepad, change virtual host file.
<virtualhost *:80>
documentroot "C:/xampp/htdocs"
servername localhost
</virtualhost>
virtualhost *:80>
documentroot "C:/xampp/htdocs/lsapp/public"
servername lsapp.test
</virtualhost>
then save the file.
After that open notepad as administrator then open file goto c drive , goto windows goto system 32 goto drivers goto etc change text document to all file choose .host file , then edit type
127.0.0.1 localhost
127.0.0.1 lsapp.test
After all this stop xampp and restart again.
Then goto browser type "lsapp.test" same laravel page will open up on ur screen.
THIS IS HOW YOU NEED TO INSTALL LARAVEL AND THEN ENJOY CODING!
THANK YOU.
I HOPE THIS MAY HELP YOU!
Lovely-Kumari likes this post
Permissions in this forum:
You cannot reply to topics in this forum
|
|