Questions tagged as 'laravel'

1
answer

Select columns in different tables

I'm using Laravel 5.3 and would like to use columns from two different tables related to foreign key: For example:    Client table id | nome | end_cep 1 | carlos | 69084555 2 | Maria | 69088555    Address table cep...
asked by 26.10.2017 / 15:34
1
answer

JS does not work after running "npm run dev"

Good afternoon, I'm studying Laravel 5.7 and was looking to use a plugin called progressbar.js . One of the ways to install the plugin is to play the file progressbar.js direct in public/js of Laravel, after that, I write where I...
asked by 26.09.2018 / 20:12
1
answer

Format data before saving in bank

I am using Laravel to develop a system, but I have a problem with the data coming from a form, I need to format a data in the following format ( #. ## strong>) to perform certain calculations, the problem that the value comes with the f...
asked by 22.09.2017 / 14:06
1
answer

Concatenate multiple sass / css files in a single final css

I'm using laravel 5.4, which by default brings a webpack.mix.js file which will be the files to be concatenated and their destination. My problem is concatenating scss files with css , what I have in webpack.mix.js...
asked by 23.08.2017 / 19:09
2
answers

Correct use of Laravel Mutators 5.1. Is it possible to use in this way described below?

Hello, I'm using Laravel 5.1 at the moment and I had a question. I have a grid that shows values of a certain CRUD and in it I search through Table :: all (), which returns something like: array:5 [▼ "primary_key_id" => 1, "foreing_key_id...
asked by 06.10.2015 / 16:09
1
answer

Manual Paging in Laravel 5.1

I'm trying to use Laravel 5.1 manual paging because I have a query that needs to be written with DB's select, but paging does not work! It returns me all the data on the screen without paging. Follows: use Illuminate\Pagination\LengthAwareP...
asked by 06.08.2015 / 16:40
3
answers

Problem with special characters laravel

I'm starting to learn about Laravel 5 and I'm having a problem, every text I write with special characters is converted to ' '. I have tried all charset configurations from ISO-8859-1 through UTF-8. Have some way to set this up in laravel...
asked by 19.08.2015 / 21:17
1
answer

Multiple applications in the same domain Nginx

Good morning people, I'm breaking my head here. I have a server with nginx and it has two applications: 1 - Application Laravel / usr / share / nginx / html / laravel / public 2 - Joomla Application / usr / share / nginx / html / joomla...
asked by 12.04.2015 / 19:08
2
answers

Soft Delete and relationships in Laravel 4

I would like to know if there is any way to use soft delete but check if there are relationships / data / records attached to the record that will be deleted before deleting. That's clear, using only Laravel himself. So, how to check rela...
asked by 01.08.2014 / 22:00
2
answers

Form Construction

After several months without using Laravel, I now return with this version 5. It may sound like bullshit, but I'm having trouble creating a simple form. It seems that the Illumiante / html is not coming by default in the framework, so it is nece...
asked by 20.02.2015 / 16:41