Skip to content

Commit c6a1c87

Browse files
authored
Update README.md
1 parent 6ecc81c commit c6a1c87

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,24 @@ so if for some reason you need that, uhhh, good luck i guess
99

1010
### installation and usage and stuff
1111

12-
composer package coming soon probably
12+
i created a composer package for this so all you need to do is run
1313

14-
download uwurandom.php and put it in a library folder, like `lib`
14+
`composer require breadtf/uwurandom`
1515

16-
then copy this code into ur php file
16+
then copy this code here into whatever it is you need this for
1717

1818
```
1919
<?php
20-
// replace lib with the path to ur uwurandom
21-
require("lib/uwurandom.php");
22-
$uwu = new uwurandom();
23-
?>
24-
```
2520
26-
then to use it just copy this
21+
require_once($_SERVER['DOCUMENT_ROOT'] . 'vendor/autoload.php');
2722
28-
```
29-
// 500 characters of uwu :3
30-
$uwu -> generate(500);
23+
$uwurandom = new Breadtf\Uwurandom\uwurandom();
24+
25+
$uwu = $uwurandom -> generate(500);
26+
27+
echo $uwu;
28+
29+
?>
3130
```
3231

33-
note: the limit isnt very strict like it it only stops after x characters its not limited to 500 characters i really need to fix that yeah okay so maybe just put a limit on it in your code if you want idk
32+
k byeee have fun :3

0 commit comments

Comments
 (0)