Skip to content

Commit 1a07427

Browse files
committed
Update docs
1 parent b26db8a commit 1a07427

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# PHP Torrent File Library
22

3-
[![Packagist](https://img.shields.io/packagist/v/sandfoxme/torrent-file.svg?style=flat-square)](https://packagist.org/packages/sandfoxme/torrent-file)
4-
[![PHP](https://img.shields.io/packagist/php-v/sandfoxme/torrent-file.svg?style=flat-square)](https://packagist.org/packages/sandfoxme/torrent-file)
5-
[![License](https://img.shields.io/packagist/l/sandfoxme/torrent-file.svg?style=flat-square)](https://opensource.org/licenses/MIT)
3+
[![Packagist](https://img.shields.io/packagist/v/arokettu/torrent-file.svg?style=flat-square)](https://packagist.org/packages/arokettu/torrent-file)
4+
[![PHP](https://img.shields.io/packagist/php-v/arokettu/torrent-file.svg?style=flat-square)](https://packagist.org/packages/arokettu/torrent-file)
5+
[![License](https://img.shields.io/packagist/l/arokettu/torrent-file.svg?style=flat-square)](https://opensource.org/licenses/MIT)
66
[![Gitlab pipeline status](https://img.shields.io/gitlab/pipeline/sandfox/torrent-file/master.svg?style=flat-square)](https://gitlab.com/sandfox/torrent-file/-/pipelines)
77
[![Codecov](https://img.shields.io/codecov/c/gl/sandfox/torrent-file?style=flat-square)](https://codecov.io/gl/sandfox/torrent-file/)
88

@@ -27,7 +27,7 @@ $torrent->setAnnounce('http://tracker.example:1234');
2727
## Installation
2828

2929
```bash
30-
composer require sandfoxme/torrent-file
30+
composer require arokettu/torrent-file
3131
```
3232

3333
## Features

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Installation
1010

1111
.. code-block:: bash
1212
13-
composer require sandfoxme/torrent-file
13+
composer require arokettu/torrent-file
1414
1515
Documentation
1616
=============
@@ -33,7 +33,7 @@ The library is available as open source under the terms of the `MIT License`_.
3333

3434
.. _MIT License: https://opensource.org/licenses/MIT
3535

36-
.. |Packagist| image:: https://img.shields.io/packagist/v/sandfoxme/torrent-file.svg?style=flat-square
36+
.. |Packagist| image:: https://img.shields.io/packagist/v/arokettu/torrent-file.svg?style=flat-square
3737
:target: https://packagist.org/packages/sandfoxme/torrent-file
3838
.. |GitHub| image:: https://img.shields.io/badge/get%20on-GitHub-informational.svg?style=flat-square&logo=github
3939
:target: https://github.com/arokettu/torrent-file

docs/saveload.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can load a torrent from file, from string, or from stream.
1313
1414
<?php
1515
16-
use SandFox\Torrent\TorrentFile;
16+
use Arokettu\Torrent\TorrentFile;
1717
1818
// from file
1919
$torrent = TorrentFile::load('debian.torrent');
@@ -58,7 +58,7 @@ The library can create a torrent file from scratch for a file or a directory.
5858
5959
<?php
6060
61-
use SandFox\Torrent\TorrentFile;
61+
use Arokettu\Torrent\TorrentFile;
6262
6363
$torrent = TorrentFile::fromPath(
6464
'/home/user/ISO/Debian',
@@ -67,7 +67,7 @@ The library can create a torrent file from scratch for a file or a directory.
6767
6868
// pass an instance of PSR-14 event dispatcher to receive progress events:
6969
$torrent = TorrentFile::fromPath('/home/user/ISO/Debian', $eventDispatcher);
70-
// dispatcher will receive instances of \SandFox\Torrent\FileSystem\FileDataProgressEvent
70+
// dispatcher will receive instances of \Arokettu\Torrent\FileSystem\FileDataProgressEvent
7171
// only in 2.0 and later
7272
7373
Available options:

docs/types.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Announce list can be created from the following structures:
2222
2323
<?php
2424
25-
use SandFox\Torrent\DataTypes\AnnounceList;
26-
use SandFox\Torrent\DataTypes\UriList;
25+
use Arokettu\Torrent\DataTypes\AnnounceList;
26+
use Arokettu\Torrent\DataTypes\UriList;
2727
2828
// Build from iterable
2929
$announceList = AnnounceList::fromIterable([
@@ -43,8 +43,8 @@ Modification
4343
4444
<?php
4545
46-
use SandFox\Torrent\DataTypes\AnnounceList;
47-
use SandFox\Torrent\DataTypes\UriList;
46+
use Arokettu\Torrent\DataTypes\AnnounceList;
47+
use Arokettu\Torrent\DataTypes\UriList;
4848
4949
// append a list
5050
$announceList = AnnounceList::append(
@@ -87,7 +87,7 @@ Creation
8787
8888
<?php
8989
90-
use SandFox\Torrent\DataTypes\Node;
90+
use Arokettu\Torrent\DataTypes\Node;
9191
9292
// Build from array
9393
$node = Node::fromArray(['localhost', 11111]);
@@ -138,8 +138,8 @@ Node list can be created from the following structures:
138138
139139
<?php
140140
141-
use SandFox\Torrent\DataTypes\Node;
142-
use SandFox\Torrent\DataTypes\NodeList;
141+
use Arokettu\Torrent\DataTypes\Node;
142+
use Arokettu\Torrent\DataTypes\NodeList;
143143
144144
// Build from iterable
145145
$nodeList = NodeList::fromIterable([
@@ -159,8 +159,8 @@ Modification
159159
160160
<?php
161161
162-
use SandFox\Torrent\DataTypes\Node;
163-
use SandFox\Torrent\DataTypes\NodeList;
162+
use Arokettu\Torrent\DataTypes\Node;
163+
use Arokettu\Torrent\DataTypes\NodeList;
164164
165165
// append a node
166166
$nodeList = NodeList::append(
@@ -209,7 +209,7 @@ Uri list can be created from the following structures:
209209
210210
<?php
211211
212-
use SandFox\Torrent\DataTypes\UriList;
212+
use Arokettu\Torrent\DataTypes\UriList;
213213
214214
// Build from iterable
215215
$uriList = UriList::fromIterable([
@@ -229,7 +229,7 @@ Modification
229229
230230
<?php
231231
232-
use SandFox\Torrent\DataTypes\UriList;
232+
use Arokettu\Torrent\DataTypes\UriList;
233233
234234
// append a list
235235
$uriList = UriList::append(

0 commit comments

Comments
 (0)