<?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>App Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/app/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/app/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:33:33 +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>Class ‘App\Http\Controllers\Student’ not found</title>
		<link>https://www.scmgalaxy.com/tutorials/class-apphttpcontrollersstudent-not-found/</link>
					<comments>https://www.scmgalaxy.com/tutorials/class-apphttpcontrollersstudent-not-found/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Thu, 15 Apr 2021 12:42:21 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[App]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[Php]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5885</guid>

					<description><![CDATA[<p>In this tutorial I’m going to describe how to solve “Class ‘App\Http\Controllers\Student’ not found” if you got this types of [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/class-apphttpcontrollersstudent-not-found/">Class ‘App\Http\Controllers\Student’ not found</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph" id="a1b5">In this tutorial I’m going to describe how to solve “Class ‘App\Http\Controllers\Student’ not found” if you got this types of error please follow some easy steps</p>



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



<p class="wp-block-paragraph" id="cf9b">1step this types of error is showing when you’re not using class name whatever you have define below code as like :-</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>public function index()<br>{<br>$students = Student::all();</p><p>return view(‘students.dashboard’,compact(‘student’));<br>}</p></blockquote>



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



<p class="wp-block-paragraph" id="b958"><strong>2nd you have to add your model name above of the StudenController class name</strong></p>



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



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>3rd step got your Controller :-&nbsp;<strong>StudentController.php</strong></p></blockquote>



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



<p class="wp-block-paragraph" id="4e54">And add model name in the Student Controller class here as like this</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>use App\Student;</p></blockquote>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="448" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/controller-not-found-1024x448.png" alt="" class="wp-image-5887" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/controller-not-found-1024x448.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/controller-not-found-300x131.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/controller-not-found-768x336.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/controller-not-found.png 1051w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="bd75">Then refresh your browser and you got solve your errors.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><a href="http://127.0.0.1:8000/">http://127.0.0.1:8000/</a></p></blockquote>



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



<p class="wp-block-paragraph" id="dac5">Thanks hopefully it will helpful for you. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f44d.png" alt="👍" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f44d.png" alt="👍" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/class-apphttpcontrollersstudent-not-found/">Class ‘App\Http\Controllers\Student’ not found</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/class-apphttpcontrollersstudent-not-found/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
