Answers for "build laravel project"

PHP
3

php artisan serve

// run laravel project 
php artisan serve --port="port" --host="host"
Posted by: Guest on December-06-2020
1

how to start composer in laravel project on localhost

php artisan serve
  // The original answer is:
  /* 
  The full command works like this:

php artisan serve --host=<host IP address> --port=<port to use>

php artisan serve --host=127.0.0.1 --port=8080
  */
Posted by: Guest on August-15-2020
0

laravel project make

composer create-project --prefer-dist laravel/laravel blog 
  //here blog is you project name you can change this figure 
  //to whatever you want to make the name of your project
Posted by: Guest on August-24-2021
0

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
0

steps to create laravel project

// 3 ways to create project in laravel
composer create-project --prefer-dist laravel/laravel APIDemo
  laravel new laravel-backend-api
  composer global require laravel/installer
Posted by: Guest on August-25-2021
0

how to make website with laravel

Schema::table('users', function($table)
{
    $table->create();
    $table->increments('id');
    $table->string('username');
    $table->string('email');
    $table->string('phone')->nullable();
    $table->text('about');
    $table->timestamps();
});
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language