Questions tagged as 'laravel'

0
answers

Error trying to authenticate to a laravel API

I am trying to authenticate my request in a Laravel API (5.4). Even following the authentication documentation documentation, whenever I submit the request, I have the following return:    Not valid token provider. LoginController: <...
asked by 16.10.2018 / 02:54
0
answers

Error trying to perform deploy, repository access denied

I'm developing in laravel, and I can not use deployer to deploy to our server in amazon, our deploy.php looks like this: Andwe'regettingthiserror,noticethatIseemtobeintherightrepository... andmySSHisonbitbucket What's missing to work?...
asked by 02.10.2018 / 22:47
0
answers

How does the communication between a Laravel API consuming an Oracle Storage Cloud API work?

I am developing an API in laravel and to upload / download files I use the api Oracle Storage Cloud. My question arises regarding communication between Client-Front > API Laravel > API Storage. Let's imagine the following senario: 1-...
asked by 27.09.2018 / 17:52
1
answer

Export array globally with the Laravel framework

Hey guys! I'm working with Laravel on a project, and a question arose to me even being (idiot). I have structured all my controllers, models and views, but I have a view called: base.blade.php the same idea of layout.blade.php t...
asked by 29.09.2018 / 20:54
2
answers

How to retrieve information from the laravel URL?

I have the following route: # Minha rota para cadastro de pessoas ao escolher um plano Route::get('/cadastrar/{plano}', function($plano = 'silver'){ # Checa se o plano existe if (array_search($plano, ['silver', 'gold', 'diamond']) ===...
asked by 30.09.2018 / 01:55
1
answer

Problems authenticating users of different types - Laravel

In my system I have two models, User and Client, each type of user will have their roles defined. Example: User: Administrator Employee Client: Manager Counter Human Resources In my file auth.php looks like this:...
asked by 26.09.2018 / 17:17
0
answers

Error in dep deploy "server" from ubunto to ubunto via bitbucket

When trying to execute the deployer dep deploy server command I'm getting the following error: ShouldIaddtheserver'sSSHkeyonbitbucket?IjustaddedmyAlsofollowsmydepdeployphp:     
asked by 04.10.2018 / 20:57
0
answers

Difficulty creating custom authentication - laravel

I need to create a three level authentication system: user, therapist and student. At first I have a single table, but I think of creating 3 different tables. the problem is: how and where do I look up the user's email in different tables?     
asked by 11.10.2018 / 01:15
0
answers

Page query in laravel using DB :: table

$role = $request->id_cliente; $data_inicial = $request->data_inicial; $data_final = $request->data_final; $vendasCliente = DB::table('venda') ->join('cliente', 'cliente.id_cliente', '=',...
asked by 22.09.2018 / 18:33
1
answer

Problem with PUT axios Laravel

I am using Laravel 5.6, routes and controller with resource and in the Post script the code works normally, however with the PUT it always gives error. Follow the POST working code const fileInput = document.querySelector( '#trv_arq...
asked by 20.09.2018 / 20:23