From 853e5b553166c0d6cded5e80a39fff00654ec8c9 Mon Sep 17 00:00:00 2001 From: Thomas Neumann Date: Thu, 11 Jul 2024 13:21:33 -0500 Subject: [PATCH] Update for v1.0.0 --- README.md | 24 ------------------------ composer.json | 3 +++ 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index e62727d..4f5c58b 100644 --- a/README.md +++ b/README.md @@ -9,27 +9,3 @@ don't need to learn a new markup system. ## Note for php 8.1 For php 8.1 we swapped using Saltybeagle's package to this repo. We did this so we can more easily update and maintain the package. - -### Update to composer.json - -```JSON -{ - "type":"package", - "package": { - "name": "unl/savvy", - "version": "master", - "source": { - "url": "https://github.com/unl/Savvy.git", - "type": "git", - "reference": "master" - } - } -} -``` - -1. First we added the repo to the "repositories" section in the json file -2. We then changed `"saltybeagle/savvy": "#.#",` to `"unl/savvy": "dev-master",` so we always pull from the master branch -3. We also need to add `"Savvy": "vendor/unl/savvy/src"` in the psr-0 section of the the autoload so that Savvy's namespace is used correctly -4. After all the changes are made we may need to clear the cache and re-install `composer clear-cache && composer install` - -[Saltybeagle's Package](https://packagist.org/packages/saltybeagle/savvy) diff --git a/composer.json b/composer.json index 1c86e19..cd89409 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,9 @@ "email": "tneumann9@unl.edu" } ], + "require": { + "php": "^8.1" + }, "autoload": { "psr-0": { "Savvy": "src/" } }