Questions tagged [voyager]

Voyager is a Laravel Admin Package that includes BREAD(CRUD) operations, a media manager, menu builder, and more.

Voyager is a Laravel Admin Package that includes BREAD(CRUD) operations, a media manager, menu builder, and more.

References

415 questions
2
votes
1 answer

Laravel Voyager redirect to other page after login

I just started using Laravel and learning. I would like to redirect users to a custom section create through the BREAD. In Voyager Controller, I see there is this function return Voyager::view('voyager::index'); I want to redirect to the page…
Sylph
  • 1,425
  • 3
  • 26
  • 36
2
votes
0 answers

Voyager in Laravel project can't find CSS on a live server

Currently I'm working on a Laravel project where I use Voyager for the back-end. Everything was working well until I moved it towards the live server. Now when I go to example.net/admin I get a page without styling. Voyager admin page without…
Sonny Luu
  • 25
  • 3
2
votes
1 answer

How to show data as per users in Voyager Laravel

Voyager is one of the most efficient admin panel for laravel. But, here I am trapped in a typical situation. For example, I am using this admin panel for booking appointment. I want the admin to view all the records but the user to view, edit,…
Archit Singh
  • 212
  • 3
  • 19
2
votes
16 answers

Laravel Voyager not showing images

I have created a Laravel app using installatron on godaddy.com (shared hosting). After installing Voyager the default admin avatar is not showing. The storage link is automatically created by Voyager. But when I open the admin panel voyager tries to…
Hamza Shafique
  • 31
  • 1
  • 1
  • 2
2
votes
1 answer

laravel voyager hasmany relationship not working

I'm using laravel voyager admin panel. I have two tables, laradbs - id - name regexes - id - name - laradb_id Item has many regexes. This is the regexes relationship in laradbs bread. And this is Laradb model. namespace App\Models; use…
vimuth
  • 5,064
  • 33
  • 79
  • 116
2
votes
2 answers

How to fix 'The file .... does not exist in Laravel?

I want to download file from storage folder in my Laravel project. This is the method I'm using to download the file: return response()->download(storage_path($path), $name); When I click the link which redirects to this method I receive this…
G.Kot
  • 63
  • 1
  • 1
  • 7
2
votes
2 answers

Laravel Voyager menu is not updating

I am using a laravel voyager package and there is a need to update the menu. Despite updating their admin_menu.vue in the component folder, the changes are not being reflected. Also, I run below command : php artisan cache:clear npm update npm run…
Ali Raza
  • 59
  • 2
  • 7
2
votes
2 answers

Laravel: Method Illuminate\Http\Request::validate does not exist in AuthenticatesUsers.php line 68

Laravel: v5.7.28 Voyager: v1.2.0 PHP: 7.2 Database: MySQL 8.0 I setup Voyager Admin Panel on my Laravel E-commerce. When I try to login, I see an error: (1/1) BadMethodCallException Method Illuminate\Http\Request::validate does not…
Gorcer
  • 188
  • 2
  • 9
2
votes
0 answers

Laravel - Session seems to save only the second time

i have a problem with my laravel sessions (specifically with voyager admin panel - but could also be general) and I have debugged it a little. Everytime I tried to login to voyager I got a 419 CSRF token error. (the @csrf token field is already…
SimonEritsch
  • 1,047
  • 1
  • 8
  • 22
2
votes
2 answers

How to build conditional list of dropdown options in Laravel Voyager

I have a problem with Laravel Voyager v1.2. I need to filter list of related list of options in select dropdown easily by where condition. So let's say I have Post with relation to Category, but I don't want to list all Categories in select…
2
votes
1 answer

Voyager - Specific Columns to be displayed on browse

I am trying to display some specific column headers on browse, I have customised the controller and model, and also have made some changes to index() inside my customised controller. public function index(Request $request) { // GET THE SLUG, ex.…
rahul.sharma
  • 457
  • 6
  • 20
2
votes
0 answers

Laravel Voyager How to make a custom field translated?

How to make a custom field translated? I add a custom field id_post to the table categories and display it with BREAD. But translations are not included in the table translations namespace App; use Illuminate\Database\Eloquent\Model; use…
2
votes
2 answers

Laravel Voyager admin menu links are not correct

I installed the new Laravel voyager and set it up as the documentation said but I'm facing a problem in the links of the admin menu for example, "http://localhost:8080/mywebsite/admin" is showing as "http://localhost:8080/admin" in my .env file,…
Moneer Kamal
  • 1,837
  • 16
  • 25
2
votes
2 answers

Laravel Voyager / S3 Storage - can't retrieve avatar

I have set my laravel/voyager so that It will upload the user avatar to S3. Uploading was successful but user avatar is broken. I got 403. What is wrong ? config/voyager.php storage' => [ 'disk' => 's3', ], config/filesystems.php 's3' => [ …
TRD-Warren
  • 357
  • 5
  • 16
2
votes
3 answers

Illegal string offset 'locale' error in Laravel Voyager new user login

I'm using Laravel Voyager for my web app. When I added a new contributor user and tried to enter his dashboard. I got the "Illegal string offset 'locale'" error. Error path: /home/turongro/public_html/vendor/tcg/voyager/src/Models/User.php Error…