Questions tagged as 'laravel'

1
answer

Conflict IoC Laravel 5.3

I have the following codes: Chat Staff Service namespace Chat\Api\V1\Services\Chat; class ChatStaffService extends Service { private $chatService; public function __construct(ChatService $chatService) { $this->...
asked by 13.01.2017 / 14:58
1
answer

Load a Combobox with Selected Value

I need to edit an equipment registry that has multiple combos and when I click edit, load select already with selected selected. I found that Laravel automatically identified but did not seem to. I load by doing foreach...
asked by 29.12.2016 / 11:58
1
answer

Example of XML import using Lavarel

Does anyone have a clear example to import XML using Laravel Parser or SimpleXML ...? I have a scenario where I have to import an XML from an external system that contains various information generated in an XML ... I need to get this XML genera...
asked by 10.02.2017 / 20:11
1
answer

List of project directories in Laravel is displayed instead of running the application [duplicate]

I would like your help to know why my PHP project with the Laravel Framework does not work, I have done all the steps correctly, but instead of seeing the framework, I am seeing your folders     
asked by 11.10.2015 / 04:39
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
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

Problem in making a field search by date and id

I've made a search field but I'm not able to search by date or by id. The database I use is Postgres, I'm using Laravel 5.2 framework public function scopeSearchByKeyword($query, $keyword) { if ($keyword!='') { $query->wher...
asked by 08.11.2016 / 02:07
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
2
answers

Problems with charset in laravel

I have a Firebird database that was not built through migrations in Laravel , and it has ISO-8859-1 and I need to return an object in JSON format for my application, however, doing this, the following error occurs:...
asked by 07.10.2016 / 16:12
0
answers

How to host my site created in Laravel on the Hosting Server? [HTTP ERROR 500] [closed]

I'm trying to host my site developed in Laravel on the web site (Locaweb), but an error (HTTP ERROR 500) is not working. File structure: link PHP Version: PHP Version 5.6.14 I modified public / index.php //require __DIR__.'...
asked by 14.09.2016 / 16:14