Category : vscode-extensions

I’m working on a simple laravel api but the post method on Rest client only returns a redirection. This is my RegisterController, public function store(Request $request) { $this->validate($request, [ ‘name’ => ‘required|max:255’, ‘username’ => ‘required|max:255′, ’email’ => ‘required|email|max:255’, ‘password’ => ‘required|confirmed’, ]); $success = User::create([ ‘name’ => $request->name, ‘username’ => $request->username, ’email’ => $request->email, ‘password’ ..

Read more

I working in a Laravel Project. I have below code. $request->validate([ ‘name’ => ‘required|string|max:255′, ’email’ => ‘required|string|email|max:255|unique:users’, ‘password’ => ‘required|string|confirmed|min:8’, ]); I am looking for VS code extension which can format PHP code like below $request->validate([ ‘name’ => ‘required|string|max:255′, ’email’ => ‘required|string|email|max:255|unique:users’, ‘password’ => ‘required|string|confirmed|min:8’, ]); Sourc..

Read more

I have recently installed php debugger by Felix Becker. No matter whatever config settings I do, my debugger is not hitting anything. Following are my conf files. xdebug.ini [xdebug] ; debug xdebug.default_enable = ${PHP_XDEBUG_DEFAULT_ENABLE} xdebug.remote_autostart = ${PHP_XDEBUG_REMOTE_AUTOSTART} xdebug.remote_connect_back = 0 xdebug.remote_host = ${PHP_XDEBUG_REMOTE_HOST} xdebug.remote_port = ${PHP_XDEBUG_REMOTE_PORT} xdebug.remote_enable = 1 xdebug.idekey = ${PHP_XDEBUG_IDE_KEY} ; profiling xdebug.profiler_enable ..

Read more

I am facing an error in Visual Studio (Error:"Cannot validate since no PHP executable is set. Use the setting ‘php.validate.executablePath’ to configure the PHP executable".) I have googled the solution for it, I got some satisfactory answers but in that, they have asked me to set a path for PHP file (php.exe). I have downloaded ..

Read more