Skip to content

Commit 0a9cdd4

Browse files
committed
generated skeleton
1 parent 9e9f5c4 commit 0a9cdd4

20 files changed

+74
-228
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: :vendor_name
1+
github: limenet

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
All notable changes to `:package_name` will be documented in this file.
3+
All notable changes to `laravel-elastica-bridge` will be documented in this file.
44

55
## 1.0.0 - 202X-XX-XX
66

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) :vendor_name <author@domain.com>
3+
Copyright (c) limenet <hi@linusmetzler.me>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,31 @@
1-
# :package_description
1+
#
22

3-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/vendor_slug/package_slug.svg?style=flat-square)](https://packagist.org/packages/vendor_slug/package_slug)
4-
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/vendor_slug/package_slug/run-tests?label=tests)](https://github.com/vendor_slug/package_slug/actions?query=workflow%3Arun-tests+branch%3Amaster)
5-
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/vendor_slug/package_slug/Check%20&%20fix%20styling?label=code%20style)](https://github.com/vendor_slug/package_slug/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amaster)
6-
[![Total Downloads](https://img.shields.io/packagist/dt/vendor_slug/package_slug.svg?style=flat-square)](https://packagist.org/packages/vendor_slug/package_slug)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/limenet/laravel-elastica-bridge.svg?style=flat-square)](https://packagist.org/packages/limenet/laravel-elastica-bridge)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/limenet/laravel-elastica-bridge/run-tests?label=tests)](https://github.com/limenet/laravel-elastica-bridge/actions?query=workflow%3Arun-tests+branch%3Amaster)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/limenet/laravel-elastica-bridge/Check%20&%20fix%20styling?label=code%20style)](https://github.com/limenet/laravel-elastica-bridge/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amaster)
6+
[![Total Downloads](https://img.shields.io/packagist/dt/limenet/laravel-elastica-bridge.svg?style=flat-square)](https://packagist.org/packages/limenet/laravel-elastica-bridge)
77

8-
---
9-
This repo can be used as to scaffold a Laravel package. Follow these steps to get started:
8+
A simple bridge between Laravel and Elasticsearch using Elastica, based on [https://github.com/valantic/pimcore-elastica-bridge](https://github.com/valantic/pimcore-elastica-bridge).
109

11-
1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton
12-
2. Run "./configure-skeleton.sh" to run a script that will replace all placeholders throughout all the files
13-
3. Remove this block of text.
14-
4. Have fun creating your package.
15-
5. If you need help creating a package, consider picking up our <a href="https://laravelpackage.training">Laravel Package Training</a> video course.
16-
---
17-
18-
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
19-
20-
## Support us
21-
22-
[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/:package_name.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/:package_name)
23-
24-
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
25-
26-
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
2710

2811
## Installation
2912

3013
You can install the package via composer:
3114

3215
```bash
33-
composer require vendor_slug/package_slug
16+
composer require limenet/laravel-elastica-bridge
3417
```
3518

3619
You can publish and run the migrations with:
3720

3821
```bash
39-
php artisan vendor:publish --provider="VendorName\Skeleton\SkeletonServiceProvider" --tag="package_slug-migrations"
22+
php artisan vendor:publish --provider="Limenet\LaravelElasticaBridge\LaravelElasticaBridgeServiceProvider" --tag="laravel-elastica-bridge-migrations"
4023
php artisan migrate
4124
```
4225

4326
You can publish the config file with:
4427
```bash
45-
php artisan vendor:publish --provider="VendorName\Skeleton\SkeletonServiceProvider" --tag="package_slug-config"
28+
php artisan vendor:publish --provider="Limenet\LaravelElasticaBridge\LaravelElasticaBridgeServiceProvider" --tag="laravel-elastica-bridge-config"
4629
```
4730

4831
This is the contents of the published config file:
@@ -55,8 +38,8 @@ return [
5538
## Usage
5639

5740
```php
58-
$skeleton = new VendorName\Skeleton();
59-
echo $skeleton->echoPhrase('Hello, Spatie!');
41+
$laravel-elastica-bridge = new Limenet\LaravelElasticaBridge();
42+
echo $laravel-elastica-bridge->echoPhrase('Hello, Spatie!');
6043
```
6144

6245
## Testing
@@ -79,7 +62,7 @@ Please review [our security policy](../../security/policy) on how to report secu
7962

8063
## Credits
8164

82-
- [:author_name](https://github.com/:author_username)
65+
- [Linus Metzler](https://github.com/limenet)
8366
- [All Contributors](../../contributors)
8467

8568
## License

composer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "vendor_slug/package_slug",
3-
"description": ":package_description",
2+
"name": "limenet/laravel-elastica-bridge",
3+
"description": "A simple bridge between Laravel and Elasticsearch using Elasticae",
44
"keywords": [
5-
":vendor_name",
5+
"limenet",
66
"laravel",
7-
"package_slug"
7+
"laravel-elastica-bridge"
88
],
9-
"homepage": "https://github.com/vendor_slug/package_slug",
9+
"homepage": "https://github.com/limenet/laravel-elastica-bridge",
1010
"license": "MIT",
1111
"authors": [
1212
{
13-
"name": ":author_name",
14-
"email": "author@domain.com",
13+
"name": "Linus Metzler",
14+
"email": "hi@linusmetzler.me",
1515
"role": "Developer"
1616
}
1717
],
@@ -30,13 +30,13 @@
3030
},
3131
"autoload": {
3232
"psr-4": {
33-
"VendorName\\Skeleton\\": "src",
34-
"VendorName\\Skeleton\\Database\\Factories\\": "database/factories"
33+
"Limenet\\LaravelElasticaBridge\\": "src",
34+
"Limenet\\LaravelElasticaBridge\\Database\\Factories\\": "database/factories"
3535
}
3636
},
3737
"autoload-dev": {
3838
"psr-4": {
39-
"VendorName\\Skeleton\\Tests\\": "tests"
39+
"Limenet\\LaravelElasticaBridge\\Tests\\": "tests"
4040
}
4141
},
4242
"scripts": {
@@ -50,10 +50,10 @@
5050
"extra": {
5151
"laravel": {
5252
"providers": [
53-
"VendorName\\Skeleton\\SkeletonServiceProvider"
53+
"Limenet\\LaravelElasticaBridge\\LaravelElasticaBridgeServiceProvider"
5454
],
5555
"aliases": {
56-
"Skeleton": "VendorName\\Skeleton\\SkeletonFacade"
56+
"LaravelElasticaBridge": "Limenet\\LaravelElasticaBridge\\LaravelElasticaBridgeFacade"
5757
}
5858
}
5959
},

config/elastica-bridge.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
// config for Limenet/ClassName
3+
return [
4+
5+
];

config/skeleton.php

Lines changed: 0 additions & 5 deletions
This file was deleted.

configure-skeleton.sh

Lines changed: 0 additions & 137 deletions
This file was deleted.

database/factories/ModelFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace VendorName\Skeleton\Database\Factories;
3+
namespace Limenet\LaravelElasticaBridge\Database\Factories;
44

55
use Illuminate\Database\Eloquent\Factories\Factory;
66

database/migrations/create_skeleton_table.php.stub renamed to database/migrations/create_elastica-bridge_table.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ return new class extends Migration
88
{
99
public function up()
1010
{
11-
Schema::create('skeleton_table', function (Blueprint $table) {
11+
Schema::create('laravel-elastica-bridge_table', function (Blueprint $table) {
1212
$table->id();
1313

1414
// add fields

0 commit comments

Comments
 (0)