Skip to content

Commit 75c3c91

Browse files
Rename and refactor to laravel-sabhero-wrapper (#24)
* Remove unused files and update dependencies. Deleted obsolete Facade, wrapper classes, GitHub issue templates, and workflows to clean up the repository. Updated composer dependencies for improved compatibility and package updates. * Remove bug report template and composer.lock file Deleted the bug issue template `.yml` file and the `composer.lock` file from the repository. This change likely reflects a shift in issue tracking management and dependency management strategy. * Refine composer.json keywords for relevance Removed redundant keywords from the composer.json file to keep the list concise and focused. This change ensures better clarity and alignment with the project's purpose. * Rename package from "sabhero-core" to "laravel-sabhero-wrapper" Updated all relevant references across the codebase, including the package name, namespaces, config keys, blade components, and test setup. This standardizes the naming convention and aligns it with the new intended purpose of the package. * Fix styling
1 parent 33b103d commit 75c3c91

24 files changed

+133
-10579
lines changed

.github/ISSUE_TEMPLATE/bug.yml

-66
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

-38
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

-11
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-20
This file was deleted.

.github/issue_template/bug.yml

-66
This file was deleted.

.github/workflows/update-changelog.yml

-45
This file was deleted.

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ yarn-error.log
3030
php.ini
3131
error_log
3232
.DS_Store
33+
/.DS_Store
34+
composer.lock

.php-cs-fixer.cache

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"php":"8.3.16","version":"3.68.3","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"single_space_around_construct":{"constructs_followed_by_a_single_space":["abstract","as","case","catch","class","do","else","elseif","final","for","foreach","function","if","interface","namespace","private","protected","public","static","switch","trait","try","use_lambda","while"],"constructs_preceded_by_a_single_space":["as","else","elseif","use_lambda"]},"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"class_attributes_separation":{"elements":{"method":"one"}},"single_trait_insert_per_statement":true},"hashes":{"src\/SabHeroWrapper.php":"b9fefb9c526ea56d1d915ea5fafb622f","src\/Models\/Page.php":"bb60fc72a0f3ba5693cf66db04263461","src\/Facades\/SabHeroWrapper.php":"dcc22b0595595e327d546cff7a15ac3e","src\/SabHeroWrapperServiceProvider.php":"bd859f085d90318a64826e84f1b858db","tests\/TestCase.php":"4fddb7d37ec7c2675d86d6b2191bb5f1","tests\/Pest.php":"40393b4a7e65b5498ed6495a7e93070d","tests\/ArchTest.php":"3ee5b69122c072917aa2cac591256b77"}}

.php-cs-fixer.dist.php

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
3+
$finder = Symfony\Component\Finder\Finder::create()
4+
->notPath('bootstrap/*')
5+
->notPath('storage/*')
6+
->notPath('resources/view/mail/*')
7+
->in([
8+
__DIR__ . '/src',
9+
__DIR__ . '/tests',
10+
])
11+
->name('*.php')
12+
->notName('*.blade.php')
13+
->ignoreDotFiles(true)
14+
->ignoreVCS(true);
15+
16+
return (new PhpCsFixer\Config())
17+
->setRules([
18+
'@PSR2' => true,
19+
'array_syntax' => ['syntax' => 'short'],
20+
'ordered_imports' => ['sort_algorithm' => 'alpha'],
21+
'no_unused_imports' => true,
22+
'not_operator_with_successor_space' => true,
23+
'trailing_comma_in_multiline' => true,
24+
'phpdoc_scalar' => true,
25+
'unary_operator_spaces' => true,
26+
'binary_operator_spaces' => true,
27+
'blank_line_before_statement' => [
28+
'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'],
29+
],
30+
'phpdoc_single_line_var_spacing' => true,
31+
'phpdoc_var_without_name' => true,
32+
'class_attributes_separation' => [
33+
'elements' => [
34+
'method' => 'one',
35+
],
36+
],
37+
'method_argument_space' => [
38+
'on_multiline' => 'ensure_fully_multiline',
39+
'keep_multiple_spaces_after_comma' => true,
40+
],
41+
'single_trait_insert_per_statement' => true,
42+
])
43+
->setFinder($finder);

CHANGELOG.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
11
# Changelog
22

3-
All notable changes to `app-wrapper` will be documented in this file.
3+
All notable changes to `laravel-sabhero-wrapper` will be documented in this file.
44

55
## v0.0.10 - 2024-11-14
66

77
### What's Changed
88

9-
* Remove unnecessary whitespace at the end of the file in app.blade.php. by @thejmitchener in https://github.com/fuelviews/app-wrapper/pull/12
9+
* Remove unnecessary whitespace at the end of the file in app.blade.php. by @thejmitchener in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/12
1010

11-
**Full Changelog**: https://github.com/fuelviews/app-wrapper/compare/v0.0.9...v0.0.10
11+
**Full Changelog**: https://github.com/fuelviews/laravel-sabhero-wrapper/compare/v0.0.9...v0.0.10
1212

1313
## v0.0.8 - 2024-11-14
1414

1515
### What's Changed
1616

17-
* Remove unnecessary whitespace at the end of the file in app.blade.php. by @thejmitchener in https://github.com/fuelviews/app-wrapper/pull/10
17+
* Remove unnecessary whitespace at the end of the file in app.blade.php. by @thejmitchener in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/10
1818

19-
**Full Changelog**: https://github.com/fuelviews/app-wrapper/compare/v0.0.6...v0.0.8
19+
**Full Changelog**: https://github.com/fuelviews/laravel-sabhero-wrapper/compare/v0.0.6...v0.0.8
2020

2121
## v0.0.5 - 2024-11-13
2222

2323
### What's Changed
2424

25-
* Bump laravel/framework from 11.29.0 to 11.31.0 in the composer group across 1 directory by @dependabot in https://github.com/fuelviews/app-wrapper/pull/6
26-
* Refactored app.blade.php to use class_exists instead of View::exists for checking if a class exists and config values for enabling/disabling certain components. by @thejmitchener in https://github.com/fuelviews/app-wrapper/pull/7
25+
* Bump laravel/framework from 11.29.0 to 11.31.0 in the composer group across 1 directory by @dependabot in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/6
26+
* Refactored app.blade.php to use class_exists instead of View::exists for checking if a class exists and config values for enabling/disabling certain components. by @thejmitchener in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/7
2727

28-
**Full Changelog**: https://github.com/fuelviews/app-wrapper/commits/v0.0.5
28+
**Full Changelog**: https://github.com/fuelviews/laravel-sabhero-wrapper/commits/v0.0.5
2929

3030
## v0.0.4 - 2024-11-10
3131

3232
### What's Changed
3333

34-
* Bump symfony/process from 7.1.5 to 7.1.7 in the composer group across 1 directory by @dependabot in https://github.com/fuelviews/app-wrapper/pull/5
34+
* Bump symfony/process from 7.1.5 to 7.1.7 in the composer group across 1 directory by @dependabot in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/5
3535

36-
**Full Changelog**: https://github.com/fuelviews/app-wrapper/commits/v0.0.4
36+
**Full Changelog**: https://github.com/fuelviews/laravel-sabhero-wrapper/commits/v0.0.4
3737

3838
## v0.0.3 - 2024-11-10
3939

4040
### What's Changed
4141

42-
* Bump symfony/http-foundation from 7.1.5 to 7.1.7 in the composer group across 1 directory by @dependabot in https://github.com/fuelviews/app-wrapper/pull/4
42+
* Bump symfony/http-foundation from 7.1.5 to 7.1.7 in the composer group across 1 directory by @dependabot in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/4
4343

44-
**Full Changelog**: https://github.com/fuelviews/app-wrapper/commits/v0.0.3
44+
**Full Changelog**: https://github.com/fuelviews/laravel-sabhero-wrapper/commits/v0.0.3
4545

4646
## v0.0.2 - 2024-11-04
4747

4848
### What's Changed
4949

50-
* Bump poseidon/wait-for-status-checks from 0.5.0 to 0.6.0 by @dependabot in https://github.com/fuelviews/app-wrapper/pull/3
50+
* Bump poseidon/wait-for-status-checks from 0.5.0 to 0.6.0 by @dependabot in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/3
5151

5252
### New Contributors
5353

54-
* @dependabot made their first contribution in https://github.com/fuelviews/app-wrapper/pull/3
54+
* @dependabot made their first contribution in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/3
5555

56-
**Full Changelog**: https://github.com/fuelviews/app-wrapper/commits/v0.0.2
56+
**Full Changelog**: https://github.com/fuelviews/laravel-sabhero-wrapper/commits/v0.0.2
5757

5858
## v0.0.1 - 2024-10-27
5959

6060
### What's Changed
6161

62-
* Update composer.json description, update phpunit.xml.dist logging, and update welcome.blade.php layout and content. by @thejmitchener in https://github.com/fuelviews/app-wrapper/pull/1
62+
* Update composer.json description, update phpunit.xml.dist logging, and update welcome.blade.php layout and content. by @thejmitchener in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/1
6363

6464
### New Contributors
6565

66-
* @thejmitchener made their first contribution in https://github.com/fuelviews/app-wrapper/pull/1
66+
* @thejmitchener made their first contribution in https://github.com/fuelviews/laravel-sabhero-wrapper/pull/1
6767

68-
**Full Changelog**: https://github.com/fuelviews/app-wrapper/commits/v0.0.1
68+
**Full Changelog**: https://github.com/fuelviews/laravel-sabhero-wrapper/commits/v0.0.1

0 commit comments

Comments
 (0)