Skip to content

Commit def107b

Browse files
Add MIT license and update composer.json with metadata and autoload configuration
• Added LICENSE.md file using the MIT license under Ginkelsoft Development © 2025 • Updated composer.json with: • "license": "MIT" for Packagist compliance • Full author metadata (name, email, homepage, role) • Extended PHP support (^8.1 – ^8.4) • Laravel compatibility (^9.0 – ^12.0) • Expanded require-dev with orchestra/testbench and phpunit ranges • Added PSR-4 autoloading for src/ and tests/ namespaces • Declared Laravel service provider for auto-discovery • Enforced "minimum-stability": "stable" with "prefer-stable": true This commit finalizes package metadata for open-source publication on GitHub and Packagist.
1 parent 9076242 commit def107b

File tree

2 files changed

+53
-16
lines changed

2 files changed

+53
-16
lines changed

LICENSE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# MIT License
2+
3+
Copyright (c) 2025 Ginkelsoft
4+
https://ginkelsoft.com
5+
All rights reserved.
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in
15+
all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
THE SOFTWARE.

composer.json

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,48 @@
11
{
22
"name": "ginkelsoft/laravel-encrypted-search-index",
3-
"description": "Encrypted and searchable index for Laravel models with deterministic hashing and prefix tokens.",
4-
"keywords": ["laravel", "encryption", "search", "privacy", "gdpr", "secure-index"],
5-
"type": "library",
3+
"description": "A lightweight Laravel package that provides privacy-preserving, encrypted fulltext and prefix search support for Eloquent models.",
4+
"keywords": [
5+
"laravel",
6+
"encrypted search",
7+
"eloquent",
8+
"privacy",
9+
"indexing",
10+
"ginkelsoft"
11+
],
612
"license": "MIT",
13+
"authors": [
14+
{
15+
"name": "Wietse van Ginkel",
16+
"email": "info@ginkelsoft.com",
17+
"homepage": "https://ginkelsoft.com",
18+
"role": "Developer"
19+
}
20+
],
21+
"require": {
22+
"php": "^8.1 || ^8.2 || ^8.3 || ^8.4",
23+
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0"
24+
},
25+
"require-dev": {
26+
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0",
27+
"phpunit/phpunit": "^10.0 || ^11.0"
28+
},
729
"autoload": {
830
"psr-4": {
931
"Ginkelsoft\\EncryptedSearch\\": "src/"
1032
}
1133
},
34+
"autoload-dev": {
35+
"psr-4": {
36+
"Ginkelsoft\\EncryptedSearch\\Tests\\": "tests/"
37+
}
38+
},
1239
"extra": {
1340
"laravel": {
1441
"providers": [
1542
"Ginkelsoft\\EncryptedSearch\\EncryptedSearchServiceProvider"
1643
]
1744
}
1845
},
19-
"autoload-dev": {
20-
"psr-4": {
21-
"Ginkelsoft\\EncryptedSearch\\Tests\\": "tests/"
22-
}
23-
},
24-
"require": {
25-
"php": "^8.1|^8.2|^8.3|^8.4",
26-
"illuminate/support": "^9.0|^10.0|^11.0|^12.0"
27-
},
28-
"require-dev": {
29-
"orchestra/testbench": "^7.0|^8.0|^9.0|10.x-dev",
30-
"phpunit/phpunit": "^9.6|^10.0|^11.0|^12.0"
31-
},
3246
"minimum-stability": "stable",
3347
"prefer-stable": true
3448
}

0 commit comments

Comments
 (0)