// docs

PHP autocomplete

How LaraBench provides Laravel-aware suggestions in the editor.

The Run Code editor uses Monaco with PHP language intelligence. LaraBench also generates Laravel stubs so common helpers, facades, container bindings, and model patterns are easier to complete.

Project-aware suggestions

When a connection points to a local Laravel project folder, LaraBench can mirror useful project symbols into its PHP workspace. That helps the editor suggest your own models, properties, scopes, and relations.

When suggestions are thin

  • Check that the local project path is set on the connection.
  • Make sure the project has a normal Laravel structure.
  • Give the language server a moment after switching projects.
  • Use fully qualified model names when the editor cannot infer a class.