Answers for "setup laravel project"

PHP
8

create project laravel

composer create-project laravel/laravel example-app
Posted by: Guest on August-15-2021
5

laravel installation from github

//Laravel installation from github
php -r "file_exists('.env') || copy('.env.example', '.env');"
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
php artisan key:generate
Posted by: Guest on February-19-2020
0

laravel create project

// To install and use a specific version, you can enter it at the end of the command.
// For example using version 5.8 ==>
composer create-project --prefer-dist laravel/laravel projectName "5.8.*"
Posted by: Guest on December-06-2020
1

create project command in laravel

Before starting this hope you installed composer dependancy manager for PHP.
----------------------------------------------------------------------------- 
So if you want to create a project by name of 'first_laravel_app' in directory C:/xampp/htdocs/ then what you need to do is

Locate your project parent directory using cmd
>cd c:/xampp/htdocs

and fire this command 
>composer create-project laravel/laravel first_laravel_app --prefer-dist

And its done, this is really easy and it also creates Application Key automatically for you.
  
# I hope it will help you.
# Namaste
Posted by: Guest on June-20-2020
3

how to install new project in laravel

You can create project by 2 ways:

First is installing it without defining version:
composer create-project laravel/laravel yourProjectName

Secondly you can install by defining version:
composer create-project laravel/laravel="VersionOfYourChoice" yourProjectName
Posted by: Guest on December-22-2020

Browse Popular Code Answers by Language