Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 380 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 380 Bytes

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/.