return { { "neovim/nvim-lspconfig", opts = { -- @type lspconfig.options servers = { intelephense = { stubs = { "bcmath", "bz2", "calendar", "Core", "curl", "date", "dba", "dom", "enchant", "fileinfo", "filter", "ftp", "gd", "gettext", "hash", "iconv", "imap", "intl", "json", "ldap", "libxml", "mbstring", "mcrypt", "mysql", "mysqli", "password", "pcntl", "pcre", "PDO", "pdo_mysql", "Phar", "readline", "recode", "Reflection", "regex", "session", "SimpleXML", "soap", "sockets", "sodium", "SPL", "standard", "superglobals", "sysvsem", "sysvshm", "tokenizer", "xml", "xdebug", "xmlreader", "xmlwriter", "yaml", "zip", "zlib", "wordpress", "woocommerce", "acf-pro", "acf-stubs", "wordpress-globals", "wp-cli", "genesis", "polylang", "sbi", }, diagnostics = { enable = true }, filetypes = { "php", "blade" }, settings = { intelephense = { filetypes = { "php", "blade" }, files = { associations = { "*.php", "*.blade.php" }, -- Associating .blade.php files as well maxSize = 5000000, }, }, }, }, }, }, }, }