Skip to content

Releases: ramsey/php-library-starter-kit

3.3.0

26 Sep 21:53
3.3.0
f4776d3

Choose a tag to compare

Added

  • Allow use of an existing answers file when creating new projects.

    When using Composer's create-project command, users may now provide an environment variable (STARTER_KIT_ANSWERS_FILE) to indicate the location of an already-existing answers file to use when setting up a new library. This must be a JSON file including properties defined in Ramsey\Dev\LibraryStarterKit\Answers. To completely turn off the question prompts, include the property skipPrompts: true.

    For example:

    STARTER_KIT_ANSWERS_FILE=/path/to/answers.json composer create-project ramsey/php-library-starter-kit YOUR-PROJECT-NAME
  • Include a builder task (Ramsey\Dev\LibraryStarterKit\Task\Builder\FixStyle) that fixes any style issues before instantiating the new repository. This avoids coding standards errors caused by out-of-order use statements, etc.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

3.2.2

11 Aug 01:21
3.2.2
3e34279

Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Remove description case from Conventional Commits configuration, since the lowercase requirement causes confusion
  • Remove PHPStan and Psalm checks from pre-commit hook, since these can result in false positives/negatives when analyzing only a few files at a time
  • Use https in URLs
  • Use the correct branch name in GitHub URLs

3.2.1

07 Aug 00:51
3.2.1
2f20f06

Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Fix link to SECURITY.md

3.2.0

06 Aug 23:55
3.2.0
a410516

Choose a tag to compare

Added

  • Provide Creative Commons Zero v1.0 Universal as a license option

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Write a Coordinated Disclosure section to the README if choosing to include a security policy
  • Move the pull request template so that GitHub will use it

3.1.1

05 Aug 19:56
3.1.1
4db20fe

Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Detect author name and email using Git config

3.1.0

05 Aug 18:57
3.1.0
1f5f8d6

Choose a tag to compare

Added

  • Use the author name and email address for git config, if necessary
  • Require the author email address

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Set the branch name after the initial commit to avoid errors on older versions of Git

3.0.3

04 Aug 22:33
3.0.3
ce33881

Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Support older versions of Git that do not implement the -b option for git init
  • Improve exception handling to aid with debugging

3.0.2

18 Jul 22:39
3.0.2
7ea06d1

Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Add missing newline to end of generated composer.json file

3.0.1

18 Jul 22:05
3.0.1
840292a

Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Make sure CaptainHook installation runs after the repository initialization

3.0.0

14 Jul 23:00
3.0.0
dfd1079

Choose a tag to compare

Added

  • Allow users to exit the wizard and restart it later, saving their answers
  • Use ramsey/devtools instead of vnd:* scripts in the local composer.json
  • Use CaptainHook to manage Git hooks
    • Enforce the use of Conventional Commits
    • Validate and check normalization of composer.json in pre-commit hook
    • Run syntax, style, and static analysis checks in pre-commit hook
    • Run composer install on post-merge and post-checkout hooks
    • Run composer test in pre-push hook
  • Add option to include a security policy (vulnerability disclosure policy) as part of the wizard
  • Add GitHub Actions configuration for CI workflows
  • Add Codecov configuration for viewing code coverage reports
  • Use ramsey/coding-standard

Changed

  • Rename from ramsey/php-library-skeleton to ramsey/php-library-starter-kit
  • Major re-working of the library to use symfony/console

Deprecated

  • Nothing.

Removed

  • Remove dependencies on NodeJS and npm packages
  • Remove all vnd:* scripts from composer.json
  • Remove bin/repl, since ramsey/devtools uses ramsey/composer-repl
  • Remove Travis CI configuration, in favor of GitHub Actions
  • Remove Coveralls configuration, in favor of Codecov

Fixed

  • Nothing.