create laravel project using composer
composer create-project laravel/laravel example-app
cd example-app
php artisan servecomposer create-project --prefer-dist laravel/laravel blogcomposer global require laravel/installercomposer create-project --prefer-dist laravel/laravel blog "6.*"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 composer create-project laravel/laravel=4.1.27 your-project-name --prefer-dist
Also in PHP:
- array_reverse function in php
- FULL DATE DISPALY IN PHP
- .length - 5 in php
- Remove values from select list based on condition
- check data type in php
- base64 to pdf generation in php
- Laravel Validation check array size min and max
- catch exception php of spetie
- array check duplicates php
- add shortcode in short description
- eloquent where in
- Undefined index: gross_wt in C:\xampp\htdocs\aezaz\Dev\login\pdf_export\gb1.php on line 34
- create random set of strings PHP
- date formate in php
- creating default object from empty value laravel
- assign php array into javascript
- Notice: Array to string conversion php
- easy admin bunfle symfony modify login page
- count characters laravel
- db format date function php
- date show year first php
- [WAR] 70 (lib\peer.php:164) file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
- Date() in php
- console data from php to jquery console