Skip to content

Commit 1532cc9

Browse files
committed
CHANGELOG and README
1 parent 278d086 commit 1532cc9

File tree

2 files changed

+66
-17
lines changed

2 files changed

+66
-17
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22

3-
All notable changes to laravel-package-template will be documented in this file.
3+
All notable changes to laravel-reactable will be documented in this file.
44

5-
## 1.0.0 - 2025-02-27
5+
## 1.0.0 - 2025-10-20
66

7-
**Full Changelog**: https://github.com/yuges-code/laravel-package-template/commits/1.0.0
7+
**Full Changelog**: https://github.com/yuges-code/laravel-reactable/commits/1.0.0

README.md

Lines changed: 63 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
<div align="center">
2-
<img src="https://raw.githubusercontent.com/yuges-code/laravel-package-template/master/assets/logo.png">
2+
<img src="https://raw.githubusercontent.com/yuges-code/laravel-reactable/master/assets/logo.png">
33
</div>
44

55
<div align="center">
66
<b>Build<b>
77
<div>
88
<img
99
alt="GitHub Branch Check Runs"
10-
src="https://img.shields.io/github/check-runs/yuges-code/laravel-package-template/main"
10+
src="https://img.shields.io/github/check-runs/yuges-code/laravel-reactable/main"
1111
>
1212
<img
1313
alt="GitHub Tests Action Status"
14-
src="https://img.shields.io/github/actions/workflow/status/yuges-code/laravel-package-template/testing.yml?branch=main&label=tests&style=flat-square"
14+
src="https://img.shields.io/github/actions/workflow/status/yuges-code/laravel-reactable/testing.yml?branch=main&label=tests&style=flat-square"
1515
>
1616
</div>
1717
</div>
1818

1919
<div align="center">
2020
<b>Project</b>
2121
<div>
22-
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/yuges-code/laravel-package-template">
23-
<img alt="Packagist Downloads" src="https://img.shields.io/packagist/dt/yuges-code/laravel-package-template">
24-
<img alt="GitHub License" src="https://img.shields.io/github/license/yuges-code/laravel-package-template">
25-
<img alt="Packagist Stars" src="https://img.shields.io/packagist/stars/yuges-code/laravel-package-template">
22+
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/yuges-code/laravel-reactable">
23+
<img alt="Packagist Downloads" src="https://img.shields.io/packagist/dt/yuges-code/laravel-reactable">
24+
<img alt="GitHub License" src="https://img.shields.io/github/license/yuges-code/laravel-reactable">
25+
<img alt="Packagist Stars" src="https://img.shields.io/packagist/stars/yuges-code/laravel-reactable">
2626
<img
2727
alt="Packagist Dependency Version"
28-
src="https://img.shields.io/packagist/dependency-v/yuges-code/laravel-package-template/php"
28+
src="https://img.shields.io/packagist/dependency-v/yuges-code/laravel-reactable/php"
2929
>
3030
</div>
3131
</div>
@@ -35,36 +35,85 @@
3535
</div>
3636

3737
<div align="center">
38-
<h1>Laravel package template</h1>
38+
<h1>Laravel Reactable</h1>
3939
</div>
4040

4141
<div align="center">
42-
<h3>🚀 Starter template for all Yuges Laravel packages</h3>
42+
<h3>👍 Package for easily attaching reactions to Laravel eloquent models</h3>
4343
</div>
4444

45+
<br>
46+
4547
# 💿 Installation
4648

47-
To use this template, clone the repository and install the dependencies:
49+
### → Composer
50+
51+
You can install the package via composer:
52+
53+
```
54+
composer require yuges-code/laravel-reactable
55+
```
56+
57+
### → Publishing Config
58+
59+
Publishing the config file (config/reactable.php) is optional:
60+
61+
```
62+
php artisan vendor:publish --provider="Yuges\Reactable\Providers\ReactableServiceProvider" --tag="reactable-configs"
63+
```
64+
65+
### → Publishing Migrations
66+
67+
You need to publish the migration to create the reactions table:
68+
69+
```
70+
php artisan vendor:publish --provider="Yuges\Reactable\Providers\ReactableServiceProvider" --tag="reactable-migrations"
71+
```
72+
73+
### → Running Migrations
74+
75+
After that, you need to run migrations:
4876

4977
```
50-
git clone https://github.com/yuges-code/laravel-package-template.git
51-
cd laravel-package-template
78+
php artisan migrate
79+
```
80+
81+
### → Publishing Seeders
5282

53-
composer install
83+
You need to publish the seeder to seed the reaction types table:
84+
85+
```
86+
php artisan vendor:publish --provider="Yuges\Reactable\Providers\ReactableServiceProvider" --tag="reactable-seeders"
5487
```
5588

89+
### → Running Seeders
90+
91+
After that, you need to run seeders:
92+
93+
```
94+
php artisan db:seed
95+
```
96+
97+
<br>
98+
5699
# 🧪 Running Tests
57100

101+
### → PHPUnit tests
102+
58103
To run tests, run the following command:
59104

60105
```
61106
composer test
62107
```
63108

109+
<br>
110+
64111
# ⚖️ License
65112

66113
The MIT License (MIT). Please see [License File](LICENSE) for more information.
67114

115+
<br>
116+
68117
# 🙆🏼‍♂️ Authors Information
69118

70119
Created in 2025 by:

0 commit comments

Comments
 (0)