Questions tagged as 'laravel'

2
answers

Delete method returns page not found

I use the form below to send the id of the line to be deleted in the table: <form method="DELETE" action="{{ URL::to('receitas/delete') }}" > <input type="hidden" name="id" value="{{ $receita->id }}" > <button type="submit"...
asked by 07.11.2014 / 00:13
1
answer

Allocation of responsibilities in MVC

I'm starting work with MVC, more specifically with Laravel and Eloquent (the ORM built into Laravel). I studied and continued studying the MVC standard and its advantages. However, in practice, I was left with some doubts about where to alloc...
asked by 29.09.2014 / 22:46
2
answers

How to know the current route in Laravel 4?

In Laravel 5, we can get the current route (say the class instance) using the Illuminate\Http\Request class, using the route method. So: public function handle(Request $request) { $rota = $request->route(); } W...
asked by 12.04.2016 / 18:15
1
answer

Server configuring problem for laravel

I have migrated my site to the server hostgator and it is not directed to the public folder. Can you tell me why this happens?     
asked by 25.11.2018 / 20:10
1
answer

About project in Vue in a specific folder consuming Laravel data via RESTfull API

Is it possible / good practice to create a Vue project in a separate Laravel folder so that all authentication and data consumption is done via the RESTfull Laravel API? /Raiz /Front <- Arquivos Vue /Back <- Arquivos Laravel I...
asked by 13.09.2018 / 17:40
2
answers

How to make an @foreach with Table Relationship in Laravel

I'm using the Laravel freamwork where in my database I have 2 tables:  - > claimants (with the field 'id', 'claimant', 'type_id')  - > types (with the fields 'id', 'name') Both are already with the Complainant Model Relationship publi...
asked by 27.09.2018 / 02:58
2
answers

How to format numeric data extracted from the database for monetary values?

I am using the jquery.maskMoney.js library to format system monetary data. But when the data is saved in the database and returned to the system screen the formatting is lost. How to solve this problem? I would like the formatting to remain, f...
asked by 27.08.2018 / 17:01
1
answer

Custom Laravel Authentication Hash

Next, I have a specific bank with specific columns and a specific hash method, I'm migrating to Laravel following the multi tenancy structure. I would like to know if there is any way to make laravel ignore Bcrypt and accept my Hash form?...
asked by 19.10.2018 / 15:48
1
answer

Error MethodNotAllowedHttpException in laravel

I'm trying to update data, however I get:    Symfony \ Component \ HttpKernel \ Exception \   MethodNotAllowedHttpException My route: Route::put('animalperdido/{id}', 'AnimalPerdidoController@update'); My role: public function upd...
asked by 10.12.2018 / 22:37
2
answers

Doubt regarding the events of the Task Schedule- Laravel

I've already looked in the documentation and other forums, but I did not find the answer. Next, how often does a task run normally at what time? I know the ->hourly() method runs every hour, but at what time? It runs, for example at...
asked by 12.12.2018 / 15:31