Skip to content

zacharylund/vim-php-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim PHP Skeleton

Use Composer's autoload definitions to pre-populate PHP files with namespace and class details.

For example, running vim src/Foo/Bar.php in a directory with an appropriate composer.json file will open a new file with the contents:

<?php

declare(strict_types=1);

namespace Foo;

final class Bar
{

}

For PHPUnit tests, run phpunit tests/.

About

Use Composer PSR-4 autoloader config to generate skeleton PHP files in Vim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published