php


Laravel Framework - Difference between creating a new project via laravel or composer?


Been following along several Laravel tutorials online and they all create a new project through either of these two commands:
laravel new project-name
or
composer create-project laravel/laravel project-name
They both seem to generate the same template, but are there any differences between the two one should know about? Laravel docs are unclear on this, and couldn't find an answer online, would appreciate if someone can clear it up for me.
composer create-project laravel/laravel project-name will do two extra things as far as I know. These are executed because of scripts in composer.json
cp .env.example .env
./artisan key:generate
composer.json

Related Links

file_get_contents with relative path
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails
PHP An iterator cannot be used with foreach by reference
Google Captcha not displaying in GoDaddy secure (https)
Adding CSS using function in PHP
How can I tell if someone is subscribed with a Paypal Subscribe Button?
How to get exit node ip in PHP app running on tor/lighttpd
Foreach two array (php)
$_SERVER document root in CLI
MySQL Grouping Issue
Adding two PHP array and echo Json
Is it possible to break CSRF token validation using file_get_contents in PHP
Crashing my browser with while loop, PHP [closed]
PHP - Return value if 2 out of 3 true
Disable wp-cron, and run linux cron instead in multisite environment
How do I use password hashing with PDO to make my code more secure? [closed]

Categories

HOME
xpath
firebase
barcode-scanner
subdomain
kivy
command-prompt
code-formatting
dronekit-python
fogbugz
ontology
save
wagtail
azure-logic-apps
yeoman-generator-angular
heuristics
migrate
pm2
multi-step
stimulsoft
orange-api
google-sites
significance
clr
error-logging
spring-ldap
weex
jpa-2.1
password-generator
iwebbrowser2
boolean-logic
bitbake
toad
publishing
quickcheck
android-collapsingtoolbar
cargo
forms-authentication
fastlane
sspi
hdiv
access-denied
minikube
latexml
code-push
react-intl
return-type
ol3-google-maps
subforms
popen
ptvs
swiperefreshlayout
mpmovieplayercontroller
sidewaffle
prefetch
email-injection
allegro
libharu
wininet
zynq
tsqlt
meld
timestamping
django-redis
gridbaglayout
flipclock
wif4.5
largenumber
apache-commons-digester
highest
extend
search-form
darwin
wicked-gem
mutators
baseadapter
microsoft-expression-web
fasterxml
thoughtworks-go
nesper
igor
storing-data
xcode6.3.1
jomsocial
usb-flash-drive
mod-perl
principalcontext
mousemotionlistener
iirf
sunstudio
arel
oembed
struts2-json-plugin
workflow-manager-1.x
mkannotation
infopath-2007
motodev-studio
office-automation
nosetests
simile
formal-semantics
active-record-query
iphone-sdk-4.3
getimagesize
dm
fxruby
accumulator
database-cloning

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile