Questions tagged as 'laravel-5'

1
answer

How to implement DataTables in Laravel 5.4?

I'm trying to use the DataTables tool: link , its implementation seems to be very simple, I put the CSS link, JavaScript, but when I update the page, nothing happens, follow my code: @extends('layouts.app') @section('content') <link rel="...
asked by 21.03.2017 / 12:59
1
answer

Send email to Laravel?

Are you sending all pages to email, but do not send the information of input ? Controller public function store(Request $request) { Mail::send('template.contato', array ( 'nome' => $request -> input...
asked by 03.04.2017 / 23:43
0
answers

Error Chart.js in Laravel?

I'm trying to use Chart.js in Laravel through their own lib, but it returns the following error: Call to undefined method Fx3costa \ LaravelChartJs \ Builder :: size () I do not know what can be, I did everything the way the documentation say...
asked by 24.03.2017 / 05:16
0
answers

Artisan server in Laravel with php 5.6?

I created a project with Laravel 5.0 framework by composer, to run the project I use the php artisan serve command, however, I verified that the php version used on this server is 7, I have installed php 5.6 on the computer and would like the...
asked by 20.03.2017 / 01:14
0
answers

Content size of a variable from a request

I have a web application developed in Laravel 5.0, which receives a POST request from another application. The data sent is a JSON with a relatively large amount of information, and when I get this request and access the data via Request::all...
asked by 03.03.2017 / 14:02
0
answers

Execute a migration by passing parameters in Laravel 5

I am creating a robust application where I will define which commands will be executed within a database according to the subdomain (which is also the name of the client database). How can I pass this parameter to a Laravel migration? I'm lookin...
asked by 28.11.2016 / 17:59
1
answer

Error: Array to string conversion - Select multiple Laravel 5

In my View I have: <select multiple="multiple" name="carga_mental[]" class="form-control select2"> @foreach($cadastros->where('key', 'carga_mental') as $carga_mental) <option value="{{ $carga_mental->title }}"> {{...
asked by 22.11.2016 / 18:42
0
answers

Burning / Editing Laravel Checkbox 5.2

Hello, I am developing a Course Register in Laravel 5.2. I created CRUD perfectly, it creates, edits and deletes everything right, but in this register it has 3 items that are of type CHECKBOX, I can register and save in the bank (MySQL) correct...
asked by 21.11.2016 / 19:55
1
answer

Send .pdf, in base64, by email

I get a string through an external%%, which comes directly from the client (I only take care of the website, making it impossible to change the type of information I receive). This string is a API that was encrypted in .pdf and I n...
asked by 01.11.2016 / 19:58
1
answer

Laravel Authentication

I am studying the authentication part of Laravel and based on the following documentation Laravel I followed all the steps: I configured the database I put the routes I've placed Views When I log in to: ( link ) it opens the form...
asked by 19.10.2016 / 04:58