Questions tagged as 'laravel'

2
answers

Is it possible to connect my application made in Laravel with the Vue or Angular?

I started a project that will eventually have an application in Vue or Angular . My question is whether this connection can be made between the system and the application, and whether this "connection" can be made through an API or other...
asked by 25.02.2018 / 23:48
3
answers

How to retrieve the ID of the last record inserted in the bank? [closed]

How do I retrieve the id of the last record made in a table in the database? I'm using Laravel. Before using a framework I used LASTINSERT .     
asked by 18.04.2014 / 19:09
1
answer

Laravel 5.5 Routes?

I can not find the file routes.php in Laravel 5.5 is not inside the folder http only has the inside http > controller/middleware/kernel And what's inside it?     
asked by 19.01.2018 / 02:21
1
answer

Problem with 'unique' validation in Laravel

Hello, I'm starting to learn Laravel, I'm doing a small project and I'm in the validations part, however I'm having problems with validation when I want to validate a unique value. class Categoria extends Model { public $timestamps = false;...
asked by 16.06.2018 / 02:06
2
answers

Laravel - How to retrieve values from a form and redirect using the Route class?

I am studying Laravel and at the moment I am trying to understand how to send form values to be retrieved and then redirect to a specific page. I'm still starting with Laravel and I do not know if that's how it's done. So let's say I have the...
asked by 13.07.2016 / 17:19
2
answers

How to pass a variable to a blade?

I have the following scenario: Some types of users may have access to the site, say USERTYP1, USERTYP2 or USERTYP3. The menu of my application changes according to the type of user. I have a master template homeMaster.blade.php and...
asked by 20.07.2016 / 20:48
1
answer

Error Undefined variable Laravel

I have a football championship management system, but I'm having trouble displaying the specific championship data, I already researched the error, but I did not find where the variable call is missing, thanks for the help! Note: The file list i...
asked by 17.07.2018 / 15:49
1
answer

Seize result

I would like to take advantage of the result of a query in another function when requested For example: Controller public function funcao1(Request $request){ $myObj = DB::select("SELECT * FROM myTable"); return view('myV...
asked by 24.10.2018 / 17:01
2
answers

Generating PDF with Laravel [closed]

I'm trying to implement this pdf lib for my Laravel project: link . Since I'm having trouble with the implementation, because its documentation is not very clear with the method I need to use to create a PDF.     
asked by 15.09.2018 / 20:27
1
answer

Where in Laravel does not return information

In my ProfessionalProtroller.php file, I have the code: public function vinculo($id) { $profissional = Profissional::find($id); $unidades = Unidade::all(); $vinculos = Vinculo::where('profissional_id', '=', $id); return view('...
asked by 04.09.2018 / 15:06