LoginSignup
0
0

More than 3 years have passed since last update.

str_random()が使用できなかった件

Posted at

環境

Laravel 7.3.1

経緯

ログイン機能実装する上でstr_random(10)を使用。
作成後エラーが発生。

下記のブログを参考。
https://oversealife.work/2019/09/11/laravel-6-helper/

composer require laravel/helpers

ヘルパーのライブラリをインストール。

str_random(10)

補足

Str::random(10)

でも使用できる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0