Questions tagged [laravel-ui]

45 questions
28
votes
22 answers

auth pages not getting css in laravel

I am beginner to laravel. I have created project. And I have run following commands to it. composer require laravel/ui --dev npm install npm run dev php artisan ui vue php artisan ui vue --auth after this command I get Login and Register menus on…
ganesh
  • 416
  • 1
  • 11
  • 32
20
votes
6 answers

How to properly start Laravel 8 with Bootstrap & authentication

I face the following image every time I want to start a new Laravel 8 project with authentication routes set up using the laravel/ui package and Bootstrap scaffolding. Meaning that the Bootstrap is not yet loading up! Therefore, I have to re-run…
user9277271
12
votes
3 answers

laravel/ui[v3.2.0, ..., 3.x-dev] require illuminate/console ^8.0

I try to install: composer require laravel/ui But i Keep receive this error: laravel/ui[v3.2.0, ..., 3.x-dev] require illuminate/console ^8.0 -> found illuminate/console[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts…
kiana.ka
  • 509
  • 2
  • 5
  • 13
7
votes
7 answers

How to solve problems while installing ui in laravel?

While installing laravel/ui I got this following error. Using version ^2.0 for laravel/ui Problem 1 - Conclusion: remove laravel/framework v6.18.0 - Conclusion: don't install laravel/framework v6.18.0 - laravel/ui 2.x-dev requires…
Yeamin Chowdhury
  • 502
  • 1
  • 9
  • 19
5
votes
2 answers

Problem with installing Laravel/ui in Laravel 8

Im trying to install laravel/ui but I get this error: **Problem 1** - laravel/tinker is locked to version v2.5.0 and an update of this package was not requested. - laravel/tinker v2.5.0 requires illuminate/console ^8.0 -> found…
Anas Amine
  • 115
  • 1
  • 2
  • 6
4
votes
3 answers

BadMethodCallException Call to undefined method App\Models\User::hasAnyRole()

I'm using Laravel-Permissions and wrote in rotes\web.php: Route::group(['middleware' => ['role:admin']], function () { Route::get('/admin', function () { return "Test"; }); }); I added in app\Http\Kernel.php : protected…
Andrew Stetsko
  • 87
  • 1
  • 1
  • 9
2
votes
1 answer

"npm run dev" display error message the first time

I am currently taking a laravel 8 framework class and each time I install a laravel/ui (Bootstrap 4, TALL stack, etc) I get an error after running: npm install && npm run dev This is fixed by running the command again the second time, without…
Relcode
  • 505
  • 1
  • 6
  • 16
2
votes
0 answers

While Installing Jetstream. Having these route not found issues

composer require laravel/jetstream PHP Warning: Module 'openssl' already loaded in Unknown on line 0 Warning: Module 'openssl' already loaded in Unknown on line 0 ````Using version ^1.3 for laravel/jetstream```` ````./composer.json has been…
1
vote
1 answer

laravel 9 : could not resolve peerDependencies during install reactJs & VueJs using laravel/ui

I installed Laravel/Ui in Fresh Laravel 9 for setup ReactJs I was run below commands step by step in cli composer require laravel/ui php artisan ui react npm install now when i run npm install command then it throw error about "unable to…
Harsh Patel
  • 1,032
  • 6
  • 21
1
vote
3 answers

Change id column name in users table for laravel auth ui

the dafault code for the id column for the users table is like such: **$table->id();** But I changed in to: $table->bigIncrements('user_id'); Now i got error saying that 'id' column is not found in a file that doesnt run the query for users…
1
vote
2 answers

Laravel UI Bootstrap does not seem to be working

I'm working with Laravel version 8.53.1 and I have tried these commands to install Bootstrap authentication with Laravel: composer require laravel/ui php artisan ui bootstrap php artisan ui bootstrap --auth npm install && npm run dev But now the…
nitinos
  • 80
  • 10
1
vote
0 answers

Problem with laravel/ui in laravel when updating package while upgrading to the latest version of Laravel

I am currently upgrading from Laravel 5 to 8 although I'm not sure if that is relevant or not. I am running PHP 8 in a docker environment having just upgraded from php 7.3. I have deleted my vendor folder, updated composer.json to run all the latest…
1
vote
2 answers

Undefined array key "name_of_firm" in laravel?

This is my RegisterController (Laravel ui edited). please help me. Is i have to add any other page to this question. protected function validator(array $data) { return Validator::make($data, [ 'name' => ['required', 'string',…
user15784433
1
vote
1 answer

laravel/ui[v3.0.0, ..., v3.2.0] require illuminate/console ^8.0 -> found illuminate/console[v8.0.0, ..., v8.36.2]

I am trying to make pdf using baaryvdh/dompdf in laravel but while installing the package using the command: `composer require barryvdh/laravel-dompdf` getting the error: Using version ^0.9.0 for barryvdh/laravel-dompdf ./composer.json has been…
mohsin
  • 11
  • 1
  • 3
1
vote
0 answers

Laravel 7 auth and profile registration

I have two tables: profile and users. I tried to code it on RegisterController using the Laravel UI package. However, it didn't work properly. What is the best approach to implement it? public function register(Request $request) { $year =…
1
2 3