Skip to content

Commit 4a3ed9d

Browse files
committed
update README, CHANGELOG
1 parent d8f0213 commit 4a3ed9d

File tree

2 files changed

+48
-19
lines changed

2 files changed

+48
-19
lines changed

β€ŽCHANGELOG.mdβ€Ž

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

3-
All notable changes to laravel-package-template will be documented in this file.
4-
5-
## 1.0.0 - 2025-02-27
6-
7-
**Full Changelog**: https://github.com/yuges-code/laravel-package-template/commits/1.0.0
3+
All notable changes to laravel-groupable will be documented in this file.

β€ŽREADME.mdβ€Ž

Lines changed: 47 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-groupable/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-groupable/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-groupable/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-groupable">
23+
<img alt="Packagist Downloads" src="https://img.shields.io/packagist/dt/yuges-code/laravel-groupable">
24+
<img alt="GitHub License" src="https://img.shields.io/github/license/yuges-code/laravel-groupable">
25+
<img alt="Packagist Stars" src="https://img.shields.io/packagist/stars/yuges-code/laravel-groupable">
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-groupable/php"
2929
>
3030
</div>
3131
</div>
@@ -35,36 +35,69 @@
3535
</div>
3636

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

4141
<div align="center">
42-
<h3>πŸš€ Starter template for all Yuges Laravel packages</h3>
42+
<h3>πŸ—ƒοΈ Package for easily attaching groups 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-groupable
55+
```
56+
57+
### β†’ Publishing Config
58+
59+
Publishing the config file (config/groupable.php) is optional:
60+
61+
```
62+
php artisan vendor:publish --provider="Yuges\Groupable\Providers\GroupableServiceProvider" --tag="groupable-configs"
63+
```
64+
65+
### β†’ Publishing Migrations
66+
67+
You need to publish the migration to create the groups table:
4868

4969
```
50-
git clone https://github.com/yuges-code/laravel-package-template.git
51-
cd laravel-package-template
70+
php artisan vendor:publish --provider="Yuges\Groupable\Providers\GroupableServiceProvider" --tag="groupable-migrations"
71+
```
72+
73+
### β†’ Running Migrations
74+
75+
After that, you need to run migrations:
5276

53-
composer install
5477
```
78+
php artisan migrate
79+
```
80+
81+
<br>
5582

5683
# πŸ§ͺ Running Tests
5784

85+
### β†’ PHPUnit tests
86+
5887
To run tests, run the following command:
5988

6089
```
6190
composer test
6291
```
6392

93+
<br>
94+
6495
# βš–οΈ License
6596

6697
The MIT License (MIT). Please see [License File](LICENSE) for more information.
6798

99+
<br>
100+
68101
# πŸ™†πŸΌβ€β™‚οΈ Authors Information
69102

70103
Created in 2025 by:

0 commit comments

Comments
Β (0)