For instance let’s say the ”’ $model_name = ‘student_table’; ”’ ‘providers’ => [ ‘users’ => [ ‘$model_name’ => [ ‘driver’ => ‘eloquent’, ‘model’ => AppModels.$model_name.::class ] ] ] The problem is that laravel fires an unexpected ‘.’ expecting identified (T_STRING) And I need to insert the model name dynamically because there lot of database tables ..
Category : breeze
Is it possible to install breeze on laravel 8 without npm? The official documentation does not mention it, but after you run the final php artisan breeze:install you will get a message to run npm install. My hosting provider does not offer npm. Thanks Sourc..
My operating system is windows 10. I’m using laravel homestead (ubuntu 18.04) resent release and working in a virtual box with vagrant. After installing Laravel when I try to composer require laravel/breeze –dev to get the Authenticate part it works fine. after that, it says to run "npm install && npm run dev" Then I ..
I’m trying the new laravel/breeze. I’m using Ubuntu and created the project with the following commands: composer create-project –prefer-dist laravel/laravel:^8.0 composer require laravel/breeze –dev php artisan breeze:install npm install && npm run dev php artisan serve Then, i created a database.sqlite in database folder, made the php artisan migrate and then php artisan serve. But ..