create project laravel command
composer global require laravel/installer
laravel new blogBefore 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 --prefer-dist laravel/laravel blog "6.*"
Also in PHP:
- base64 decode neglect underscore php
- STR_TO_Time('" . $purchaseDate . "', '%Y-%m-%d %H:%i:%s'), php
- In Connection.php line 664: could not find driver (SQL: select * from information_schema.tables where table_schema = news and table_name = migrations) In Connector.php line 67: could not find driver
- echo all error
- blade if
- CONVERT STRING TO DECIMAL php
- datetime in php
- check if part of string php
- SET CURRENT DATE TIME IN PHP'
- check string on string php
- date and hour php
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 4271488 bytes)", "exception":
- carbon add minutes
- db($twoRandomPhotosOfSomePeoples);
- eloquent disable updated_at
- Expression #1 of ORDER BY contains aggregate function and applies to the result of a non-aggregated query laravel
- add days to current date php
- base64 to pdf generation in php
- check if key array exists php
- composer laravel install
- Dynamic title on every page laravel blade
- $_redirect() php
- check variable data type with value in php
- distance between two locations in php