私はGitHubのLinkからzizac /おまかせインストールのチュートリアルに続いてエラーに直面している:laravel 5.2での修正方法zizacoの委託:移行クラス名の検証?
Class name must be a valid object or a string in var/www/html/laravel_test/vendor/zizaco/entrust/src/commands/MigrationCommand.php on line 86
MigrationCommand.phpファイルURL:Link
Outut:
php artisan entrust:migration
Tables: roles, role_user, permissions, permission_role
A migration that creates 'roles', 'role_user', 'permissions', 'permission_role' tables will be created in database/migrations directory
Proceed with the migration creation? [Yes|no] (yes/no) [yes]: yes
Creating migration...
PHP Fatal error: Class name must be a valid object or a string in /var/www/html/laravel_test/vendor/zizaco/entrust/src/commands/MigrationCommand.php on line 86
コマンド:PHP職人のベンダー:公開が成功しました。
ファイル:config/entrust.phpが存在します。
config/auth.phpファイルのオプションを-auth.phpと同じように変更しませんでした。それを修正するには?
これは私のために働いたものの、受け入れられた答えではありません! –
これは問題を解決します。私はLaravel 5.2でマルチ認証を使用しています。これは魅力のように機能します!ありがとう – Nizam
あなたの答えのために多くのありがとう。これは、laravel 5.2とうまく動作しています。これは正解とマークする必要があります。:-) –