PHPackages                             localheinz/repository - 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. localheinz/repository

Abandoned → [localheinz/php-library-template](/?search=localheinz%2Fphp-library-template)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

localheinz/repository
=====================

Provides templates for GitHub repositories.

189

Since Oct 24Pushed 6y agoCompare

[ Source](https://github.com/localheinz/repository)[ Packagist](https://packagist.org/packages/localheinz/repository)[ RSS](/packages/localheinz-repository/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

repository
==========

[](#repository)

You

- have an idea for a project involving PHP
- can't wait to get started
- are tired of creating the basics from scratch all the time

and this project provides a template for creating a new PHP project faster.

Follow the example steps outlined below to get started!

1. Create a project
-------------------

[](#1-create-a-project)

Let's assume we want to create the project in `~/Sites/foo/bar`, so let's run

```
$ composer create-project localheinz/repository ~/Sites/foo/bar dev-php

```

to create a project based on the [`php`](https://github.com/localheinz/repository/tree/php) branch.

For reference, see .

Now, change into the newly created project so we can move forward:

```
$ cd ~/Sites/foo/bar

```

2. Modify starting point to your needs
--------------------------------------

[](#2-modify-starting-point-to-your-needs)

### `.travis.yml`

[](#travisyml)

After you have enabled the project on , you probably want to

- obtain and encrypt a `GITHUB_TOKEN`
- obtain and encrypt a `CODECLIMATE_REPO_TOKEN`

to replace the existing, encrypted tokens (they will not work for you).

```
env:
  global:
    - secure: "..."
    - secure: "..."
```

For encrypting tokens, you need [`travis-ci/travis.rb`](https://github.com/travis-ci/travis.rb), see their [installation instructions](https://github.com/travis-ci/travis.rb#installation).

### `composer.json`

[](#composerjson)

You probably want to adjust

- `name`
- `description`
- `author`
- `license`
- `autoload` and `autoload-dev` configuration

For details see .

### `README.md`

[](#readmemd)

You probably want to adjust

- title
- links for badges
- etc.

3. Initialize git project
-------------------------

[](#3-initialize-git-project)

Run

```
$ git init

```

to initialize a git project.

Run

```
$ git add .

```

to add the existing files.

Run

```
$ git commit -m 'Initial commit'

```

to create an initial commit.

4. Push to remote
-----------------

[](#4-push-to-remote)

Assuming you have created a corresponding GitHub project `foo/bar`, run

```
$ git remote add origin git@github.com:foo/bar.git

```

to add the remote.

Then run

```
$ git push origin

```

👍 Voilà, you have created your project - happy coding!

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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://www.gravatar.com/avatar/8cabc9efd157e2b47aa5aa9830180f5ebd07813cc3e93ff1a9993b2c3d264909?d=identicon)[localheinz](/maintainers/localheinz)

---

Top Contributors

[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (3 commits)")[![jpuck](https://avatars.githubusercontent.com/u/15305396?v=4)](https://github.com/jpuck "jpuck (1 commits)")

### Embed Badge

![Health badge](/badges/localheinz-repository/health.svg)

```
[![Health](https://phpackages.com/badges/localheinz-repository/health.svg)](https://phpackages.com/packages/localheinz-repository)
```

###  Alternatives

[openpsa/ranger

Formatter for date and time ranges with i18n support

76177.6k3](/packages/openpsa-ranger)[backpack/activity-log

Activity Log for Backpack

3487.5k1](/packages/backpack-activity-log)[pirsch-analytics/laravel-pirsch

Official Laravel integration for Pirsch Analytics.

4746.1k2](/packages/pirsch-analytics-laravel-pirsch)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21166.3k](/packages/techdivision-ckstyles)[laravie/geotools

Geo-related tools PHP 7+ library

19105.4k1](/packages/laravie-geotools)[denniseilander/pulse-about-application

A Laravel Pulse card that displays application information by leveraging the output of the php artisan about command.

15101.3k](/packages/denniseilander-pulse-about-application)

PHPackages © 2026

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