Questions tagged as 'laravel'

0
answers

I can not access my EDIT view

These are my routes:    link This is my edit function in the NormasEmitidasAdmin driver public function edit($id) { $normaEmitida = NormaEmitida::find($id); return view('NormasEmitidas.edit',['normaEmitida'=>$norm...
asked by 25.05.2018 / 01:28
1
answer

Return all users of a domain and their photos with the google API

I have this code in lumen (laravel) that is returned to me by the users of my Gsuite domain (it works correctly), I have all the data of the users in a Json file in the $ users object, there I receive a JSON as this { "data":{ "etag":"\"...
asked by 18.05.2018 / 13:15
0
answers

Error: Trying to get property 'headers' of non-object

I am using Laravel 5.6 and I have just applied different middleware to my project in order to restrict access to certain routes for different types of user roles: protected $routeMiddleware = [ 'auth' => \Illuminate\Auth\Middleware\Authen...
asked by 17.05.2018 / 01:43
0
answers

Stripe.js does not work in Laravel 5.6

I am trying to implement Stripe.js in my Laravel project 5.6 but when I checked out I do not see the value of the item registered in the Stripe dashboard. I do not know what error I may have, please I need your help. php code: public functi...
asked by 17.05.2018 / 03:13
0
answers

Operator or in blade php

I'm working on a blade template in laravel and I want to hide the menu depending on the role of the user. But I do not accept the operator or, in blade this way: @if(! auth()->user()->is_magaly || ! auth()->user()->is_students)...
asked by 17.05.2018 / 17:43
2
answers

Insert several records at once with ApiRestful - Laravel

I have the following question and I would like you to help me with this, you will see, I have in my controller to upload telephone equipment to my ApiRestful and everything done to be able to upload a computer by providing a "json", here the cod...
asked by 15.05.2018 / 09:04
0
answers

Does not install Composer

Good afternoon can help me with this error that I get when installing the composer I am connected to a proxy 192.168.1.1   I have the version PHP version 5.6.15       C: \ xampp \ php \ php.exe But when I install it, it throws me an e...
asked by 15.05.2018 / 19:54
0
answers

Laravel 5.6 Call to undefined function App \ Http \ Controllers \ is_countable ()

I am new to laravel and I do not have much knowledge in php I want you to help me please to identify the error !! <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\User; class...
asked by 12.05.2018 / 19:25
0
answers

Laravel Passport: invalid_credentials, The user credentials were incorrect

I try to test the authentication with Laravel Passport and there is no way ... The error is in the capture of postman, at the moment I try to create a user with postman I miss the error of the capture. User.php class User extends Auth...
asked by 13.05.2018 / 18:36
1
answer

How to integrate the images from a url into the database and using laravel

The following code is a test to access the database of my server and I would like to know how to implement an image using the url that is in the tables of my database, I know that I must use the asset method that allows me to access the images f...
asked by 14.05.2018 / 22:07