All Projects → brapifra → vscode-phpserver

brapifra / vscode-phpserver

Licence: other
Visual Studio Code extension to quickly serve your PHP projects :)

Programming Languages

typescript
32286 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to vscode-phpserver

multicopy
VS Code extension to copy and paste multiple snippets of code in your workspace.
Stars: ✭ 29 (-53.23%)
Mutual labels:  vscode-extension
todo-txt
Todo.txt syntax highlighter and helper extension for visual studio code.
Stars: ✭ 39 (-37.1%)
Mutual labels:  vscode-extension
vscode-material-product-icons
Product Icon Theme with Material Icons for VS Code
Stars: ✭ 19 (-69.35%)
Mutual labels:  vscode-extension
vscode-gleam
📟 Gleam support for VS Code
Stars: ✭ 34 (-45.16%)
Mutual labels:  vscode-extension
graphql-codegen-vscode
vscode extension which runs graphql-codegen whenever you save a query/mutation
Stars: ✭ 41 (-33.87%)
Mutual labels:  vscode-extension
ProtheusDoc-VsCode
Repositório para implementação dinâmica do ProtheusDoc do TDS para VsCode
Stars: ✭ 19 (-69.35%)
Mutual labels:  vscode-extension
vscode-tlaplus
TLA+ language support for Visual Studio Code
Stars: ✭ 213 (+243.55%)
Mutual labels:  vscode-extension
vscode-jump
🏃‍♂️ Jump/Select to the Start/End of a word in VSCode
Stars: ✭ 67 (+8.06%)
Mutual labels:  vscode-extension
theme-bluloco-light
A fancy but yet sophisticated light designer color scheme.
Stars: ✭ 73 (+17.74%)
Mutual labels:  vscode-extension
vscode-magento-wizard
Helps develop Magento 2 extensions using VSCode
Stars: ✭ 22 (-64.52%)
Mutual labels:  vscode-extension
Shortcut-Menu-Bar-VSCode-Extension
Add handy buttons like beautify, show opened files, save, toggle terminal, etc to the editor menu bar in VSCode. You can also create your own buttons with custom commands. VSCode Marketplace link: https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar
Stars: ✭ 126 (+103.23%)
Mutual labels:  vscode-extension
vscode-fzf-quick-open
vscode extension providing quick file/folder open and searching using fzf
Stars: ✭ 42 (-32.26%)
Mutual labels:  vscode-extension
vscode-px-to-rem
Extension that allows you to convert from px to rem, and vice versa
Stars: ✭ 36 (-41.94%)
Mutual labels:  vscode-extension
markdown-live
📝 Real-time Markdown Editor & Previewer for VS Code
Stars: ✭ 18 (-70.97%)
Mutual labels:  vscode-extension
swdc-vscode-100-days-of-code
A VS Code extension that helps you reach your goals in completing the 100 Days of Code challenge
Stars: ✭ 45 (-27.42%)
Mutual labels:  vscode-extension
clj-kondo.lsp
Clj-kondo language server and VSCode extension: https://marketplace.visualstudio.com/items?itemName=borkdude.clj-kondo
Stars: ✭ 17 (-72.58%)
Mutual labels:  vscode-extension
SmartContractTrading-wFabric1-4-VSCodeExt
Learn now to create a smart contract with VSCode
Stars: ✭ 27 (-56.45%)
Mutual labels:  vscode-extension
vscode-mermaid-editor
Live editor and image creator for mermaid.js in Visual Studio Code
Stars: ✭ 23 (-62.9%)
Mutual labels:  vscode-extension
vscode-php-sniffer
Visual Studio Code extension for PHP_Codesniffer validation and formatting.
Stars: ✭ 41 (-33.87%)
Mutual labels:  vscode-extension
componizer
vs code extension for refactoring to components
Stars: ✭ 31 (-50%)
Mutual labels:  vscode-extension

PHP Server CI

Buy Me a Coffee at ko-fi.com

Host / serve current workspace (or subfolder) with PHP.

demo

Getting started

There are multiple ways of running PHP server:

  • CTRL + SHIFT + P and searching for PHP Server: Serve project command
  • Clicking on vscode's editor button (icon on the top-right corner)
  • Right-clicking on vscode's editor when a .php or an .html is open.

To stop the server, the PHP Server: Stop project command can be executed likewise.

Commands

All commands can be executed by pressing CTRL + SHIFT + P and typing the name of the command.

Command Notes
PHP Server: Serve project
PHP Server: Stop project
PHP Server: Reload server Stops the running server and starts it again.
PHP Server: Open file in browser Quickly opens the URL of the active file in the browser. If the server is not running, this command will fail.

Settings

Setting Default Notes
phpserver.autoOpenOnReload true Enable/disable automatic opening of server's URL in the browser after server has been reloaded.
phpserver.browser null App used to open the server URL. If empty, it will use the default browser.
You can put any browser name here as long as it's installed in your machine (e.g. google-chrome, firefox, chromium-browser...)
phpserver.ip localhost Server's ip/hostname (e.g. localhost, 0.0.0.0...)
phpserver.phpConfigPath null Path to php.ini file. If empty, the extension uses the default path.
phpserver.phpPath null Path to PHP executable. If empty, the extension will try to get the path from the $PATH environment variable.
phpserver.port 3000 Server's port number.
phpserver.relativePath "." Path relative to project. This is useful when you want to serve a different folder than the one from current workspace.
phpserver.router null Path to custom router script that will be used by PHP server. Example.
If a custom router script is used on a Windows machine, there will be no console output unless a logger like this is included in the script.

Requirements

  • PHP needs to be installed in order to be able to use this extension.

Author

Brais Piñeiro

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].