Questions tagged as 'laravel-5'

1
answer

Listen to new changes from the database with laravel / pusher

I am using this example that gives me the official pusher page, web notifications using pusher with laravel This will connect to a postgres database and I will extract the data from there, for example, user and message ... I need the notifi...
asked by 07.05.2018 / 20:57
0
answers

How to access a property of a collection in Laravel

I have called from a view the facade auth and I have called the pivot table relpersonaprofile and it brings me the data correctly and these are the data that shows up there very well but I want to access a specific data of that colle...
asked by 14.05.2018 / 00:48
0
answers

Javascript does not work in the "create" of CRUD in Laravel 5.5

I have the following structure for the views of a CRUD of categories: I have javascript libraries in the app view that is in the layouts folder. In all other routes work perfectly. When I enter the category index, the javascript continu...
asked by 07.05.2018 / 07:48
3
answers

Using pluck laravel eloquent

I want to call a method of my laravel driver to return a JSON with the data that a DDBB. I have a Produtos table with the fields:    id, name, idCategoria, idGenero, stock A table Category with:    id, name, created And a Genre tab...
asked by 08.05.2018 / 17:02
0
answers

How can I delete tables from another database connection in laravel with php artisan migrate: fresh

I am working on a system where I need to connect to two databases, I was able to generate the connection so that at the time of migrations, I generated the tables in their respective database. My problem starts when I try to delete them and m...
asked by 21.05.2018 / 19:04
1
answer

Error trying to create a PDF Curriculum

You see, I have to create a pdf with the curriculum of a person. They have to put that person's data, training courses and languages and their work experience. User: Schema::create('users', function(Blueprint $table){ $table->inc...
asked by 06.05.2018 / 22:09
0
answers

Error uploading video with Laravel 5.4

I have the following error that I can not solve being something so simple. I try to upload a video to later save it, but in the process I am shown the following message: The video failed to upload. The code of the form is as follows:...
asked by 05.05.2018 / 17:02
1
answer

Change value of an SQL column

I am doing a project in laravel and MYSQL, I would like to know if there is any way that if the stock is different to 0 the state becomes 'not available', in case there is no MYSQL, there is a manager of DDBB that allows me?     
asked by 05.05.2018 / 21:16
0
answers

Set Daily Limit to Queue: work Laravel 5.6

I have the following problem I am trying to send bulk mails (notifications) to certain records that I have in my database, the problem is that I am using a corporate mail and the limit is 250 emails per day, there is some possibility of the n...
asked by 05.05.2018 / 22:43
1
answer

Difficulties with foreign codes

You see, I have a User table with these variables: Schema::create('users', function(Blueprint $table){ $table->increments('id'); $table->string('name'); $table->string('second_name')->nullable(); $ta...
asked by 10.05.2018 / 16:46