Questions tagged as 'laravel'

1
answer

How to get the absolute path of the blade from View?

Laravel 4.2 I need to get the full .blade directory after rendering, how do I do that? I've been trying to navigate through the Application, this seems to be a bad idea, but I have not found any native methods that do this. dump(app()-&g...
asked by 16.07.2018 / 16:39
4
answers

Laravel "delete does not exist."

I'm having an error when I try to delete an element from my bank. All other actions to insert are working. .Ihaveanactionbuttonthatshouldpayanexamofmytable Itappearsthatthedeletemethoddoesnotexist. Thisismycontroller Therouteiscorrect,becauseth...
asked by 18.07.2018 / 20:01
1
answer

Laravel - make DB :: table () without using Join

I'm moving with laravel and I'm learning object orientation and wanted to do a select without using the join but as object oriented and I know I'm not getting it. As I'm accustomed to using: $results = DB::select("SELECT u.foto, u.Ninck,o.I...
asked by 12.07.2018 / 21:12
2
answers

Laravel does not install

kalil@debian:~$ composer global require "laravel/installer" Changed current directory to /home/kalil/.config/composer Using version ^2.0 for laravel/installer ./composer.json has been created Loading composer repositories with package information...
asked by 12.07.2018 / 03:36
1
answer

Accessor / Laravel Mutator

Replacing "," with "." by Laravel's Mutator Returns empty and not saved to the bank. ProductsController namespace App\Http\Controllers; use Prettus\Validator\Contracts\ValidatorInterface; use Prettus\Validator\Exceptions\ValidatorExcepti...
asked by 25.07.2018 / 07:32
1
answer

Translation error on adminLTE template buttons

I have developed a project that uses the adminLTE template and the Laravel Framework. But when migrating the project to the production server the buttons in the template are unconfigured. I need your help to solve this problem, follow the images...
asked by 25.07.2018 / 15:14
0
answers

Read Excel spreadsheet content PHP / Laravel

Is there any component for Laravel to read an "Excel" file (format: xls)? Excel Laravel does the export very well. There was a "load" method in previous versions that no longer exists.     
asked by 10.07.2018 / 19:54
1
answer

Create a link to a single user without a password in the database

Currently I have a DB of budgets, clients and workshops. When I generate a customer demand I have to quote the value in the workshops and then choose the best cost x benefit and pass it on to the customer. What I want to do is generate a link...
asked by 13.07.2018 / 03:48
1
answer

Relation between the tables laravel 5.5

I would like a suggestion on how to implement relationship between tables in laravel using migration. public function up() { Schema::create('professors', function (Blueprint $table) { $table->increments('id'); $table-&g...
asked by 11.07.2018 / 19:34
1
answer

Relationship error and method not found

I am studying Laravel and I have difficulties to perform the relationship of an associative table linking 3 domain tables. example of my template: The problem is that I can not map from my command to other entities. Here is my code:...
asked by 18.07.2018 / 16:07