npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

devsense-php-ls

v1.0.18170

Published

Devsense PHP Language Server

Readme

DEVSENSE PHP Language Server

This package provides language server for PHP.

🧠 Language Server

The language server is provided as a platform-specific binary executable file, located in node_modules/devsense-php-ls-${os}-${cpu}/dist/devsense.php.ls.

The functionality is provided to end-users under a freemium model. See 🔐 Activation section below for details.

🧬 Protocol

The language server is controlled using the Language Server Protocol according to https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/ through STDIN/STDOUT.

There are several additions:

  • "initialize" method, parameter:
{
    "initializationOptions": {
        "0": "KEY or {JSON CODE}",
        "clientFeatures": [],
        // VSCode settings and their values listed on
        // https://docs.devsense.com/vscode/configuration/
        // "setting-id": "value",
    },

    // process ID of client allowing
    // LS to automatically kill itself if client exits
    "processId": 123456,
    
    // ...
}
  • "devsense/loadStatus" notification sent from server to client.

🔐 Activation

The language server provides free features and premium features which needs to be activated by end-user.

Note to developers: To unlock the premium features of this package, instruct end-users to follow the steps below:

  1. Purchase a License: User needs to purchase license on official purchase page: https://www.devsense.com/purchase

  2. Activate Language Server

    Set the value of license key into DEVSENSE_PHP_LS_LICENSE environment variable or "initializationOptions"."0". Language Server will try to activate automatically upon starting (requires Internet connection).

  3. Optional: Offline Activation

    In case there is no Internet connection: User will follow the link below to validate license and receive a {JSON CODE}: devsense.com/purchase/validation

    Pass the entire {JSON CODE} into the language server's initialize method, as a "initializationOptions"."0" property:

    {
      "initializationOptions": {
         "0": "{JSON CODE}",
      },
    }

    Or store the {JSON CODE} into environment variable DEVSENSE_PHP_LS_LICENSE.


If you encounter any issues during the activation process, please refer to our documentation or contact support.

📜 Agreement

By including this package as a dependency in your project—whether for personal, commercial, or open-source use—you agree to the following:

  • Attribution is required: You must include a visible link to this README file in your project documentation (e.g. in your README.md, about page, or developer docs).

  • This is to ensure that end users and developers are aware:

    • Who the original authors and maintainers of this package are
    • How to access premium features, including purchasing and activation steps

This visibility helps support ongoing development and ensures fair use under our freemium model.

If you cannot comply with this requirement or need a custom license, please contact us for a commercial agreement.