﻿<?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  |  Web Creators Hub</title>
	<atom:link href="https://web-creators-hub.com/category/php/laravel/feed/" rel="self" type="application/rss+xml" />
	<link>https://web-creators-hub.com</link>
	<description>WEB技術などの情報をわかりやすく配信するメディア</description>
	<lastBuildDate>Wed, 08 Feb 2023 01:56:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.8.2</generator>
	<item>
		<title>Laravel7から8 Target class [bindings] does not exist.</title>
		<link>https://web-creators-hub.com/php/laravel8-error-bindings/</link>
		<pubDate>Wed, 28 Dec 2022 06:24:06 +0000</pubDate>
		<dc:creator><![CDATA[taizo]]></dc:creator>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">https://web-creators-hub.com/?p=749</guid>
		<description><![CDATA[kernel.phpをLaravel7のソース8にコピペしたときに出たエラー。 エラーの原因 kernel.php Laravel7の場合 ...]]></description>
				<content:encoded><![CDATA[<p>kernel.phpをLaravel7のソース8にコピペしたときに出たエラー。</p>
<h2>エラーの原因</h2>
<p>kernel.php</p>
<p>Laravel7の場合</p>
<pre class="brush: bash; title: ; notranslate">
        'stateful_api' =&gt; [
            \App\Http\Middleware\EncryptCookies::class,
            \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
            \Illuminate\Session\Middleware\StartSession::class,
            \Illuminate\View\Middleware\ShareErrorsFromSession::class,
            'throttle:60,1',
            'bindings',
        ],
</pre>
<p>Laravel8の場合<br />
bindingsクラスをフルパスで記入する必要がある。<br />
bindings →  \Illuminate\Routing\Middleware\SubstituteBindings::class</p>
<pre class="brush: bash; title: ; notranslate">
        'stateful_api' =&gt; [
            \App\Http\Middleware\EncryptCookies::class,
            \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
            \Illuminate\Session\Middleware\StartSession::class,
            \Illuminate\View\Middleware\ShareErrorsFromSession::class,
            'throttle:60,1',
            \Illuminate\Routing\Middleware\SubstituteBindings::class,
        ],
</pre>
]]></content:encoded>
			</item>
	</channel>
</rss>
