<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>am1tanaka</author_name>
  <author_url>https://blog.hatena.ne.jp/am1tanaka/</author_url>
  <blog_title>tanaka's Programming Memo</blog_title>
  <blog_url>https://am1tanaka.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>Sentinelで認証しようとしたところ、以下のようなエラーが発生しました。 Fatal error: Call to undefined function Illuminate\Support\random_bytes() in /Users/user/project/vendor/illuminate/support/Str.php on line 233原因を調べると、PHP5とPHP7の命令の違いのようです。それを解決するためのComposerパッケージをインストールすることで治りました。以下を、Composer.jsonの&quot;require&quot;に追加して、 composer update…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fam1tanaka.hatenablog.com%2Fentry%2F2016%2F03%2F17%2F125822&quot; title=&quot;Sentinel5.2以降でilluminate/support/Str.phpがrandom_bytesでエラー - tanaka&amp;#39;s Programming Memo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-17 12:58:22</published>
  <title>Sentinel5.2以降でilluminate/support/Str.phpがrandom_bytesでエラー</title>
  <type>rich</type>
  <url>https://am1tanaka.hatenablog.com/entry/2016/03/17/125822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
