-
Notifications
You must be signed in to change notification settings - Fork 2
Documentation for Dot-Helpers #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f196c1e
Documentation for Dot-Helpers
SergiuBota1 91af5cc
newline fixes
SergiuBota1 67c0c4e
fixed mkdocs
SergiuBota1 b2e8f59
documentation linting
SergiuBota1 38230cf
updated read me
SergiuBota1 ac2a0db
updated mkdocs
SergiuBota1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| name: "Continuous Integration" | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| tags: | ||
|
|
||
| jobs: | ||
| ci: | ||
| uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: docs-build | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| build-deploy: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Build Docs | ||
| uses: dotkernel/documentation-theme/github-actions/docs@main | ||
| env: | ||
| DEPLOY_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Security Policy | ||
|
|
||
| ## Supported Versions | ||
|
|
||
|
|
||
| | Version | Supported | PHP Version | | ||
| |---------|--------------------|-------------------------------------------------------------------------------------------------------------| | ||
| | 3.x | :white_check_mark: |  | | ||
| | <= 2.x | :x: | | | ||
|
|
||
| ## Reporting Potential Security Issues | ||
|
|
||
| If you have encountered a potential security vulnerability in this project, | ||
| please report it to us at <security@dotkernel.com>. We will work with you to | ||
| verify the vulnerability and patch it. | ||
|
|
||
| When reporting issues, please provide the following information: | ||
|
|
||
| - Component(s) affected | ||
| - A description indicating how to reproduce the issue | ||
| - A summary of the security vulnerability and impact | ||
|
|
||
| We request that you contact us via the email address above and give the | ||
| project contributors a chance to resolve the vulnerability and issue a new | ||
| release prior to any public exposure; this helps protect the project's | ||
| users, and provides them with a chance to upgrade and/or update in order to | ||
| protect their applications. | ||
|
|
||
|
|
||
| ## Policy | ||
|
|
||
| If we verify a reported security vulnerability, our policy is: | ||
|
|
||
| - We will patch the current release branch, as well as the immediate prior minor | ||
| release branch. | ||
|
|
||
| - After patching the release branches, we will immediately issue new security | ||
| fix releases for each patched release branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../README.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Configuration | ||
|
|
||
| ## Requirements | ||
|
|
||
| - PHP >= 8.1 | ||
|
|
||
| ## Register ConfigProvider | ||
|
|
||
| Next, register the package's `ConfigProvider` to your application config. | ||
|
|
||
| ```php | ||
| Dot\Helpers\ConfigProvider::class, | ||
| ``` | ||
|
|
||
| Note : Make sure to register the package under the `// DK packages` section. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Installation | ||
|
|
||
| Install dotkernel/dot-helpers by executing the following Composer command in your project directory: | ||
|
|
||
| composer require dotkernel/dot-helpers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Overview | ||
|
|
||
| `dot-helpers` is DonKernel's component based on [mezzio/mezzio-helpers](https://packagist.org/packages/mezzio/mezzio-helpers) providing various helper structures and classes which can be used to handle urls. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| docs_dir: docs/book | ||
| site_dir: docs/html | ||
| extra: | ||
| project: Packages | ||
| current_version: v3 | ||
| versions: | ||
| - v3 | ||
| nav: | ||
| - Home: index.md | ||
| - v3: | ||
| - Overview: v3/overview.md | ||
| - Installation: v3/installation.md | ||
| - Configuration: v3/configuration.md | ||
| site_name: dot-helpers | ||
| site_description: "DotKernel's component used to handle urls" | ||
| repo_url: "https://github.com/dotkernel/dot-helpers" | ||
| plugins: | ||
| - search | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.