Questions tagged as 'laravel-5'

0
answers

Configure php + laravel 5. * to work with sybase

Greetings community asked me if someone could configure laravel to work with sybase. I've been testing with Laravel SQLAnyWhere and I have not succeeded, if someone could have done it could help me with a tutorial .     
asked by 01.03.2018 / 17:04
1
answer

Help with package in laravel 5

I need some help to use this packet ( picqer / php-barcode-generator ) in my project Laravel 5 . Installation : composer require picqer/php-barcode-generator Driver : use src\BarcodeGeneratorJPG; Driver : public function index...
asked by 01.03.2018 / 18:00
3
answers

Failed to extend layouts.app

In the app.blade.php file I have the following code inside the "body" tag: style="background-image: url('fondos/fondo.jpg')" This will be inherited in other views and will make all views have this image, as in this: @extends('layouts.app'...
asked by 21.02.2018 / 16:53
0
answers

Interact with sweet alert in Laravel dusk

How I could interact with the alert of sweet alert ( link ) in laravel dusk I tried, this but it does not work public function testBusquedaRVacio() { $this->browse(function (Browser $browser) { $browser->maximize()...
asked by 22.02.2018 / 18:11
1
answer

how to change profile image and delete the old one in laravel

I'm learning laravel and I'm doing a user panel where this has an avatar by default, the user can change their profile image, and I can upload the image and deploy it, the problem is that every time I upload a new image, the old one remains in t...
asked by 13.02.2018 / 19:46
0
answers

Driver [] is not supported

You see, I'm doing a url with which to see images of a table of plants. web.php: Route::get('/images/{path}/{attachment}', function($path, $attachment){ $storagePath = Storage::disk($path)->getDriver()->getAdapter()->getPathPrefix...
asked by 15.02.2018 / 19:34
1
answer

Specify routes in Laravel 5.5

I'm doing a draft of a page starting with making the routes. These are the routes so far: Route::get('/', function () { return view('inicio'); }); Route::get('instituto', function () { return view('instituto'); }); This is the layout:...
asked by 11.02.2018 / 22:24
1
answer

Filter tables according to foreign variable

You see, I'm doing a Laravel project in which I have a table called Plants and another call Comments. The story is that I want to allow users to write comments to ask about plants. In relation to this, I want to create a view in which you can se...
asked by 11.02.2018 / 22:15
1
answer

See images stored in a view of Laravel

You see, I have a table of plants which has the following properties: Schema::create('plantas', function (Blueprint $table){ $table->increments('id'); $table->string('nombre'); // Nombre de la planta....
asked by 14.02.2018 / 15:14
2
answers

Laravel AJAX Delete route

Working with Laravel 5.5 I have a problem with the variable "id" when placing the AJAX route. I happened to show you Route Route::DELETE('deletePlan/{id}', 'FormDController@deletePlan')->name('d.deletePlan'); In the AJAX I have the fo...
asked by 09.02.2018 / 02:09