I have the following validation rule in the controller:
$validator = Validator::make($request->all(), [
'nome' => 'required|max:255',
'valor' => 'required|numeric|min: 0',
'imagens' => 'required|mimes:jpeg,...
I would like to know if it is possible to pass a parameter by url in the% default% of auth , which is done by Laravel
register/login
because this login would use in the table make:auth ?
I have a common POST route in laravel, but in a separate project I'd like to use AJAX to send an image to this route.
I'm going to use the html2canvas to get the screen screenshot.
var content = document.getElementById('welcome');
html2canvas...
I could not find the error in my migration, honestly.
Someone there can understand why I'm having the following error:
SQLSTATE [HY000]: General error: 1005 Can not create table
imobiliaria . #sql-2d3c_21 (errno: 150 "Fo...
I'm developing an App with Cordova and wanted to know if it is possible to use the csrf token generated by Laravel, without having to configure the meta tag using Blade, as it is taught in the laravel site:
<meta name="csrf-token" co...
I need a help with this error, I've already done the installation and everything is ok, but I still continue to show that I need the drive, I used Brew to install Drive.
Hello, I'm a beginner at laravel and I'm doing a project for a school whose one of the features of the project is to make a list of student presence. Where students from a given class will be listed in a table that will have the radio box fields...
I've been negotiating with a company to be developed, among the necessities came the registration of the product quickly without needing many user inputs. Given this I had the idea of maybe getting the basic information of the products through s...
I need to delete one image at a time from my database, I have a n:m table and I can not delete the image.
Here's part of the method to delete the image.
public function deleteImg(Imagem $imagem)
{
$imagem()->delete();
\Ses...