<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Install laravel Archives - Codeplaners</title>
	<atom:link href="https://codeplaners.com/tag/install-laravel/feed/" rel="self" type="application/rss+xml" />
	<link>https://codeplaners.com/tag/install-laravel/</link>
	<description>Code Solution</description>
	<lastBuildDate>Fri, 09 Apr 2021 06:37:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>

<image>
	<url>https://codeplaners.com/wp-content/uploads/2020/09/cropped-favicon-social-32x32.png</url>
	<title>Install laravel Archives - Codeplaners</title>
	<link>https://codeplaners.com/tag/install-laravel/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Laravel 8 Auth Login and Registration</title>
		<link>https://codeplaners.com/laravel-8-auth-login-and-registration/</link>
					<comments>https://codeplaners.com/laravel-8-auth-login-and-registration/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 11 Mar 2021 08:00:20 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Laravel 8]]></category>
		<category><![CDATA[Install laravel]]></category>
		<category><![CDATA[laravel auth]]></category>
		<category><![CDATA[Laravel CRUD]]></category>
		<category><![CDATA[Laravel Install]]></category>
		<category><![CDATA[laravel login]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=475</guid>

					<description><![CDATA[<p>This post was last updated on April 9th, 2021 at 06:37 amLaravel 8 php artisan make:auth command not work show error for Laravel 8 command</p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/laravel-8-auth-login-and-registration/">Laravel 8 Auth Login and Registration</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="last-modified">This post was last updated on April 9th, 2021 at 06:37 am</p><p>Laravel 8 php artisan make:auth command not work show error</p>
<pre class="brush: php; title: ; notranslate">
C:\xampp2\htdocs\blog&gt;php artisan make:auth


  Command &quot;make:auth&quot; is not defined.

  Did you mean one of these?
      make:cast
      make:channel
      make:command
      make:component
      make:controller
      make:event
      make:exception
      make:factory
      make:job
      make:listener
      make:mail
      make:middleware
      make:migration
      make:model
      make:notification
      make:observer
      make:policy
      make:provider
      make:request
      make:resource
      make:rule
      make:seeder
      make:test
</pre>
<h2>for Laravel 8 command</h2>
<pre class="brush: plain; title: ; notranslate">
composer require laravel/ui
php artisan ui vue --auth
php artisan migrate
</pre>
<p><img decoding="async" src="https://codeplaners.com/wp-content/uploads/2021/03/laravelauth.jpg" ><br />
<img decoding="async" src="https://codeplaners.com/wp-content/uploads/2021/03/laravellogin.jpg" ></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/laravel-8-auth-login-and-registration/">Laravel 8 Auth Login and Registration</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/laravel-8-auth-login-and-registration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Laravel Framework CRUD Operations</title>
		<link>https://codeplaners.com/laravel-framework-crud-operations/</link>
					<comments>https://codeplaners.com/laravel-framework-crud-operations/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 10 Mar 2021 09:40:45 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Install laravel]]></category>
		<category><![CDATA[Laravel CRUD]]></category>
		<category><![CDATA[Laravel CRUD Operations]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=465</guid>

					<description><![CDATA[<p>Laravel Framework CRUD Operations, I will show you how to implement Operations crud example with Laravel. In this laravel crud example, you will learn how to implement the laravel crud (create, read, update and delete) . Laravel CRUD Operations Download Laravel Configure Database Create Migration, Model and Controller Add Routes In web.php Run Server Step &#8230; <a href="https://codeplaners.com/laravel-framework-crud-operations/" class="more-link">Continue reading<span class="screen-reader-text"> "Laravel Framework CRUD Operations"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/laravel-framework-crud-operations/">Laravel Framework CRUD Operations</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Laravel Framework CRUD Operations,  I will show you how to implement Operations crud example with Laravel.</p>
<p>In this laravel crud example, you will learn how to implement the laravel crud (create, read, update and delete) .</p>
<h3>Laravel CRUD Operations</h3>
<ul style="list-style: circle;padding: 0 0 0 16px;font-weight: 700;line-height: 26px;font-size: 16px;">
<li>Download Laravel</li>
<li>Configure Database</li>
<li>Create Migration, Model and Controller</li>
<li>Add Routes In web.php</li>
<li>Run Server</li>
</ul>
<h3>Step 1:- Download And Install Laravel</h3>
<pre class="brush: php; title: ; notranslate">composer create-project --prefer-dist laravel/laravel blog</pre>
<h3>Step 2:- Configure Database</h3>
<pre class="brush: php; title: ; notranslate">
DB_CONNECTION=mysql 
DB_HOST=127.0.0.1 
DB_PORT=3306 
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
</pre>
<h3>Step 3:- Create Migration, Model and Controller</h3>
<h3>Create Model</h3>
<pre class="brush: php; title: ; notranslate"> php artisan make:model Post -m </pre>
<h5>Add code in <b>database/migrations/create_posts_table.php</b></h5>
<pre class="brush: php; title: ; notranslate"> 
&lt;?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreatePostsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('posts', function (Blueprint $table) {
			$table-&gt;bigIncrements('id');
			$table-&gt;string('title');
			$table-&gt;text('description');
			$table-&gt;timestamps();
		});
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('posts');
    }
}
</pre>
<h5>Add Post table values in <b>app/Models/Post.php</b></h5>
<pre class="brush: php; title: ; notranslate">
&lt;?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Post extends Model
{
    protected $fillable = &#x5B;'title', 'description'];
}
</pre>
<h5>Migrate the database using the command</h5>
<pre class="brush: php; title: ; notranslate">php artisan migrate</pre>
<h3>Create Post Controller</h3>
<pre class="brush: php; title: ; notranslate">php artisan make:controller PostController</pre>
<h5>open PostController and define index, add, edit, delete methods in PostController.php, go to <b>app\Http\Controllers\PostController.php</b></h5>
<pre class="brush: php; title: ; notranslate">
&lt;?php

namespace App\Http\Controllers;
use DB;
use Session;
use App\Models\Post;
use Illuminate\Http\Request;

class PostController extends Controller
{
    // all posts
    public function index()
    {
        $posts = Post::all();
        return view('post/index',compact('posts',$posts));
    }

	// post add
	public function AddPost(Request $request)
    {

        return view('post/add-post');
    }
	
	// post Store
	public function Store(Request $request){
        $this-&gt;validate($request, &#x5B;
            'title' =&gt; 'required|string|min:3|max:255',
            'description' =&gt; 'required',
        ]);

        $pages = new Post;

        $pages-&gt;title = $request&#x5B;'title'];
        $pages-&gt;description = $request&#x5B;'description'];
    
        $pages-&gt;save();
		
        Session::flash( 'message', 'Post published.' );
        return redirect('/post');
    }
	
	// post posteditshow
	public function PostShow($id)
    {
        $posts = DB::select('select * from posts where id = ?',&#x5B;$id]);
        return view('post/postedit',&#x5B;'posts'=&gt;$posts]);
    }

	// post Edit
	public function Postedit(Request $request,$id)
	{
		$request-&gt;validate(&#x5B;
			'title' =&gt; 'required',
		]);
		$update&#x5B;'title'] = $request-&gt;get('title');
		$update&#x5B;'description'] = $request-&gt;get('description');

		Post::where('id',$id)-&gt;update($update);

		$request-&gt;session()-&gt;flash('message', 'Successfully Updated!');
		return redirect('/post');

	}
	
	
	// post Delete
	 public function Delete(Request $request,$id)
	 {
	 	DB::delete('delete from posts where id = ?',&#x5B;$id]);

	 	$request-&gt;session()-&gt;flash('message', 'Successfully Delete!');
	 	return redirect('/post');
   	 }
	
}

</pre>
<h5>Step 4:- Add post folder in resources</h5>
<p>Create post folder this path <strong>resources\views</strong><br />
and post folder add file:</p>
<ul style="list-style: circle;padding: 0 0 0 16px;font-weight: 700;line-height: 26px;font-size: 16px;">
<li>index.blade.php</li>
<li>add-post.blade.php</li>
<li>postedit.blade.php</li>
</ul>
<p>Open <strong>index.blade.php</strong> file and update the code your file:-</p>
<pre class="brush: php; title: ; notranslate">
@extends('layouts.app')

@section('content')

      &lt;div class=&quot;bg-white table-responsive rounded shadow-sm pt-3 pb-3 mb-30&quot;&gt;
      	&lt;div&gt;&lt;a href=&quot;{{ url('add-post') }}&quot; class=&quot;btn&quot;&gt;Add Post&lt;/a&gt;&lt;/div&gt;
        @if(Session::has('message'))
        	&lt;p class=&quot;alert alert-info&quot; style=&quot;clear: both;&quot;&gt;{{ Session::get('message') }}&lt;/p&gt;
        @endif
        &lt;table id=&quot;data-table&quot; class=&quot;table mb-0 table-striped&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
            &lt;thead&gt;
                &lt;tr&gt;
                    &lt;th data-orderable=&quot;false&quot;&gt;Id&lt;/th&gt;
                    &lt;th&gt;Title&lt;/th&gt;
                    &lt;th&gt;Description&lt;/th&gt;
                    &lt;th width=&quot;270&quot;&gt;Action&lt;/th&gt;
                &lt;/tr&gt;
            &lt;/thead&gt;
            &lt;tbody&gt;
                @foreach ($posts as $post)
                &lt;tr&gt;
                    &lt;td&gt;{{ $post-&gt;id }}&lt;/td&gt;
                    &lt;td&gt;{{ $post-&gt;title }}&lt;/td&gt;
                    &lt;td&gt;{{ $post-&gt;description }}&lt;/td&gt;
                    &lt;td&gt;&lt;a href=&quot;{{ url('postedit') }}/{{ $post-&gt;id }}&quot; class=&quot;btn&quot; style=&quot;float: left;&quot;&gt;Edit Post&lt;/a&gt;&lt;a href=&quot;postdelete/{{ $post-&gt;id }}&quot; class=&quot;btn&quot; style=&quot;background:#F30;&quot;&gt;Delete&lt;/a&gt;&lt;/td&gt;
                &lt;/tr&gt;
                @endforeach
            &lt;/tbody&gt;
        &lt;/table&gt;
    &lt;/div&gt;

@endsection


</pre>
<p>Open <strong>add-post.blade.php</strong> file and update the code your file:-</p>
<pre class="brush: php; title: ; notranslate">
@extends('layouts.app')

@section('content')

            &lt;div class=&quot;page-content&quot;&gt;
                    &lt;div class=&quot;container-fluid&quot;&gt;
                        &lt;div class=&quot;row&quot;&gt;
                            &lt;div class=&quot;col-lg-12&quot;&gt;
                                &lt;div class=&quot;portlet-box portlet-gutter ui-buttons-col mb-30&quot;&gt;
                                    &lt;div class=&quot;portlet-body&quot;&gt;
                                        &lt;form class=&quot;needs-validation&quot; method=&quot;post&quot;  action=&quot;{{ url('add-post') }}&quot; novalidate enctype=&quot;multipart/form-data&quot; &gt;
                                        &lt;input type = &quot;hidden&quot; name = &quot;_token&quot; value = &quot;&lt;?php echo csrf_token(); ?&gt;&quot;&gt;
                                            &lt;div class=&quot;form-row&quot;&gt;
                                                &lt;div class=&quot;col-md-12 mb-3&quot;&gt;
                                                    &lt;label for=&quot;validationCustom01&quot;&gt;Post Title&lt;/label&gt;
                                                    &lt;input type=&quot;text&quot; class=&quot;form-control&quot;  name=&quot;title&quot; placeholder=&quot;Page Title&quot; &gt;
                                                &lt;/div&gt;
                                                &lt;div class=&quot;col-md-12 mb-3&quot;&gt;
                                                    &lt;label for=&quot;image&quot;&gt;Post Description&lt;/label&gt;
                                                    &lt;textarea id=&quot;description&quot; class=&quot;form-control&quot;  name=&quot;description&quot; &gt;&lt;/textarea&gt;
                                                &lt;/div&gt;
                                            &lt;/div&gt;
                                            &lt;button class=&quot;btn btn-primary&quot; type=&quot;submit&quot;&gt;Submit&lt;/button&gt;
                                        &lt;/form&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;

@endsection


</pre>
<p>Open <strong>postedit.blade.php</strong> file and update the code your file:-</p>
<pre class="brush: php; title: ; notranslate">
@extends('layouts.app')

@section('content')
			
            &lt;div class=&quot;page-content&quot;&gt;
                    &lt;div class=&quot;container-fluid&quot;&gt;
                        &lt;div class=&quot;row&quot;&gt;
                            &lt;div class=&quot;col-lg-12&quot;&gt;
                                &lt;div class=&quot;portlet-box portlet-gutter ui-buttons-col mb-30&quot;&gt;
                                    
                                    &lt;div class=&quot;portlet-body&quot;&gt;
                                    	&lt;form class=&quot;needs-validation&quot; method=&quot;post&quot;  action=&quot;{{ url('postedit') }}/&lt;?php echo $posts&#x5B;0]-&gt;id; ?&gt;&quot; novalidate enctype=&quot;multipart/form-data&quot; &gt;
                                        &lt;input type = &quot;hidden&quot; name = &quot;_token&quot; value = &quot;&lt;?php echo csrf_token(); ?&gt;&quot;&gt;
                                            &lt;div class=&quot;form-row&quot;&gt;
                                                &lt;div class=&quot;col-md-12 mb-3&quot;&gt;
                                                    &lt;label for=&quot;validationCustom01&quot;&gt;Post Title&lt;/label&gt;
                                                    &lt;input type=&quot;text&quot; class=&quot;form-control&quot;  name=&quot;title&quot; placeholder=&quot;Page Title&quot; value = '&lt;?php echo $posts&#x5B;0]-&gt;title; ?&gt;' &gt;
                                                &lt;/div&gt;
                                                &lt;div class=&quot;col-md-12 mb-3&quot;&gt;
                                                    &lt;label for=&quot;image&quot;&gt;Post Description&lt;/label&gt;
                                                    &lt;textarea id=&quot;description&quot; class=&quot;form-control&quot;  name=&quot;description&quot; &gt;&lt;?php echo $posts&#x5B;0]-&gt;description; ?&gt;&lt;/textarea&gt;
                                                &lt;/div&gt;
                                            &lt;/div&gt;
                                            &lt;button class=&quot;btn btn-primary&quot; type=&quot;submit&quot;&gt;Submit&lt;/button&gt;
                                        &lt;/form&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;



@endsection


</pre>
<h3>Step 5:- Add Routes in Web.php</h3>
<h5>Routes/web.php</h5>
<pre class="brush: php; title: ; notranslate">

Route::get('/post', 'PostController@index');
Route::get('/add-post', 'PostController@AddPost');
Route::post('/add-post','PostController@Store');
Route::get('/postedit/{id}', 'PostController@PostShow');
Route::post('/postedit/{slug}', 'PostController@Postedit');
Route::get('/postdelete/{id}', 'PostController@Delete');

</pre>
<h3>Step 6:- Run Laravel Vue CRUD App</h3>
<pre class="brush: php; title: ; notranslate">php artisan serve</pre>
<p>Open the URL in the browser:</p>
<pre class="brush: php; title: ; notranslate">http://127.0.0.1:8000</pre>
<p><img decoding="async" src="https://codeplaners.com/wp-content/uploads/2021/03/crud.jpg" alt="Laravel CRUD Operations"></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/laravel-framework-crud-operations/">Laravel Framework CRUD Operations</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/laravel-framework-crud-operations/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Laravel Xampp on (Windows)</title>
		<link>https://codeplaners.com/how-to-install-laravel-xampp-on-windows/</link>
					<comments>https://codeplaners.com/how-to-install-laravel-xampp-on-windows/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 13 Oct 2020 06:48:38 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Install laravel]]></category>
		<category><![CDATA[laravel bug]]></category>
		<category><![CDATA[Laravel Install]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://localhost/codeplaners/?p=240</guid>

					<description><![CDATA[<p>This post was last updated on February 14th, 2021 at 04:21 pmHow to Install Laravel on Localhost XAMPP At first, you must install XAMPP on your PC. to put in totally different versions of Laravel, the PHP version of your XAMPP program is extremely important. To install Laravel, version 5.8 you need the following specifications: Server Requirements The Laravel framework has a &#8230; <a href="https://codeplaners.com/how-to-install-laravel-xampp-on-windows/" class="more-link">Continue reading<span class="screen-reader-text"> "How to install Laravel Xampp on (Windows)"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-install-laravel-xampp-on-windows/">How to install Laravel Xampp on (Windows)</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="last-modified">This post was last updated on February 14th, 2021 at 04:21 pm</p><h4>How to Install Laravel on Localhost XAMPP</h4>
<p>At first, you must install XAMPP on your PC. to put in totally different versions of <a href="https://laravel.com/">Laravel</a>, the PHP version of your XAMPP program is extremely important.</p>
<p>To install Laravel, version 5.8 you need the following specifications:</p>
<h4 id="installation">Server Requirements</h4>
<p>The Laravel framework has a few system requirements. All of these requirements are satisfied by the Laravel Homestead virtual machine, so it&#8217;s highly recommended that you use Homestead as your local Laravel development environment.</p>
<p>PHP &gt;= 7.1.3</p>
<p>OpenSSL PHP Extension</p>
<p>PDO PHP Extension</p>
<p>Mbstring PHP Extension</p>
<p>Tokenizer PHP Extension</p>
<p>XML PHP Extension</p>
<p>Ctype PHP Extension</p>
<p>JSON PHP Extension</p>
<p>BCMath PHP Extension</p>
<h3><strong>How to Install Laravel step by step see the complete post.</strong></h3>
<h4><strong>Step 1:</strong></h4>
<p>Open the your Xampp</p>
<p><img decoding="async" class="alignnone size-medium wp-image-242" src="https://codeplaners.com/wp-content/uploads/2020/10/xampp-open-1.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/xampp-open-1.jpg 839w, https://codeplaners.com/wp-content/uploads/2020/10/xampp-open-1-300x192.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/xampp-open-1-768x492.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<h4><strong>Step 2:</strong></h4>
<p>Also, to work with <strong>MySQL databa</strong>se, check <code class="code-class">localhost/phpmyadmin</code></p>
<p><img decoding="async" class="alignnone size-medium wp-image-243" src="https://codeplaners.com/wp-content/uploads/2020/10/phpmyadmin.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/phpmyadmin.jpg 800w, https://codeplaners.com/wp-content/uploads/2020/10/phpmyadmin-300x155.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/phpmyadmin-768x396.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<p>That’s it. We successfully completed installing Xampp in Windows machine from scratch.</p>
<p>Now we are starting the local server or now we need to install the laravel composer</p>
<h4><strong>Step 3:</strong></h4>
<h4>How to installing Composer</h4>
<p>Composer, a <strong>PHP package manager</strong> has used <strong>manage Laravel dependencies</strong>. Hence it must installed before setting up Laravel. check the screenshot or click and download the composer exe file.</p>
<p><img decoding="async" class="alignnone size-medium wp-image-245" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer.jpg 800w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer-300x155.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer-768x396.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<h3>Now we are Started the Installing Composer:</h3>
<p>You can install the Composer on your own. Here are the steps:</p>
<h4><strong>Step 4:</strong></h4>
<p>When you are click the exe file it is asking for the installing process, now you are selected the install for me only for use only your computer or you have server you selected the all users (recommended) as per you want you can use.</p>
<p><img decoding="async" class="alignnone size-medium wp-image-246" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer2.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer2.jpg 437w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer2-300x214.jpg 300w" sizes="(max-width: 437px) 85vw, 437px" /></p>
<p>&nbsp;</p>
<h4><strong>Step 5:</strong></h4>
<p>When you click on the downloaded installer, it will prompt the following screen. We don’t want to install the <strong>developer mode</strong>, so keep that <strong>unselected</strong> and click <strong>Next</strong>.</p>
<p><img decoding="async" class="alignnone size-medium wp-image-247" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer3.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer3.jpg 820w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer3-300x225.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer3-768x576.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<p>Then click next &#8211; next or install the default setup for composer.</p>
<p>See this is now installing</p>
<p><img decoding="async" class="alignnone size-medium wp-image-248" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer4.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer4.jpg 820w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer4-300x225.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer4-768x576.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<p><strong>Step 6:</strong><br />
Composer setup needs to <strong>check the PHP configs</strong>, keep the <strong>default settings</strong> and click <strong>Next &#8211; Next</strong>. You are successfully installed the composer on you computer. Now you click on <strong>Finish</strong> button.</p>
<p><img decoding="async" class="alignnone size-medium wp-image-249" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer5.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer5.jpg 820w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer5-300x225.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer5-768x576.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<p><strong>Step 7:</strong><br />
Now you needed to press the your keybord button press <strong>Ctrl+R</strong> then your computer screen open the run dialog box you type in the run command (<strong>cmd</strong>) or click on okay.</p>
<p><img decoding="async" class="alignnone size-medium wp-image-250" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer6.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer6.jpg 453w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer6-300x181.jpg 300w" sizes="(max-width: 453px) 85vw, 453px" /></p>
<p><strong>Step 8:</strong><br />
We can confirm the composer installation by running <code class="code-class">composer</code> in the terminal or git bash. This command lists information and available commands in Composer.</p>
<p><img decoding="async" class="alignnone size-medium wp-image-251" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer7.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer7.jpg 800w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer7-300x163.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer7-768x418.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<p>&nbsp;</p>
<p>You see the above output, the composer is setup successfully.</p>
<p><strong>Step 9:</strong></p>
<h5>Install Laravel</h5>
<p>To install Laravel, we can <strong>Download the Laravel installer globally</strong>. Run it from any location:</p>
<pre class=" language-bash"><code class=" language-bash">composer global require <span class="token string">"laravel/installer"</span></code></pre>
<p>Once this completes, optionally, you can go to <code class="code-class">C:\xampp\htdocs\laravel</code>namespace and create a new folder to keep your Laravel projects aligned.</p>
<p>And from that specific folder, open a terminal and run:</p>
<pre class=" language-bash"><code class=" language-bash">laravel new project-name</code></pre>
<p>Alternatively, you may also install Laravel by issuing the Composer <code class=" language-php">create<span class="token operator">-</span>project</code> command in your terminal:</p>
<pre class=" language-php"><code class=" language-php">composer create<span class="token operator">-</span>project <span class="token operator">--</span>prefer<span class="token operator">-</span>dist laravel<span class="token operator">/<code class=" language-bash">project-name</code></span></code></pre>
<p><img decoding="async" class="alignnone size-medium wp-image-252" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer8.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer8.jpg 900w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer8-300x162.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer8-768x416.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></p>
<p>&nbsp;</p>
<p>Optionally, you can also <strong>create Laravel project via composer</strong>:</p>
<pre class=" language-bash"><code class=" language-bash">composer create-project --prefer-dist laravel/laravel firstProject</code></pre>
<p>And here’s the Laravel project directory schema.</p>
<p><img decoding="async" class="alignnone size-medium wp-image-253" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer9.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer9.jpg 640w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer9-300x146.jpg 300w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></p>
<h4><strong>Step 10:</strong></h4>
<h4>How can you Run Laravel Projects</h4>
<p>Make sure that <strong>Apache and MySQL</strong> are running in <strong>Xampp Control Panel</strong>. You can run Laravel projects in various ways. Let us discuss them:<br />
<strong>1. Artisan command</strong><br />
The most arbitrary way to run Laravel projects is with <strong>artisan command</strong>. Artisan is Laravel’s inbuilt <strong>command directory</strong>.</p>
<pre class=" language-bash"><code class=" language-bash">php artisan serve</code></pre>
<p><img decoding="async" class="alignnone size-medium wp-image-254" src="https://codeplaners.com/wp-content/uploads/2020/10/install-composer10.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/install-composer10.jpg 1000w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer10-300x39.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/install-composer10-768x99.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></p>
<p>And then, open the following link in the browser:</p>
<pre class=" language-bash"><code class=" language-bash">http://127.0.0.1:8000</code></pre>
<p><img decoding="async" class="alignnone size-medium wp-image-255" src="https://codeplaners.com/wp-content/uploads/2020/10/laravel-run.jpg" alt="" width="100%" srcset="https://codeplaners.com/wp-content/uploads/2020/10/laravel-run.jpg 1000w, https://codeplaners.com/wp-content/uploads/2020/10/laravel-run-300x155.jpg 300w, https://codeplaners.com/wp-content/uploads/2020/10/laravel-run-768x396.jpg 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-install-laravel-xampp-on-windows/">How to install Laravel Xampp on (Windows)</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/how-to-install-laravel-xampp-on-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
