Skip to content

emacs-php/ob-phpstan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ob-phpstan

This org-mode babel extension enables you to execute phpstan code blocks.

Install

Requirement

You need to install phpstan to use this extension.

with Melpa

yet

with Manually

Add ob-phpstan.el to your load-path and require.

(add-to-list 'load-path "/path/to/ob-phpstan.el")
(require 'ob-phpstan)

Configure

(eval-after-load "org" '(add-to-list 'org-src-lang-modes '("phpstan" . phpstan)))

Example

class HelloWorld
{
        public function sayHello(DateTimeImutable $date): void
        {
                echo 'Hello, ' . $date->format('j. n. Y');
        }
}

About

Emacs org-mode babel support for phpstan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •