#### Category : jetstream

I’m quite new to Laravel. In my application, I have created roles and stored them inside the users table. I tested this to see if this works by adding an input with the value "001" inside of the register form. This works perfectly fine and stores the role inside the users table, but this would ..

So this question is more conceptual. I am designing an app using Laravel Jetstream that requires two types of Auth. Standard Jetstream/Fortify/Sanctum logins A way to login "guest" users with data about them The concept is a chat application where I need to pass user info from one site to another so they can login, ..

By default the registration page has name, email, password and confirm password on its form like the following: <div class="container d-flex flex-column justify-content-between vh-100"> <div class="row justify-content-center mt-5"> <div class="col-xl-5 col-lg-6 col-md-10"> <div class="card"> <div class="card-header bg-primary"> <div class="app-brand"> <a href="/index.html"> </a> </div> </div> <div class="card-body p-5"> <h4 class="text-dark mb-5">Register</h4> <form method="POST" action="{{ route(‘register’) }}"> ..

I am using the default jetstream registration page in laravel 8: @if (count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{$error }}</li> @endforeach </ul> </div> @endif <div class="container d-flex flex-column justify-content-between vh-100"> <div class="row justify-content-center mt-5"> <div class="col-xl-5 col-lg-6 col-md-10"> <div class="card"> <div class="card-header bg-primary"> <div class="app-brand"> <a href="/index.html"> <svg class="brand-icon" ..

I am using the default jetstream registration page in laravel 8: @if (count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{$error }}</li> @endforeach </ul> </div> @endif <div class="container d-flex flex-column justify-content-between vh-100"> <div class="row justify-content-center mt-5"> <div class="col-xl-5 col-lg-6 col-md-10"> <div class="card"> <div class="card-header bg-primary"> <div class="app-brand"> <a href="/index.html"> <svg class="brand-icon" ..

Laravel Tailwind Issue It should be show Category as usually do but laravel with jetstream doing that for me Anyone know this behavior of tailwind? Only show this issue with laravel with jetstream <select class=”border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mt-1 block w-full” type=”text” class=”form-control” wire:model=”category”> <option selected hidden disabled=”disabled”>Category</option></select> Sourc..

I am doing a project with JetStream I do everything right but when installing npm with npm install I get this error. vagrant @ homestead: ~ / code / LoginJetStream $npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/vagrant/code/LoginJetStream/node_modules/acorn-node/node_modules/acorn/package.json.3119462421 npm ERR! errno -2 npm ERR! enoent ENOENT: no such .. Read more New to Inertia and having some trouble figuring this out: I have a search bar on a Vue page and want to return a set of filtered results for the user to select as a dropdown from the search bar. I’m passing a query parameter from the search bar to the Laravel Controller and performing .. Read more I build this laravel app with jetsream and it is working like a charm. (I am not a developer, i just watch youtube videos and try to build what i want) I want to prevent concurrent login from same account. I saw what i believe is the solution here: php laravel preventing multiple logins of .. Read more In the dashboard of the authenticated user, it shows the following error: "syntax error, unexpected token "(", expecting ":" (View: F:xampphtdocs….resourcesviewsnavigation-menu.blade.php) " The browser error show: "F:xampphtdocs….resourcesviews/navigation-menu.blade.php:57" i use laravel 8 with jetstream. Sourc.. Read more Im trying to use a specific method to send verification email (that uses sending blue api). I need to find the way to send emails and get the verify url. So far I have been able to modify the sending method, but not get the verify url. class User extends Authenticatable implements MustVerifyEmail { /** .. Read more I’m trying to validate some data this way: public function update($user, array $input) {$v = Validator::make($input, [ ‘name’ => [‘required’, ‘string’, ‘max:255′], ’email’ => [‘required’, ’email’, ‘max:255’, Rule::unique(‘users’)->ignore($user->id)], ‘photo’ => [‘nullable’, ‘mimes:jpg,jpeg,png’, ‘max:1024’], ]); //MORE CODE } Then, in place of "//MORE CODE", I tried to do this: $messagesArray = []; foreach ($v->messages()->all() as ..

I am using Laravel 8 with Jetstream. I am also using Envoyer and Forge. In my local setup, I can register, login and reset password. But in production, I can only register. When I register, I get an email with a verification link that takes me back to the login screen, but when I enter ..

I am following a jetstream tutorial and in it says that, in order to add some jetstream features, you should uncomment some lines and it should update automatically. in this part of jetstream.php: /* |————————————————————————– | Features |————————————————————————– | | Some of Jetstream’s features are optional. You may disable the features | by removing them ..

I am using Laravel 8 with Jetstream. I customised my teams update form to look like this: <div class="col-span-6 sm:col-span-4"> <x-jet-label for="name" value="{{ __(‘Name’) }}" /> <x-jet-input id="name" type="text" class="mt-1 block w-full" wire:model.defer="state.name" :disabled="! Gate::check(‘update’, $team)" /> <x-jet-input-error for="name" class="mt-2" /> </div> <!– Company Name –> <div class="col-span-6 sm:col-span-4"> <x-jet-label for="companyName" value="{{ __(‘Company Name’) }}" .. Read more After i follow step by step on document to install laravel jetstream then go on step https://jetstream.laravel.com/2.x/installation.html$ npm install && npm run dev after i run it this error show up after i type that, > [email protected] dev /mnt/d/#Ricky_Only/Code/adminPortofolio > npm run development > [email protected] development /mnt/d/#Ricky_Only/Code/adminPortofolio > mix ✖ Mix Compiled with some ..

I’m trying to create a component like the Jetstream premade component, on the Jetstream folder but when i try to copy one file and rename it then import other file it doesn’t work, I think I’m missing some naming Sourc..

I read the official documentation of Laravel Jetstream And Sanctum but I still don’t understan a few things. First of all, I secure the endpoint with Route::get(‘/endpointtoprotect’, [AuthController::class, ‘endpointtoprotect’])->middleware(‘auth:sanctum’); So to use that endpoint I need the token from ‘api/login’. I checked that and It’s working. But when I put on purpose an incorrect token, ..

I am trying to learn Jetstream. I have a dashboard template that works for most things but when I try to do the following but remove I get undefined variable header. How can I remove the header component? @extends(‘admin.admin_master’) @section(‘admin’) <x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __(‘Profile’) }} </h2> </x-slot> <div> <div ..

I have a default Laravel project which is scaffold with Bootstrap and Vue.js. Having considered to use Laravel JetStream Livewire, I am going to remove bootstrap because Laravel JetStreal Livewire is using TailwindCSS and we can not use both Bootstrap and TailwindCSS together. "devDependencies": { "@tailwindcss/forms": "^0.3.1", "@tailwindcss/typography": "^0.4.0", "alpinejs": "^2.7.3", "axios": "^0.21", "bootstrap": "^4.6.0", ..

I just created a new laravel project and added jetstream and tried logging in and got this error. ErrorException Attempt to read property "name" on null (…resourcesviewsnavigation-menu.blade.php. <x-slot name="content"> <div class="w-60"> <!– Team Management –> <div class="block px-4 py-2 text-xs text-gray-400"> {{ __(‘Manage Team’) }} </div> <!– Team Settings –> <x-jet-dropdown-link href="{{ route(‘teams.show’, Auth::user()->currentTeam->id) }}"> ..

We are at the stage of developing a new project in Laravel. We are currently working on the login section. We have two different login forms to authenticate. First form is in the login(login.blade.php) route. Second one is in header section. Because of it we can make user login anywhere we want. But our codes ..

i’m trying to display some data from my database and display it on my register blade(jetstream auth), i tried to modify the create function on RegisteredUserController but it didn’t work i tried to modify the controller as this public function create(Request $request): RegisterViewResponse {$x=5; return app(RegisterViewResponse::class,[‘x’=>\$x]); } and i got the following error : ..