benjaminmal/library-template

Benjaminmal library template

v2.0.0 2022-09-05 21:17 UTC

README

Installation & usage

  1. Create your library
$ composer create-project benjaminmal/library-template my-library
  1. Modify composer.json to fit with your library
{
  "name": "my-org/my-library",
  "description": "My library",
  "type": "library",
  "autoload": {
    "psr-4": {
      "MyNamespace\\MyLibrary\\": "lib/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "MyNamespace\\MyLibrary\\Tests\\": "tests/"
    }
  }
}
  1. Initialize git
$ git init
  1. Enjoy!!