Disable JWT Auth when using oauth/authorize for passport

I need to disable jwt auth when i try to do oauth/authorize that passport to do a authorization code grant. It needs to use the original oath of la...
01

Redis: Is there a way to retrieve an array of all cached items that have a key that start with a specific string?

Maybe I have the wrong idea, but let's say I have these keys in redis: laravel:shopping_cart:1 laravel:shopping_cart:2 laravel:shopp...
05

Problem with returning a foreach loop from Laravel controller to blade view

I am trying to do a foreach loop in a curL request in a method of a controller. method (from StreamsController): public func...
12

Multiple contacts for a client but only one default

In my app a client can have multiple contacts (name and email address) but only one primary contact. Currently in my form I have:...
00

Display and saving form for different user’s roles

I have a web form with many fields (about 20) for filling. Admin can view and edit all fields. Managers can view 15 fields and can edit 10 of them....
00

autoload jquery-ui-bundle with webpack

In 5.2 I was using gulp and I just set this in app.js window.$ = window.jQuery = require('jquery');require('jquery-ui-bundle');...
01

More verbose PHPUnit tests with Laravel

I have this small test that checks that all Posts returns HTTP header 200: /** * Test that all active posts returns HTTP status 200...
00

Route Problem

Friends when i create logout link in our app its give us error that your [login] is not defined how we can fix it...
01

Session lifetime

I need set session lifetime forever, its posibble, when the browser windows is still opened? And how?...
16

Why laravel dropped elixir? Why forcing Vue.js? what is it that you are trying to fix?

First of all this is not a shot at the creator of laravel or the core team or even the community because I love this framework. I left ruby on rail...
59

Which Session Driver do you recommend?

Hello everyone, at the moment I use the Session Drive "file", but unfortunately the folder / storage/framework/sessions now weighs more t...
15

L5.3 to L 5.4 (1/1) BadMethodCallException Call to undefined method Illuminate\Database\Query\Builder::findBySlug()

In the endless migration of Laravel 5.3 to Laravel 5.4 I have encountered a new problem and it is this error: (1/1) BadMethodCallExc...
01

5.2 to 5.5. getRegister() method is gone. What now?

On 5.2 I was using this to present some data in the registration form: class RegController extends Controller { use RegistersUs...
04

Should a controller be restricted to creating/modifying objects specifically for that model?

To provide an easy to understand example of what I mean: I have an accounts table, and a database table. Databases are created underneath an...
02

Error in array in view file

I want to show data from array, but i have error and i am not able to find out why it gives me error, this is what i have in controller file, $json...
14

failed job send email : passing object in job class inside event listener Laravel 5.5

Hello, i can understanding a problem, i have a system register Candidate, i create event : UserRegistered with 2 listeners...
02

"Method [validateImages] does not exist."

Hello. I keep getting the above error on the following code. Your help will be appreciated. namespace App...
05

restrict user to write html tag in post body

How to restrict or returning to inside post body with markdown/Rich Text Editor? the problem is, i dont want my user to allow write html, for e...
03

How to create a function with methods, help!

I need to create a function of this type, I do not know how it is done and I would like to learn the function adds to the database, and rece...
02

"SluggableServiceProvider.php Does not exist anymore?"

At the moment I am trying to migrate my project from Laravel 5.3 (working) to Laravel 5.4 and I have found the following error: (1/1...
10