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->...
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...
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...
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
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 }}"> {{...
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...
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...
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...
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:...
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__.'...