<?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>dharmendra K, Author at scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/author/dharmendra/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/author/dharmendra/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 26 May 2021 11:55:40 +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 Manual filter table and search in ajax, laravel framework</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-manual-filter-table-and-search-in-ajax-laravel-framework/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-manual-filter-table-and-search-in-ajax-laravel-framework/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Wed, 26 May 2021 11:55:40 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[manual filter]]></category>
		<category><![CDATA[search]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5809</guid>

					<description><![CDATA[<p>Step 1: defied blade file input this code Step 2: defied blade file script part input this code Step 3: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-manual-filter-table-and-search-in-ajax-laravel-framework/">How to Manual filter table and search in ajax, laravel framework</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="380" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/search-1024x380.jpg" alt="" class="wp-image-6387" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/search-1024x380.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/search-300x111.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/search-768x285.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/search.jpg 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 1:</strong> defied blade file input this code</p>



<script src="https://gist.github.com/dharmu9898/73b81a37436c3a174b8836d0b80f29fe.js"></script>



<p class="wp-block-paragraph"><strong>Step 2:</strong> defied blade file script part input this code</p>



<script src="https://gist.github.com/dharmu9898/25885ae136ffd26f19a189f4c5d8bc10.js"></script>



<p class="wp-block-paragraph"><strong>Step 3:</strong> defied routes  file web.php part file input this code this is route</p>



<script src="https://gist.github.com/dharmu9898/cb41cc6b09281f2cd36f74ef78a7d1d9.js"></script>



<p class="wp-block-paragraph"><strong>Step 4:</strong> defied Controller file CategoryController part file input this code this is function</p>



<script src="https://gist.github.com/dharmu9898/4d8487656c22104221b036ab53f620d2.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-manual-filter-table-and-search-in-ajax-laravel-framework/">How to Manual filter table and search in ajax, laravel framework</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-manual-filter-table-and-search-in-ajax-laravel-framework/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Expected response code 250 but got code “530”, with message &#8220;530 5.7.1 Authentication required</title>
		<link>https://www.scmgalaxy.com/tutorials/expected-response-code-250-but-got-code-530-with-message-530-5-7-1-authentication-required/</link>
					<comments>https://www.scmgalaxy.com/tutorials/expected-response-code-250-but-got-code-530-with-message-530-5-7-1-authentication-required/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Mon, 24 May 2021 12:34:36 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[mailtrap in laravel]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6364</guid>

					<description><![CDATA[<p>I got stuck on this error I trying to configure SMTP mail on laravel here is my configuration on .env file This [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/expected-response-code-250-but-got-code-530-with-message-530-5-7-1-authentication-required/">Expected response code 250 but got code “530”, with message &#8220;530 5.7.1 Authentication required</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I got stuck on this error I trying to configure SMTP mail on <code>laravel</code></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="521" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/456-1024x521.jpg" alt="" class="wp-image-6365" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/456-1024x521.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/456-300x153.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/456-768x390.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/456.jpg 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">here is my configuration on <code>.env</code> file</p>



<figure class="wp-block-image size-large"><img decoding="async" width="385" height="142" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mailtrap.jpg" alt="" class="wp-image-6366" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mailtrap.jpg 385w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mailtrap-300x111.jpg 300w" sizes="(max-width: 385px) 100vw, 385px" /></figure>



<p class="wp-block-paragraph">This is Solved this Error</p>



<p class="wp-block-paragraph">your <code>mail.php</code> on config you declare host as <code>smtp.mailgun.org</code> and port is <code>587</code> while on env is different. you need to change your <code>mail.php</code> to</p>



<script src="https://gist.github.com/dharmu9898/9dc2136f28f4d5d9d8b916710f37b3f8.js"></script>



<p class="wp-block-paragraph">if you desire to use mailtrap.Then run this command</p>



php artisan config:cache



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="519" height="219" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/c-clear.jpg" alt="" class="wp-image-6367" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/c-clear.jpg 519w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/c-clear-300x127.jpg 300w" sizes="auto, (max-width: 519px) 100vw, 519px" /></figure>



<p class="wp-block-paragraph"><code>env()</code> helper makes the job and there is no need to change values in <code>mail.php</code>. Just ensure that all email settings in <code>.env</code> file are correct</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/expected-response-code-250-but-got-code-530-with-message-530-5-7-1-authentication-required/">Expected response code 250 but got code “530”, with message &#8220;530 5.7.1 Authentication required</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/expected-response-code-250-but-got-code-530-with-message-530-5-7-1-authentication-required/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Building an Admin Dashboard Layout With CSS and a Touch of JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/building-an-admin-dashboard-layout-with-css-and-a-touch-of-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/building-an-admin-dashboard-layout-with-css-and-a-touch-of-javascript/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Thu, 20 May 2021 12:48:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6247</guid>

					<description><![CDATA[<p>In this updated tutorial, we’ll create a responsive admin dashboard layout with CSS and a touch of JavaScript. To build [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/building-an-admin-dashboard-layout-with-css-and-a-touch-of-javascript/">Building an Admin Dashboard Layout With CSS and a Touch of JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="522" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-2-1024x522.jpg" alt="" class="wp-image-6287" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-2-1024x522.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-2-300x153.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-2-768x391.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-2.jpg 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">In this updated tutorial, we’ll create a responsive admin dashboard layout with CSS and a touch of JavaScript. To build it, we’ll borrow some ideas from the WordPress dashboard, such as its collapsible sidebar menu.</p>



<p class="wp-block-paragraph">Throughout the tutorial, we’ll face plenty of challenges, but ones that will give us good practice for enhancing our front-end skills.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="522" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-3-1024x522.jpg" alt="" class="wp-image-6288" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-3-1024x522.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-3-300x153.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-3-768x391.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database-3.jpg 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading">Header</h4>



<p class="wp-block-paragraph">Moving on with our admin dashboard layout, let’s look at&nbsp;the page header.&nbsp;</p>



<p class="wp-block-paragraph">Within it, we’ll define a&nbsp;<code>nav</code>&nbsp;element that will serve as the wrapper for the following elements:</p>



<ul class="wp-block-list"><li>The logo.</li><li>The&nbsp;<strong>Collapse</strong>&nbsp;button that will toggle the menu on mobile screens.</li><li>The menu itself. This will contain the menu links, two headings, a light/dark mode switch, and the collapse/expand button. It might be more semantically correct to have two individual menus and place the headings outside them, but you can approach things differently if you prefer.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="288" height="659" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/r-clear-1.jpg" alt="" class="wp-image-6289" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/r-clear-1.jpg 288w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/r-clear-1-131x300.jpg 131w" sizes="auto, (max-width: 288px) 100vw, 288px" /></figure>



<p class="wp-block-paragraph">The header structure With Code: </p>



<script src="https://gist.github.com/dharmu9898/fd0cfa0fadc33ce1ad3d8c49d4c9c83b.js"></script>



<h4 class="wp-block-heading">Define the Main Dashboard Styles</h4>



<p class="wp-block-paragraph">holidaylandmark\assets\dist\css\adminlte.min.css this file call </p>



<p class="wp-block-paragraph">holidaylandmark\assets\dist\css\adminlte.js this file call</p>



<p class="wp-block-paragraph">holidaylandmark\assets\dist\css\adminlte.min.css this file call</p>



<p class="wp-block-paragraph">holidaylandmark\assets\dist\css\adminlte.min.css this file call</p>



<p class="wp-block-paragraph">holidaylandmark\assets\dist\css\adminlte.min.css this file call</p>



<p class="wp-block-paragraph">holidaylandmark\assets\dist\css\adminlte.min.css this file call</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/building-an-admin-dashboard-layout-with-css-and-a-touch-of-javascript/">Building an Admin Dashboard Layout With CSS and a Touch of JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/building-an-admin-dashboard-layout-with-css-and-a-touch-of-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Laravel Passport Trying to get property &#8216;secret&#8217; of non-object</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/</link>
					<comments>https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Thu, 20 May 2021 12:47:02 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[get property]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[passport]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6304</guid>

					<description><![CDATA[<p>THIS IS FOR LARAVEL 8 AND LARAVEL/PASSPORT The first thing is to run the php artisan passport:install. Inside your database table oauth_clients, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/">Laravel Passport Trying to get property &#8216;secret&#8217; of non-object</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">THIS IS FOR LARAVEL 8 AND LARAVEL/PASSPORT</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="519" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-1024x519.jpg" alt="" class="wp-image-6305" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-1024x519.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-300x152.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2-768x389.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error2.jpg 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">The first thing is to run the <code>php artisan passport:install</code>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="544" height="203" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/268.jpg" alt="" class="wp-image-6310" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/268.jpg 544w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/268-300x112.jpg 300w" sizes="auto, (max-width: 544px) 100vw, 544px" /></figure>



<p class="wp-block-paragraph">Inside your database table <em><strong>oauth_clients</strong></em>, under column <em><strong>name</strong></em>, look for <em><strong>Laravel Personal Access Client</strong></em>.</p>



<p class="wp-block-paragraph">Copy the&nbsp;<em><strong>secret</strong></em>&nbsp;beside&nbsp;<code>Laravel Personal Access Client</code>.</p>



<p class="wp-block-paragraph">Open <code>AuthServiceProvider</code>, then paste the secret inside the <em><strong>boot</strong></em> method where the <code>CLIENT_SECRET</code> is below:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Passport::personalAccessClientSecret(config(&#039;CLIENT_SECRET&#039;));

</pre></div>


<p class="wp-block-paragraph">And don&#8217;t forget to also add the ID of the secret from your database.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Passport::personalAccessClientId(config(&#039;ID&#039;));
</pre></div>


<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="655" height="318" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2558.jpg" alt="" class="wp-image-6311" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2558.jpg 655w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2558-300x146.jpg 300w" sizes="auto, (max-width: 655px) 100vw, 655px" /></figure>



<p class="wp-block-paragraph">Use the quote along with the ID and CLIENT_SECRET as config() is expected to get a string.</p>



<p class="wp-block-paragraph">Now is solved this error</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/">Laravel Passport Trying to get property &#8216;secret&#8217; of non-object</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/laravel-passport-trying-to-get-property-secret-of-non-object/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>file_put_contents(C:\xampp\htdocs\exam_system\storage\framework/sessions/FF): failed to open stream: No such file or directory  =&gt; Soled this Error</title>
		<link>https://www.scmgalaxy.com/tutorials/file_put_contentscxampphtdocsexam_systemstorageframework-sessions-ff-failed-to-open-stream-no-such-file-or-directory-soled-this-error/</link>
					<comments>https://www.scmgalaxy.com/tutorials/file_put_contentscxampphtdocsexam_systemstorageframework-sessions-ff-failed-to-open-stream-no-such-file-or-directory-soled-this-error/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Thu, 13 May 2021 13:07:44 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[c:cache]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[r:clear]]></category>
		<category><![CDATA[v:clear]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6249</guid>

					<description><![CDATA[<p>Step 1: type your TERMINAL this Command composer update Step 2: type your TERMINAL this Command php artisan r:clear Step [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/file_put_contentscxampphtdocsexam_systemstorageframework-sessions-ff-failed-to-open-stream-no-such-file-or-directory-soled-this-error/">file_put_contents(C:\xampp\htdocs\exam_system\storage\framework/sessions/FF): failed to open stream: No such file or directory  =&gt; Soled this Error</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="527" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-14-1024x527.jpg" alt="" class="wp-image-6250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-14-1024x527.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-14-300x154.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-14-768x395.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-14.jpg 1361w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 1:</strong> type your TERMINAL this Command</p>



composer update



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="727" height="209" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/composer.jpg" alt="" class="wp-image-6251" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/composer.jpg 727w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/composer-300x86.jpg 300w" sizes="auto, (max-width: 727px) 100vw, 727px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2:</strong> type your TERMINAL this Command</p>



 php artisan r:clear



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="722" height="205" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/r-clear.jpg" alt="" class="wp-image-6252" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/r-clear.jpg 722w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/r-clear-300x85.jpg 300w" sizes="auto, (max-width: 722px) 100vw, 722px" /></figure>



<p class="wp-block-paragraph"><strong>Step 3:</strong> type your TERMINAL this Command</p>



php artisan v:clear



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="651" height="200" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/v-clear.jpg" alt="" class="wp-image-6253" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/v-clear.jpg 651w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/v-clear-300x92.jpg 300w" sizes="auto, (max-width: 651px) 100vw, 651px" /></figure>



<p class="wp-block-paragraph"><strong>Step 4:</strong> type your TERMINAL this Command</p>



php artisan c:Cache



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="518" height="189" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/c-cache.jpg" alt="" class="wp-image-6254" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/c-cache.jpg 518w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/c-cache-300x109.jpg 300w" sizes="auto, (max-width: 518px) 100vw, 518px" /></figure>



<p class="wp-block-paragraph"><strong>Now is your Project is Running</strong> </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/running-1024x486.jpg" alt="" class="wp-image-6255" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/running-1024x486.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/running-300x142.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/running-768x364.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/running.jpg 1362w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/file_put_contentscxampphtdocsexam_systemstorageframework-sessions-ff-failed-to-open-stream-no-such-file-or-directory-soled-this-error/">file_put_contents(C:\xampp\htdocs\exam_system\storage\framework/sessions/FF): failed to open stream: No such file or directory  =&gt; Soled this Error</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/file_put_contentscxampphtdocsexam_systemstorageframework-sessions-ff-failed-to-open-stream-no-such-file-or-directory-soled-this-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>JavaScript Cheat Sheet — JSON, Loops, and Promises</title>
		<link>https://www.scmgalaxy.com/tutorials/javascript-cheat-sheet%e2%80%8a-%e2%80%8ajson-loops-and-promises/</link>
					<comments>https://www.scmgalaxy.com/tutorials/javascript-cheat-sheet%e2%80%8a-%e2%80%8ajson-loops-and-promises/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Wed, 12 May 2021 15:20:55 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JavaScrip]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[Promises]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6226</guid>

					<description><![CDATA[<p>JavaScript is one of the most popular programming languages for web programming. In this article, we’ll look at the basic [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/javascript-cheat-sheet%e2%80%8a-%e2%80%8ajson-loops-and-promises/">JavaScript Cheat Sheet — JSON, Loops, and Promises</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">JavaScript is one of the most popular programming languages for web programming.</p>



<p class="wp-block-paragraph">In this article, we’ll look at the basic syntax of modern JavaScript</p>



<h3 class="wp-block-heading">JSON</h3>



<p class="wp-block-paragraph">We can create JSON strings from JavaScript objects with the <code>JSON.stringify</code> method:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="323" height="134" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-3.jpg" alt="" class="wp-image-6231" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-3.jpg 323w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-3-300x124.jpg 300w" sizes="auto, (max-width: 323px) 100vw, 323px" /></figure>



<p class="wp-block-paragraph">And we can convert JSON strings back to JavaScript objects with <strong><code>JSON.parse</code> :</strong></p>



const obj = JSON.parse(json);



<p class="wp-block-paragraph">We can use it to store data in local storage.</p>



<p class="wp-block-paragraph">We’ve to convert objects into strings first to store them.</p>



<p class="wp-block-paragraph">To store objects we call <strong><code>localStorage.setItem</code> :</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="365" height="158" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-4.jpg" alt="" class="wp-image-6232" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-4.jpg 365w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-4-300x130.jpg 300w" sizes="auto, (max-width: 365px) 100vw, 365px" /></figure>



<p class="wp-block-paragraph">The first argument is the key.</p>



<p class="wp-block-paragraph">And we can get data by their keys with <strong><code>getItem</code> :</strong></p>



localStorage.getItem(&#8216;json&#8217;)



<h3 class="wp-block-heading">Loops</h3>



<p class="wp-block-paragraph">avaScript comes with various kinds of loops.</p>



<p class="wp-block-paragraph">One kind of loop is the <strong><code>for</code> </strong>loop<strong>:</strong></p>



for (let i = 0; i < 10; i++) {
  console.log(i);
}



<p class="wp-block-paragraph">We can loop through any kind of iterable object with the <code><strong>for-of</strong></code> loop:</p>



for (let i of custOrder) {
  console.log(i);
}



<p class="wp-block-paragraph">Some iterable objects include arrays, strings, and node lists.</p>



<p class="wp-block-paragraph">Another kind of loop is the <code><strong>while</strong></code> loop:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="244" height="121" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-5.jpg" alt="" class="wp-image-6233"/></figure>



<p class="wp-block-paragraph">There’s also the <code><strong>do-while</strong></code> loop:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="281" height="135" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-6.jpg" alt="" class="wp-image-6234"/></figure>



<p class="wp-block-paragraph">The <code><strong>break</strong></code> keyword lets us end the loop early:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="340" height="148" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-7.jpg" alt="" class="wp-image-6235" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-7.jpg 340w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-7-300x131.jpg 300w" sizes="auto, (max-width: 340px) 100vw, 340px" /></figure>



<p class="wp-block-paragraph">The <strong><code>continue</code> </strong>keyword lets us skip to the next iteration:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="360" height="144" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-8.jpg" alt="" class="wp-image-6236" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-8.jpg 360w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-8-300x120.jpg 300w" sizes="auto, (max-width: 360px) 100vw, 360px" /></figure>



<h3 class="wp-block-heading">Data Types</h3>



<p class="wp-block-paragraph">JavaScript comes with various data types.</p>



<p class="wp-block-paragraph">They include:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="538" height="184" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-10.jpg" alt="" class="wp-image-6239" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-10.jpg 538w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-10-300x103.jpg 300w" sizes="auto, (max-width: 538px) 100vw, 538px" /></figure>



<h3 class="wp-block-heading">Objects</h3>



<p class="wp-block-paragraph">We can create an object with curly braces:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="461" height="179" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-11.jpg" alt="" class="wp-image-6240" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-11.jpg 461w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-11-300x116.jpg 300w" sizes="auto, (max-width: 461px) 100vw, 461px" /></figure>



<p class="wp-block-paragraph">It has properties and methods.</p>



<p class="wp-block-paragraph"><strong><code>this</code> </strong>is the <code><strong>student</strong></code> object itself.</p>



<p class="wp-block-paragraph">We can call <code><strong>fullName</strong></code> with <strong><code>student.fullName()</code> .</strong></p>



<p class="wp-block-paragraph">And we can assign values to properties with:</p>



student.age = 19;



<h3 class="wp-block-heading">Promises</h3>



<p class="wp-block-paragraph">We can create promises with the <code><strong>Promise</strong></code> constructor:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="605" height="212" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-12.jpg" alt="" class="wp-image-6241" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-12.jpg 605w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-12-300x105.jpg 300w" sizes="auto, (max-width: 605px) 100vw, 605px" /></figure>



<p class="wp-block-paragraph">We can <strong><code>resolve</code> </strong>to fulfill the promise with the sum.</p>



<p class="wp-block-paragraph">And we call <code><strong>reject</strong></code> to reject the promise with an error.</p>



<p class="wp-block-paragraph">Then we can call <code><strong>then</strong></code> to get the resolved value and <code><strong>catch</strong></code> to get the error values:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="286" height="149" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-13.jpg" alt="" class="wp-image-6242"/></figure>



<h3 class="wp-block-heading">Conclusion</h3>



<p class="wp-block-paragraph">We can work with JSON, local storage, promises, and loops with JavaScript.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/javascript-cheat-sheet%e2%80%8a-%e2%80%8ajson-loops-and-promises/">JavaScript Cheat Sheet — JSON, Loops, and Promises</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/javascript-cheat-sheet%e2%80%8a-%e2%80%8ajson-loops-and-promises/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CRUD Operations in Laravel using ajax</title>
		<link>https://www.scmgalaxy.com/tutorials/crud-operations-in-laravel-using-ajax/</link>
					<comments>https://www.scmgalaxy.com/tutorials/crud-operations-in-laravel-using-ajax/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Tue, 11 May 2021 16:34:09 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[crud]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[modal]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6182</guid>

					<description><![CDATA[<p>Step 1 &#8211; Install Laravel 5.8 First we want to Download Laravel 5.8 version for developing Crud application using Ajax. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operations-in-laravel-using-ajax/">CRUD Operations in Laravel using ajax</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Step 1</strong> &#8211; Install Laravel 5.8</p>



<p class="wp-block-paragraph">First we want to Download Laravel 5.8 version for developing Crud application using Ajax. For this you have to open your terminal or command prompt and write below command. It will download Laravel 5.8 in your define directory.</p>



composer create-project laravel/laravel=5.8 ajax-crud &#8211;prefer-dist



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="743" height="122" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25.jpg" alt="" class="wp-image-6183" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25.jpg 743w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-300x49.jpg 300w" sizes="auto, (max-width: 743px) 100vw, 743px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2</strong> &#8211; Laravel 5.8 Database Connection</p>



<p class="wp-block-paragraph">Once Laravel 5.8 has been downloaded then after we have to make Database connection. For this first you have to open <strong>config/database.php</strong> and define Mysql Database configuration.</p>



<script src="https://gist.github.com/dharmu9898/a76d548c8ab44393cc6e01f6e7c4bce0.js"></script>



<p class="wp-block-paragraph">After this you have to open <strong>.env</strong> file and in that file also you have to define Mysql Database configuration, which you can find below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="301" height="133" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/25-1.jpg" alt="" class="wp-image-6184"/></figure>



<p class="wp-block-paragraph"><strong>Step 3</strong> &#8211; Create Table</p>



<p class="wp-block-paragraph">For Create Crud Application, first we have to create Mysql table. For create Mysql table from Laravel 5.8 application we have to write following artisan command in your command prompt.</p>



php artisan make:migration create_ajax_cruds_table &#8211;create=ajax_cruds



<p class="wp-block-paragraph">Above command will command create migration file in <strong>database/migrations</strong> folder. In that file we have to define table column which you want to define in Mysql table. Below you can find source code of migration file.</p>



<script src="https://gist.github.com/dharmu9898/0a7e2ea0a775da52337a1c494b32ea78.js"></script>



<p class="wp-block-paragraph">Lastly for create Mysql table in your Database, you have to write following command in your terminal or command prompt. It will create <strong>ajax_cruds</strong> table in your define Database.</p>



php artisan migrate



<p class="wp-block-paragraph"><strong>Step 4</strong> &#8211; Create Model in Laravel 5.8</p>



<p class="wp-block-paragraph">Now we want to make Model in Laravel 5.8, For this you have to write following command in your terminal or command prompt. It will create model file here <strong>app/AjaxCrud.php</strong>.</p>



php artisan make:model AjaxCrud -m



<p class="wp-block-paragraph">Under this <strong>app/AjaxCrud.php</strong> file, you have to define table column for database operation which source code you can find below.</p>



<script src="https://gist.github.com/dharmu9898/556f38ce8a7ca5b2a556dc5d990c4e77.js"></script>



<p class="wp-block-paragraph"><strong>Step 5</strong> &#8211; Create Blades Files</p>



<p class="wp-block-paragraph">For display output data in browser, in Laravel 5.8 we have to create blade file in <strong>resources/views</strong> folder. Under this folder we have create <strong>ajax_index.blade.php</strong> file. In this file you can find HTML code and jQuery code for display data in jQuery Datatable.</p>



<script src="https://gist.github.com/dharmu9898/3968e27ea73fbabcd031bac639b948c2.js"></script>



<p class="wp-block-paragraph"><strong>Step 6</strong> &#8211; Set Resource Route</p>



<script src="https://gist.github.com/dharmu9898/9f54ca5c26e15cf6d0be57361f50f2fd.js"></script>



<p class="wp-block-paragraph"><strong>Step</strong> 7 &#8211; Create Controller in Laravel 5.8</p>



<p class="wp-block-paragraph">Lastly, We need to set resource route for ajax crud application. For this we have to open <strong>routes/web.php</strong> file.</p>



<p class="wp-block-paragraph">Controller mostly used for handle HTTP request. Create new controller in Laravel 5.8 framework, we have to write following command.</p>



php artisan make:controller AjaxCrudController &#8211;resource



<p class="wp-block-paragraph">This command will create&nbsp;<strong>AjaxCrudController.php</strong>&nbsp;file in&nbsp;<strong>app/Http/Controllers</strong>&nbsp;folder. In this controller file you can find all in build required method for do Crud operation. Under this controller for use AjaxCrud model, first we have to define&nbsp;<strong>use App\AjaxCrud;</strong>&nbsp;this statement at the header of the AjaxCrudController.php file.</p>



<p class="wp-block-paragraph"><strong>index() &#8211;&nbsp;</strong>This is the root method of this controller. This method will received Ajax request for load data in jQuery DataTables plugin. If this method received ajax request then it will load data in jQuery DataTables plugin. In this ajax block you can find yajra datatables package code.</p>



<p class="wp-block-paragraph"><strong>store() &#8211;&nbsp;</strong>For Insert Data into Mysql table using ajax in Laravel 5.8, here we have use store() method of&nbsp;<strong>AjaxCrudController.php</strong>. This method will received Ajax request for insert or add data. Under this method first it has validate for data. If there is any validation fails then it will send response to ajax request in JSON format. But there is no any validation fails then it will continue execution of code and first it will upload profile image of user and then after it will insert data into mysql table. And lastly it will send json response to ajax request.</p>



<p class="wp-block-paragraph"><strong>edit() &#8211;&nbsp;</strong>This method is used for fetch single row of data from mysql table, and send data to ajax request in json formate which will be display under Bootstrap modal form.</p>



<p class="wp-block-paragraph"><strong>update() &#8211; </strong>This method has received ajax request for update existing mysql table data. In this method first it check user has select profile image or not. If User is select image then in this method it will validate form data with selected file is image or not. But Suppose user has not select image then it will only validate textbox data only. If there is any validation error occur then it will send data to ajax request in json formate. After successfully validate form data then it will update data.</p>



<p class="wp-block-paragraph"><strong>destroy() &#8211; </strong>For delete or remove mysql data, ajax request will be send to destroy() method. It will delete or remove mysql data in Laravel 5.8 by using ajax.</p>



<script src="https://gist.github.com/dharmu9898/9df68fedb88e7746a26e1ad4494304d1.js"></script>



<p class="wp-block-paragraph">For run Laravel 5.8 application, you can write following command.</p>



php artisan serve




<p class="wp-block-paragraph">For see Laravel 5.8 application in your browser, you have to write following url.</p>



http://localhost:8000/ajax-crud
<p>The post <a href="https://www.scmgalaxy.com/tutorials/crud-operations-in-laravel-using-ajax/">CRUD Operations in Laravel using ajax</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/crud-operations-in-laravel-using-ajax/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to fetch data from multiple tables in laravel</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-fetch-data-from-multiple-tables-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-fetch-data-from-multiple-tables-in-laravel/#comments</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Sat, 01 May 2021 17:21:33 +0000</pubDate>
				<category><![CDATA[datatables]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6057</guid>

					<description><![CDATA[<p>Step 1: Download Laravel Framework For download fresh copy of Laravel framework, so first we have to into command prompt [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fetch-data-from-multiple-tables-in-laravel/">How to fetch data from multiple tables in laravel</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Step 1:</strong> <strong>Download Laravel Framework</strong></p>



<p class="wp-block-paragraph">For download fresh copy of Laravel framework, so first we have to into command prompt and run following command. This command will make <strong>join_table</strong> directory and under that directory it will download Laravel framework latest version.</p>



<pre class="wp-block-code"><code>composer create-project --prefer-dist laravel/laravel join_table "5.8.*"</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="742" height="87" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/join-table.jpg" alt="" class="wp-image-6059" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/join-table.jpg 742w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/join-table-300x35.jpg 300w" sizes="auto, (max-width: 742px) 100vw, 742px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2:</strong> <strong><strong>Make Database connection</strong></strong></p>



<p class="wp-block-paragraph">After download and install Laravel framework and after this we want to make first database connection. So for make database connection, we have to open <strong>.env</strong> file and under this file, we have to define mysql database configuration. So it will create database connection in Laravel framework.</p>



<pre class="wp-block-code"><code>DB_DATABASE=testing
DB_USERNAME=root</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="298" height="140" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/database.jpg" alt="" class="wp-image-6061"/></figure>



<p class="wp-block-paragraph"><strong>Step3:</strong> <strong><strong>S</strong></strong>ql file import</p>



<p class="wp-block-paragraph">Once you have make database connection, then after we have to make table in mysql database. So for this you have to run following sql script in your local database, so it will create table in your define mysql database.</p>



<script src="https://gist.github.com/dharmu9898/a1dc5f1d95690a118ac762cbc6776cd4.js"></script>



<p class="wp-block-paragraph"><strong>Step3:</strong> <strong>Create Model Class</strong></p>



<p class="wp-block-paragraph">In Laravel framework, we have to create model class for database related operation. So for create model classe using compost, we have go to command prompt and run following command, this command will make model class file with name <strong>Country.php</strong> under <strong>app/Models</strong> folder.</p>



<pre class="wp-block-code"><code>php artisan make:model Country</code></pre>



<p class="wp-block-paragraph">After create model class, we have to open that file and under that file we have to define mysql table name details and column details.</p>



<script src="https://gist.github.com/dharmu9898/17bec28451a21a38304ae4531a3808a6.js"></script>



<p class="wp-block-paragraph"><strong>Step4:<strong>Create Controller Class</strong></strong></p>



<p class="wp-block-paragraph">Under this Laravel framework, for handle HTTP request we have to create controller class. So for create controller using compost, we have go to command prompt and run following command.</p>



<pre class="wp-block-code"><code>php artisan make:controller JointableController</code></pre>



<p class="wp-block-paragraph">Once your controller class has been create then for open that file, we have go to <strong>app/Http/Controllers/JointableController.php</strong> file and under this file you have write following code for join multiple table using eloquent model and fetch data from multiple table in single query execution.</p>



<script src="https://gist.github.com/dharmu9898/31badcf17904243868c7c25e2c59ae96.js"></script>



<p class="wp-block-paragraph"><strong>Step4:</strong> <strong>Create View Blade file</strong></p>



<p class="wp-block-paragraph">For display HTML output in browser, so we have to create view blade file in Laravel framework. In Laravel framework view blade file has been store under <strong>resources/views</strong> folder. Under this file, we have create <strong>join_table.blade.php</strong> file. Under this file, it will received data from controller class file. You can find source code of this view blade file in below.</p>



<script src="https://gist.github.com/dharmu9898/c4d93855b8663a46be2ad8c73ae79965.js"></script>



<p class="wp-block-paragraph"><strong>Step 5: Set Route</strong></p>



<p class="wp-block-paragraph">Under this Laravel framework, we have to set route of the controller method. For set route in Laravel 8 framework, we have to open <strong>routes/web.php</strong> file. In Laravel 8 framework for set route, we have to first import our controller class under this <strong>web.php</strong> file. And for set route you can find source code below.</p>



<script src="https://gist.github.com/dharmu9898/3fb54f51a2c683d982aec6ea34eb1a2d.js"></script>



<p class="wp-block-paragraph"><strong>Step 6:</strong> <strong>Run Laravel Server</strong></p>



<p class="wp-block-paragraph">After follow all above steps now all are set now we want to run Laravel application in browser. So for this, we have to go command prompt and run following command.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan serve

</pre></div>


<p class="wp-block-paragraph">Once you have run above command so after run this command it will provide us base url of our Laravel application. So for check above script output, we have to hit following url in browser.</p>



http://127.0.0.1/join_table



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fetch-data-from-multiple-tables-in-laravel/">How to fetch data from multiple tables 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-fetch-data-from-multiple-tables-in-laravel/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix fatal error: Maximum execution time of 300 seconds exceeded in XAMPP</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded-in-xampp/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded-in-xampp/#respond</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Sat, 01 May 2021 12:41:25 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[xampp]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6029</guid>

					<description><![CDATA[<p>Step1: Go to this path C:\xampp\phpMyAdmin\libraries Step2: open file config.default.php Step3: config.default.php on this line $cfg[&#8216;ExecTimeLimit&#8217;] = 300; change Step4: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded-in-xampp/">How to fix fatal error: Maximum execution time of 300 seconds exceeded in XAMPP</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="141" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error-1024x141.jpg" alt="" class="wp-image-6030" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error-1024x141.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error-300x41.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error-768x105.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/error.jpg 1355w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step1</strong>: Go to this path <strong>C:\xampp\phpMyAdmin\libraries</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="233" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-1024x233.jpg" alt="" class="wp-image-6031" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-1024x233.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-300x68.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-768x175.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2.jpg 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step2</strong>: open file <strong>config.default.php</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="233" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-1-1024x233.jpg" alt="" class="wp-image-6032" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-1-1024x233.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-1-300x68.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-1-768x175.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-1.jpg 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step3</strong>: <strong>config.default.php</strong> on this line <strong>$cfg[&#8216;ExecTimeLimit&#8217;] = 300;</strong> change</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="675" height="205" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-2.jpg" alt="" class="wp-image-6033" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-2.jpg 675w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-2-300x91.jpg 300w" sizes="auto, (max-width: 675px) 100vw, 675px" /></figure>



<p class="wp-block-paragraph"><strong>Step4</strong>: <strong>config.default.php</strong> on this line <strong>$cfg[&#8216;ExecTimeLimit&#8217;] = 0;</strong> change</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="694" height="215" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-3.jpg" alt="" class="wp-image-6034" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-3.jpg 694w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/2-3-300x93.jpg 300w" sizes="auto, (max-width: 694px) 100vw, 694px" /></figure>



<p class="wp-block-paragraph" id="database,"><strong>Step5</strong>: <strong>XAMPP</strong> Will be Restart and  <strong>Import</strong> the <strong>Sql</strong> file.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded-in-xampp/">How to fix fatal error: Maximum execution time of 300 seconds exceeded in XAMPP</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-fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded-in-xampp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to create new microservices in Laravel framework</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-create-new-microservices-in-laravel-framework/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-create-new-microservices-in-laravel-framework/#comments</comments>
		
		<dc:creator><![CDATA[dharmendra K]]></dc:creator>
		<pubDate>Mon, 12 Apr 2021 07:45:11 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5810</guid>

					<description><![CDATA[<p>Step1-&#160;Open command prompt or Git Bash on xampp/htdocs directory Step2-&#160;Create Laravel New Project write this command composer create-project &#8211;prefer-dist laravel/laravel [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-new-microservices-in-laravel-framework/">How to create new microservices in Laravel framework</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Step1-&nbsp;</strong>Open command prompt or Git Bash on xampp/htdocs directory</p>



<figure class="wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" decoding="async" width="898" height="392" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/githhere-1.jpg" alt="" data-id="5812" data-full-url="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/githhere-1.jpg" data-link="https://www.scmgalaxy.com/tutorials/?attachment_id=5812" class="wp-image-5812" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/githhere-1.jpg 898w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/githhere-1-300x131.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/githhere-1-768x335.jpg 768w" sizes="auto, (max-width: 898px) 100vw, 898px" /></figure></li></ul></figure>



<p class="wp-block-paragraph"><strong>Step2-</strong>&nbsp;Create Laravel New Project write this command</p>



composer create-project &#8211;prefer-dist laravel/laravel scmgalaxy &#8220;5.5.*&#8221;



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="806" height="454" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/1.jpg" alt="" class="wp-image-5813" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/1.jpg 806w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/1-300x169.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/1-768x433.jpg 768w" sizes="auto, (max-width: 806px) 100vw, 806px" /></figure>



<p class="wp-block-paragraph"><strong>Step3-</strong>&nbsp;Move to project directory on git bash</p>



cd scmgalaxy



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="903" height="601" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/2.jpg" alt="" class="wp-image-5814" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/2.jpg 903w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/2-300x200.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/2-768x511.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/2-392x260.jpg 392w" sizes="auto, (max-width: 903px) 100vw, 903px" /></figure>



<p class="wp-block-paragraph"><strong>Step4-</strong> Project directory on git bash on this command </p>



<pre class="wp-block-code"><code>composer require laravel/passport</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="745" height="442" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/3.jpg" alt="" class="wp-image-5817" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/3.jpg 745w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/3-300x178.jpg 300w" sizes="auto, (max-width: 745px) 100vw, 745px" /></figure>



<p class="wp-block-paragraph"><strong>Step5-</strong> Create Database in Mysql Server</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="393" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/6-1024x393.jpg" alt="" class="wp-image-5841" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/6-1024x393.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/6-300x115.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/6-768x295.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/6.jpg 1201w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step5-</strong>&nbsp;Set Mysql Server Username ,Password and Database Name in<strong>&nbsp;.env</strong>&nbsp;file</p>



DB_DATABASE=microservices
DB_USERNAME=root
DB_PASSWORD=



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="853" height="467" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/7.jpg" alt="" class="wp-image-5844" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/7.jpg 853w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/7-300x164.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/7-768x420.jpg 768w" sizes="auto, (max-width: 853px) 100vw, 853px" /></figure>



<p class="wp-block-paragraph"><strong>Step6-</strong>scmgalaxy\app\user.php&nbsp;add in user model this code </p>



use Laravel\Passport\HasApiTokens;
use HasApiTokens, Notifiable;



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="869" height="524" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8.jpg" alt="" class="wp-image-5845" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8.jpg 869w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-300x181.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-768x463.jpg 768w" sizes="auto, (max-width: 869px) 100vw, 869px" /></figure>



<p class="wp-block-paragraph"><strong>Step8-</strong>&nbsp;scmgalaxy\app\Providers\AppServiceProvider add  in this code</p>



use Laravel\Passport\Passport;



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="488" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-1.jpg" alt="" class="wp-image-5847" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-1.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-1-300x143.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-1-768x366.jpg 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step8-</strong> <strong>config\auth.php</strong> add in this code</p>



&#8216;api&#8217; =&gt; [
            &#8216;driver&#8217; =&gt; &#8216;passport&#8217;,
            &#8216;provider&#8217; =&gt; &#8216;users&#8217;,
        ],



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="635" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-2-1024x635.jpg" alt="" class="wp-image-5848" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-2-1024x635.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-2-300x186.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-2-768x476.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-2.jpg 1056w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step9- scmgalaxy\app\Http\Kernel.php</strong> add this code</p>



&#8216;client_credentials&#8217; =&gt; \Laravel\Passport\Http\Middleware\CheckClientCredentials::class,



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="366" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-3-1024x366.jpg" alt="" class="wp-image-5849" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-3-1024x366.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-3-300x107.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-3-768x275.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-3.jpg 1213w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step9- scmgalaxy\<strong>config\app.php</strong></strong> add this code </p>



Laravel\Passport\PassportServiceProvider::class,



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="500" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-4-1024x500.jpg" alt="" class="wp-image-5851" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-4-1024x500.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-4-300x146.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-4-768x375.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-4.jpg 1027w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step10-</strong> Project directory on git bash on this command</p>



composer update



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="741" height="443" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-5.jpg" alt="" class="wp-image-5853" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-5.jpg 741w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-5-300x179.jpg 300w" sizes="auto, (max-width: 741px) 100vw, 741px" /></figure>



<p class="wp-block-paragraph"><strong>Step11-</strong> Project directory on git bash on this command</p>



php artisan make:auth



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="735" height="180" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-6.jpg" alt="" class="wp-image-5854" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-6.jpg 735w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-6-300x73.jpg 300w" sizes="auto, (max-width: 735px) 100vw, 735px" /></figure>



<p class="wp-block-paragraph"><strong>Step12-</strong> Project directory on git bash on this command</p>



php artisan migrate



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="734" height="438" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-7.jpg" alt="" class="wp-image-5855" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-7.jpg 734w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-7-300x179.jpg 300w" sizes="auto, (max-width: 734px) 100vw, 734px" /></figure>



<p class="wp-block-paragraph"><strong>Step13-</strong> Project directory on git bash on this command</p>



php artisan passport:install



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="742" height="314" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-8.jpg" alt="" class="wp-image-5857" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-8.jpg 742w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/8-8-300x127.jpg 300w" sizes="auto, (max-width: 742px) 100vw, 742px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-new-microservices-in-laravel-framework/">How to create new microservices in Laravel framework</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-create-new-microservices-in-laravel-framework/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
