From c5ec492964e795af65c977f0238a0f36d36cada8 Mon Sep 17 00:00:00 2001
From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com>
Date: Wed, 22 May 2024 11:27:55 -0300
Subject: [PATCH] Fix docs (#57)
---
README.md | 8 ++++----
composer.json | 14 ++++++++++++--
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 7946480..4c3dee2 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-
+
Yii Security
@@ -55,7 +55,7 @@ The following extras are available via PHP directly:
### Password hashing and validation
Working with passwords includes two steps. Saving password hashes:
-
+
```php
$hash = (new PasswordHasher())->hash($password);
@@ -172,8 +172,8 @@ hash_equals($expected, $actual);
- [Internals](docs/internals.md)
-If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place
-for that. You may also check out other [Yii Community Resources](https://www.yiiframework.com/community).
+If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
+You may also check out other [Yii Community Resources](https://www.yiiframework.com/community).
## License
diff --git a/composer.json b/composer.json
index f8f2711..6621825 100644
--- a/composer.json
+++ b/composer.json
@@ -17,12 +17,22 @@
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/security/issues?state=open",
+ "source": "https://github.com/yiisoft/security",
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"irc": "ircs://irc.libera.chat:6697/yii",
- "chat": "https://t.me/yii3en",
- "source": "https://github.com/yiisoft/security"
+ "chat": "https://t.me/yii3en"
},
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/yiisoft"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/yiisoft"
+ }
+ ],
"require": {
"php": "^7.4|^8.0",
"ext-hash": "*",