Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Create Laravel Project with Composer

composer create-project laravel/laravel example-app
 
cd example-app
 
php artisan serve
Comment

composer create project laravel 7

composer create-project --prefer-dist laravel/laravel:^7.0 blog
Comment

Create a laravel project with any version

composer create-project --prefer-dist laravel/laravel projectName "6.0.*"
composer create-project --prefer-dist laravel/laravel projectName "7.0.*"
composer create-project --prefer-dist laravel/laravel projectName "8.0.*"
Comment

composer create project laravel

just run this command(make sure to have Composer installed on your machine from: https://getcomposer.org/download/):

composer create-project laravel/laravel project-name
Comment

composer new laravel

<!-- The curl option works with sail (Docker) -->
curl -s https://laravel.build/app-name | bash
cd app-name
sail up -d
<!-- OR -->
composer create-project --prefer-dist laravel/laravel app-name "8.*"
Comment

Create a laravel project with any version

//Just change the 'x' for the version that you want

composer create-project laravel/laravel="x.*" Project
Comment

laravel project create with version

composer create-project laravel/laravel your-project-name version
Comment

composer create new Laravel project

composer create-project laravel/laravel new_project
Comment

composer create project laravel with version

composer create-project laravel/laravel=4.1.27 your-project-name --prefer-dist
Comment

PREVIOUS NEXT
Code Example
Php :: custom fields wordpress 
Php :: epoch conversion php 
Php :: woocommerce view order details frontend with shortcode 
Php :: execute script php command line 
Php :: how do i know if file is empty in php 
Php :: Drupal 8 custom form image field 
Php :: Laravel Migrations from an existing database 
Php :: which programming languae does php resemble to? 
Php :: customize laravel pagination links 
Php :: how to get length array in php 
Php :: string length laravel validation 
Php :: wp_register_script 
Php :: insert array values in database using codeigniter 
Php :: search query codeigniter 
Php :: unique check two clolumn in laravel validation 
Php :: laravel not run test 
Php :: laravel one to many relationship example 
Php :: SUM with Eloquent 
Php :: js php number format space 
Php :: laravel migration tinyint length 
Php :: year dropdown loop in php 
Php :: trova corrispondenza nella stringa php 
Php :: stripe php sdk constants 
Php :: laravel dirty words check 
Php :: enable trash for media wordpress 
Php :: foreach and forelse empty 
Php :: Find category name & link 
Php :: echo placeholder image if post thumbnail not found 
Php :: string to array php 
Php :: switching between php versions 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =