<?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>laravel project setup Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/laravel-project-setup/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/laravel-project-setup/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:33:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to Install Laravel and Create first View Page in Laravel ?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-install-laravel-and-create-first-view-page-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-install-laravel-and-create-first-view-page-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 06 Jul 2021 11:03:33 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[crud operation in laravel]]></category>
		<category><![CDATA[Laravel beginners]]></category>
		<category><![CDATA[laravel project setup]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6676</guid>

					<description><![CDATA[<p>In this tutorial im going to describe how to install laravel project and create first view pages, so follow some [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-laravel-and-create-first-view-page-in-laravel/">How to Install Laravel and Create first View Page in Laravel ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/1200/1*A42wBEcxc4L46-DO2cancg.jpeg" alt=""/></figure>



<p class="wp-block-paragraph" id="661f">In this tutorial im going to describe how to install laravel project and create first view pages, so follow some easy steps define below.</p>



<h1 class="wp-block-heading" id="cd8b">First let’s go to install laravel project</h1>



<pre class="wp-block-preformatted">composer create-project laravel/laravel learning-project "5.8.*"</pre>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><em>lets go to&nbsp;</em><strong><em>.env folder</em></strong><em>&nbsp;and put database name and connect to database.</em></p></blockquote>



<pre class="wp-block-preformatted">DB_CONNECTION=mysql<br>DB_HOST=127.0.0.1<br>DB_PORT=3306<br>DB_DATABASE=learning-project<br>DB_USERNAME=root<br>DB_PASSWORD=</pre>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/700/1*iXRjngBRGaYs5_7kRwSqcQ.png" alt=""/></figure>



<h1 class="wp-block-heading" id="be24">Now migrate the table</h1>



<pre class="wp-block-preformatted">php artisan migrate</pre>



<p class="wp-block-paragraph" id="c540">Now Open your project and go to Resouces/view folder and create folllowing files</p>



<pre class="wp-block-preformatted">create.blade.php<br>dashboard.blade.php<br>home.blade.php<br>blog.blade.php</pre>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/686/1*IurixvE_OL9vn5ki_yEqvA.png" alt=""/></figure>



<p class="wp-block-paragraph" id="72ed">Go to create.blade.php and paste below code</p>



<pre class="wp-block-preformatted">&lt;h1&gt;this is create pages&lt;/h1&gt;</pre>



<p class="wp-block-paragraph" id="a62d">Next go to dashboard.blade.php and paste below code</p>



<pre class="wp-block-preformatted">&lt;h1&gt;this is dashboard pages&lt;/h1&gt;</pre>



<p class="wp-block-paragraph" id="f2b2">Now create blog.blade.php file and paste below lines.</p>



<pre class="wp-block-preformatted">&lt;h1&gt;this is blog pages&lt;/h1&gt;</pre>



<p class="wp-block-paragraph" id="6870">Next go to Route/web.php and add below line</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><em>Go to Route/web.php</em></p></blockquote>



<pre class="wp-block-preformatted">&lt;?php<br><br>/*<br>|--------------------------------------------------------------------------<br>| Web Routes<br>|--------------------------------------------------------------------------<br>|<br>| Here is where you can register web routes for your application. These<br>| routes are loaded by the RouteServiceProvider within a group which<br>| contains the "web" middleware group. Now create something great!<br>|<br>*/<br><br>Route::get('/', function () {<br>    return view('welcome');<br>});<br><br>Route::get('/dashboard', function (){<br>    return view('dashboard');<br>});<br><br>Route::get('/create', function (){<br>    return view('create');<br>});<br><br>Route::get('/blog', function (){<br>    return view('blog');<br>});</pre>



<p class="wp-block-paragraph" id="6c37">And last one serve below code in your terminal.</p>



<pre class="wp-block-preformatted">php artisan serve</pre>



<p class="wp-block-paragraph" id="3a7b">Copy below url and paste in your browser.</p>



<pre class="wp-block-preformatted"><a href="http://127.0.0.1:8000/blog">http://127.0.0.1:8000/blog</a></pre>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/700/1*-sXdphMWLTc4KtkfRoqg9g.png" alt=""/></figure>



<pre class="wp-block-preformatted"><a href="http://127.0.0.1:8000/blog">http://127.0.0.1:8000/c</a>reate</pre>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/700/1*zdWOoUT7lxSIh2I9xL5jEw.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/700/1*XSIz5QMu5nTwLgyC_a4iOg.png" alt=""/></figure>



<p class="wp-block-paragraph" id="620a">Thank i hope its helpfull for you. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f64f.png" alt="🙏" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f64f.png" alt="🙏" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f64f.png" alt="🙏" class="wp-smiley" style="height: 1em; max-height: 1em;" /><a href="https://laravelamit.medium.com/?source=post_sidebar--------------------------post_sidebar-----------">Amit Kumar</a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-laravel-and-create-first-view-page-in-laravel/">How to Install Laravel and Create first View Page in Laravel ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-install-laravel-and-create-first-view-page-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
