-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ad8b79
commit a2a07e3
Showing
24 changed files
with
471 additions
and
272 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 |
---|---|---|
@@ -1,41 +1,36 @@ | ||
--- | ||
title: Home | ||
description: Sons of PHP has many libraries and projects for developers. | ||
cover: .gitbook/assets/top-rocker.png | ||
coverY: 0 | ||
layout: | ||
cover: | ||
visible: true | ||
size: full | ||
title: | ||
visible: true | ||
description: | ||
visible: true | ||
tableOfContents: | ||
visible: true | ||
outline: | ||
visible: true | ||
pagination: | ||
visible: true | ||
--- | ||
|
||
<div align="center"> | ||
<img src="https://raw.githubusercontent.com/SonsOfPHP/.github/main/assets/top-rocker.png" /> | ||
</div> | ||
<hr> | ||
# 🏠 Home | ||
|
||
# Welcome to the Sons of PHP | ||
## Welcome to the Sons of PHP | ||
|
||
## Reporting Issues | ||
### Reporting Issues | ||
|
||
Please use the main [Sons of PHP Repository][mother-repo] to report any [issues][issues] that | ||
you find. | ||
Please use the main [Sons of PHP Repository](https://github.com/SonsOfPHP/sonsofphp) to report any [issues](https://github.com/SonsOfPHP/sonsofphp/issues) that you find. | ||
|
||
If you find any issues with the documentation, please submit issues in the | ||
dedicated [Documentation Repository][docs-repo]. | ||
### Contributing | ||
|
||
## Contributing | ||
Please submit [Pull Requests](https://github.com/SonsOfPHP/sonsofphp/pulls) to the main [Sons of PHP Repository](https://github.com/SonsOfPHP/sonsofphp). | ||
|
||
Please submit [Pull Requests][pull-requests] to the main [Sons of PHP Repository][mother-repo]. | ||
### Getting Help | ||
|
||
If you would like to help with documentation, please use the dedicated | ||
[Documentation Repository][docs-repo] to submit pull requests. | ||
|
||
## Getting Help | ||
|
||
Please visit the [Sons of PHP Organization Discussions][discussions] section to | ||
ask questions and get more help. | ||
|
||
## Hanging Out | ||
|
||
Drop by the [Discord Server][discord]. | ||
|
||
[discussions]: https://github.com/orgs/SonsOfPHP/discussions | ||
[mother-repo]: https://github.com/SonsOfPHP/sonsofphp | ||
[pull-requests]: https://github.com/SonsOfPHP/sonsofphp/pulls | ||
[issues]: https://github.com/SonsOfPHP/sonsofphp/issues | ||
[docs-repo]: https://github.com/SonsOfPHP/sonsofphp | ||
[discord]: https://discord.gg/sdVxNhFqND | ||
Please visit the [Sons of PHP Organization Discussions](https://github.com/orgs/SonsOfPHP/discussions) section to ask questions and get more help. |
This file contains 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 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,45 @@ | ||
# Commands | ||
|
||
## init | ||
|
||
Initialize a new mono repository. | ||
|
||
```shell | ||
bard init | ||
``` | ||
|
||
## add | ||
|
||
Add a new package to bard. | ||
|
||
```sh | ||
bard add <path> <repository> | ||
``` | ||
|
||
## merge | ||
|
||
This command will merge all packages into the root `composer.json` file. | ||
|
||
```sh | ||
bard merge [<package>] | ||
``` | ||
|
||
## push | ||
|
||
Pushes code to their respective repositories. | ||
|
||
```sh | ||
bard push [<package>] | ||
``` | ||
|
||
## release | ||
|
||
Creates a new release. This command will update all the files that need to be updated, tag, and push the release out. | ||
|
||
```sh | ||
bard release <release> | ||
``` | ||
|
||
{% hint style="success" %} | ||
You can use `major`, `minor`, or `patch` as the `<release>` argument instead of specifying the exact version you want to release. | ||
{% endhint %} |
File renamed without changes.
This file contains 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 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 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 @@ | ||
# Adapters | ||
|
||
## ApcuAdapter | ||
|
||
|
||
|
||
## ArrayAdapter | ||
|
||
|
||
|
||
## ChainAdapter | ||
|
||
|
||
|
||
## NullAdapter | ||
|
||
|
||
|
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,9 +1,22 @@ | ||
--- | ||
title: Link | ||
description: 'PSR-13: Link' | ||
--- | ||
|
||
# Link | ||
|
||
## Installation | ||
|
||
```shell | ||
composer require sonsofphp/link | ||
``` | ||
|
||
## Usage | ||
|
||
```php | ||
<?php | ||
|
||
use SonsOfPHP\Component\Link\Link; | ||
|
||
$link = new Link('https://docs.sonsofphp.com'); | ||
``` |
This file contains 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
Oops, something went wrong.