NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Laravel Autocomplete


Joined: 15 Aug 2017
Posts: 3
Reply with quote
I am testing PhpEd with Laravel and can't get the autocomplete working with the model classes.

Example
Migration "items" with database field
$table->string('ItemID', 12)->default("");

Model "item" standard without any modifications

After creating an instance of the model i can assign a value to the member ItemId,
but ItemId isn't shown by the autocomplete.

$Item = new item;
$Item->ItemID = '1234';

Is there a configuration setting for Laravel that enables these autocomplete functions?
View user's profileFind all posts by RichmanSend private message


Joined: 15 Aug 2017
Posts: 3
Reply with quote
There is a Laravel Package barryvdh/laravel-ide-helper that scans the migrations and inserts the necessary PhpDoc comments for the models.
View user's profileFind all posts by RichmanSend private message
Laravel Autocomplete
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic