PHPackages                             ianl28/starter-files - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ianl28/starter-files

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ianl28/starter-files
====================

PHP class library to run as script from Composer in order to create the starter files for a PHP project.

0461PHP

Since Oct 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ianlow27/starter-files)[ Packagist](https://packagist.org/packages/ianl28/starter-files)[ RSS](/packages/ianl28-starter-files/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (1)

README
======

[](#readme)

This is a simple utility run after the Composer init command, that creates the essential starter files for a project, namely, the ./src/Class.php, ./README.md, ./LICENSE.md (MIT), ./CONTRIBUTING.md, ./CHANGELOG.md, ./.gitignore, ./src/test.php and ./src/servephp.sh.

Compatibility
-------------

[](#compatibility)

Tested up to PHP 7, should be compatible with PHP 5.3 or above

Installation
------------

[](#installation)

The following instructions are used to create a new PHP project from scratch using ianl28/starter-files:

1. Create a new folder for the new project by entering **mkdir newproj**
2. Navigate into the new folder **cd newproj**
3. Create a new composer.json file by entering **composer init**
4. Enter the necessary values. Ensure that the minimum stability is set to **dev**.
5. Ensure that the internet is connected
6. Run **composer require ianl28/starter-files**
7. Then add these lines to your composer.json:

```
    "scripts": {
      "post-status-cmd": "Ianl28\\StarterFiles\\StarterFiles::run"
    },
```

1. Then run **composer status**
2. The following files should then be created: ./index.php, ./README.md, ./LICENSE.md, ./CONTRIBUTING.md, ./.gitignore, ./src/Newproj.php, ./src/test.sh, ./src/servephp.sh
3. Then add these lines to your composer.json:

```
    "autoload": {
        "psr-4": {
            "Namespace\\Newproj\\": "src/"
        }
    },
```

1. Then run **composer update**
2. To start the PHP server and serve ./index.php on the browser, **cd ./src**, and then enter **servephp.sh**, and then point the browser to **localhost:3000**
3. Alternatively, the class Newproj may be run from ./ as **php index.php** or from ./src as **php test.php**

Change Log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on the recent changes.

Contribute
----------

[](#contribute)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- Ian Low ()

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/199374313?v=4)[ianl28](/maintainers/ianl28)[@IanL28](https://github.com/IanL28)

---

Top Contributors

[![ianlow27](https://avatars.githubusercontent.com/u/75550817?v=4)](https://github.com/ianlow27 "ianlow27 (7 commits)")

### Embed Badge

![Health badge](/badges/ianl28-starter-files/health.svg)

```
[![Health](https://phpackages.com/badges/ianl28-starter-files/health.svg)](https://phpackages.com/packages/ianl28-starter-files)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
