Questions tagged as 'laravel'

0
answers

How to load data from the selected item?

Context: Home How to load data from a selected template? Is JavaScript required? If so, should the code be in an external file or in the same code? HomeWhenthetemplateisselected,thetemplateitemsmustbeloaded.Asshowninthefollowingimage. Code...
asked by 05.10.2018 / 22:21
0
answers

How to customize the return key of my validator in laravel?

Currently my validator returns as a key the field that did not pass the validation, I would like to know if it has how to change to a generic name, such as "errors" so that I can scroll through the frontend. The following is the validator: p...
asked by 06.10.2018 / 01:51
1
answer

Problems with JWT token

I'm using a system that uses the JWT token pass for authentication, the problem is that I can easily collect the headers of the API calls and pick up my token to be able to request what I want and pick up the data of any user. I believe that pro...
asked by 08.10.2018 / 15:45
1
answer

How to put the zerofill constraint in Laravel 5.6?

Good afternoon. I'm having a problem to make use of the zerofill constraint in Laravel because vi that is not in the documentation. I have a field in my table which is a license plate and in my view I am limiting this field to 5 digits, so th...
asked by 12.10.2018 / 22:31
0
answers

Permission denied Laravel 5.5

I'm trying to create my first laravel project with vuejs. I installed apache on ubuntu 16.04 and navigated to the / var / www / html folder. I ran the following command: composer create-project laravel/laravel laravel --prefer-dist But when...
asked by 19.12.2017 / 00:39
0
answers

Laravel multitenancy with a BD only for users

I've been searching for Saas and Multi-tenancy but have little material in Portuguese. I saw that it is possible to do a database for each company, but my question is: Make a single web system for all clients (using PHP + Laravel + MySQL)...
asked by 26.04.2018 / 15:32
0
answers

Recognize email sending error Laravel

Good morning. I am doing a cron with Laravel 5.2 to send emails to my company, I am using the Mail sending of Laravel and would like to know if there is a way for Laravel to recognize that the email does not exist or to acknowledge...
asked by 12.01.2018 / 11:56
3
answers

Select postgres between two values

I'm developing a system and I need to perform a select to fetch the% rate a customer will have. First, I check the% of this customer's return checks and I look for another pre-set rate that will be entitled to this return rate in another tabl...
asked by 26.10.2017 / 13:06
0
answers

I can not access the laravel homestead ip

Good morning, I'm trying to install the laravel 5.5 Homestead, following the documentation . However, when I try to access IP 192.168.10.10, which is the default ip of the homestead, it loads and can not resolve. This before even thinking about...
asked by 27.10.2017 / 14:24
0
answers

Regular expression in Laravel

I'm not very good at regex but using the link site I was able to generate an expression that accepts: Do not accept special characters You can have up to 5 words separated by whitespace The generated regex: (^\w{0,30}){1}(\s?(\w{0,...
asked by 11.06.2018 / 03:44