Questions tagged as 'laravel-5.3'

2
answers

Real-Time How it works. Well I'm having problems with my tests Laravel 5.4

What do I need? I need when a user in the frontend sends a message to the system and the dashboard backend receives a real-time notification that the message has just been created. I'm doing this. In my controller in the store () method of the c...
asked by 12.10.2017 / 02:25
1
answer

How to make specific queries in sql using Laravel?

I need to make an appointment at the bank to see the birthday of the current month. Such a query, see:    SELECT * FROM membros WHERE day(dataNasc) = day(CURRENT_DATE) and month(dataNasc) = month(CURRENT_DATE); How could I make thi...
asked by 04.09.2017 / 04:37
1
answer

How to send an email after the user registration has been made? Laravel 5.4

I need a user to get the value of the email field and pass it to the $message->to($request->email) function to send the email to the registered user. See how I'm doing. Except that the $message->to() object is not being dy...
asked by 04.10.2017 / 02:13
1
answer

Laravel Blade prints unknown values

I make use of Laravel 5.3. I have a variable that returns this value in a var_dump (): array(3) { [1]=> string(5) "10:00" [2]=> string(5) "10:20" [3]=> string(5) "11:40" } But if I give: @foreach($variavel as $val...
asked by 09.02.2017 / 15:39
1
answer

Problems deleting via ajax with laravel

I'm having trouble effecting a deletion with Laravel 5.3 . By submitting the ajax it simply is not returning anything to me. My JavaScript looks like this: $.ajaxSetup({ headers: { 'csrftoken' : '{{ csrf_token() }}' } }); func...
asked by 08.12.2016 / 23:25
1
answer

How to open the modal bootstrap form after a validation error Laravel 5.4

I have a modal bootstrap contact form. I have the validations where they are validating correctly. Now my question is: How do I when not to pass the validation it return the message in modal with it open. When it validates and does not pass vali...
asked by 27.08.2017 / 01:23
1
answer

Laravel 5.4 - Send email with attached txt

The case is simple: I need to generate a txt in Laravel based on Array and then attach this text file with Attachments through Mail :: to (!)     
asked by 03.09.2017 / 01:46
1
answer

Many-to-many relationship Laravel 5

Good afternoon. I am developing a system in Laravel 5.3 with the following tables: From the commission id, I need to bring all the related data into a view where it will list in a table which parliamentarians are part (one per line), what is...
asked by 28.03.2017 / 14:32
1
answer

Dynamic list in alphabetical order?

Inside this array of my dynamic list , its content is returning in a disordered way, how do I put it alphabetically? <div class="form-group"> <label for="nome">Categoria do Produto</label> <select i...
asked by 17.01.2017 / 00:48
1
answer

Target [Repository] is not instantiable while building [Controller, Service]

I am developing a system that when sending data by the form is returning me this error :    BindingResolutionException in Container.php line 763: Target   [Church \ Repositories \ MemberRepository] is not instantiable while   building [Churc...
asked by 13.12.2016 / 00:37