Questions tagged as 'laravel-5'

1
answer

Paginate Updating Requisition?

Good morning, I will try to simplify my difficulty, however any extra doubt I will be available to provide any information of the code ... I have a filter whose I do my searches for certain values and in the end I have a paginate value: <...
asked by 06.07.2016 / 16:51
2
answers

Laravel Authentication Several Types of Different Users

I need a direction guidance on how I will separate my authentications by user type ... My application has 3 types of users, each with its dashboard and specific admin panel, adminGeral (eu), businesses and consumers. I leave everyone in th...
asked by 03.07.2016 / 01:56
1
answer

Default field to select in illuminate / html

I have a problem and I have already searched the internet for the solution. No success! I have a form and inside it, a select filled in automatically: {!! Form::select('categoria_id', $categorias, null, ['class' => 'form-control']) !!}...
asked by 23.07.2015 / 20:53
1
answer

Laravel and the MVC concept - where do I put my classes / functions?

Hello. I am new to Laravel and MVC architecture and have a conceptual doubt. In my bank I have a code (string), for example "[paragrafo]". I'm going to turn this string into " < p>meu paragrafo< /p> " to be displayed in the...
asked by 01.07.2015 / 16:20
1
answer

How to create functions available globally in laravel?

I would like to create functions that are globally available to reuse the code. What would be the best way to do this, in laravel ... The flow I need would be like this: I will receive a "Route" request    Then I'll process > "Con...
asked by 02.01.2019 / 00:12
1
answer

Laravel array session overwriting

I'm trying to write product data to a session in Laravel , but it overwrites the session. I have an array of products in the view: @foreach($products as $product) <form action="{{ url('/cart/add') }}/{{ $product->id }}" method=...
asked by 07.11.2018 / 17:01
1
answer

Pass parameter to route in javascript in laravel

Good afternoon, I have a question about parameters in laravel that I did not find on the site, I have a route like this: Route::get('busca/{id}', 'MatriculasController@busca'); that passes a parameter to a method in controller...
asked by 30.11.2018 / 21:14
1
answer

I am not allowed to write to a directory in laravel 5.6

Hello, I'm having trouble writing to a directory in laravel 5.6, I created the directory on the server and when I upload it it gives this error: unable to write in the "uploads/imagens/assinatura" directory curious that I have another direc...
asked by 18.10.2018 / 15:10
1
answer

ACL Laravel using ADMINLTE

Good morning. I'm using laravel 5.5 and adminlte. I implemented acl with middleware and I use can to test the permissions. I would like to put the can ('centrocusto') in the adminLte menu. Is not working. Has anyone done this? Do you know how...
asked by 15.11.2018 / 12:33
1
answer

Doubt with route

I've been trying to make a route for a while, but so far nothing ... Controller: public function profissionais(Request $request, $id){ $vinculo = session()->get('vinculo'); $profissionais = Vinculo::where('unidade_id', '=', $id)...
asked by 11.09.2018 / 21:25