Skip to content

Commit bd49fdf

Browse files
committed
1.0 release under Gearbox Solutions
1 parent 4ece836 commit bd49fdf

14 files changed

+29
-29
lines changed

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Blue Feather Group, LLC.
3+
Copyright (c) 2022 Gearbox Solutions, LLC.
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

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ This package is designed to allow you to exclusively use a FileMaker database an
66

77
## Support
88

9-
This package is built and maintained by [Blue Feather](https://www.bluefeathergroup.com/). We build fantastic web apps with technologies like Laravel, Vue, React, and Node. If you would like assistance building your own web app, either using this package or other technologies, please [contact us](https://www.bluefeathergroup.com/contact/) for a free introductory consultation to discuss your project.
9+
This package is built and maintained by [Gearbox Solutions](https://gearboxgo.com/). We build fantastic web apps with technologies like Laravel, Vue, React, and Node. If you would like assistance building your own web app, either using this package or other technologies, please [contact us](https://gearboxgo.com/) for a free introductory consultation to discuss your project.
1010

1111
## Prepare your FileMaker database
1212

1313
### Quickstart with an example FileMaker database
14-
If you just want to see an example of Jetstream working with FileMaker you can unzip and use the `Jetstream-FileMaker.fmp12` file included in the `dist` folder as an example data source ([or download here](https://github.com/BlueFeatherGroup/Jetstream-FileMaker/raw/main/dist/Jetstream-FileMaker.fmp12.zip)). This file has been configured with the minimum necessary fields to work with Jetstream and already has layouts ready for accessing through the Data API. You can host this file on your FileMaker Server and use it as a testing ground to see Laravel Jetstream running using a FileMaker database as a data source.
14+
If you just want to see an example of Jetstream working with FileMaker you can unzip and use the `Jetstream-FileMaker.fmp12` file included in the `dist` folder as an example data source ([or download here](https://github.com/gearbox-solutions/Jetstream-FileMaker/blob/main/dist/Jetstream-FileMaker.fmp12.zip?raw=true)). This file has been configured with the minimum necessary fields to work with Jetstream and already has layouts ready for accessing through the Data API. You can host this file on your FileMaker Server and use it as a testing ground to see Laravel Jetstream running using a FileMaker database as a data source.
1515

1616
Otherwise, read the directions below for how to configure your existing FileMaker database to work with Jetstream. The example file is a great reference for configuring your own database.
1717

@@ -25,7 +25,7 @@ You will need the following tables:
2525
* PasswordReset
2626
* PersonalAccessToken
2727

28-
These tables must also have the minimum required fields to support the features of the Jetstream starter kit. The required tables and fields for your FileMaker database can be found in the `Jetstream-FileMaker.fmp12` file included in the `dist` folder of this package ([or download here](https://github.com/BlueFeatherGroup/Jetstream-FileMaker/raw/main/dist/Jetstream-FileMaker.fmp12.zip)). You can either copy these tables/fields to your database, rename your existing fields, or use the [Eloquent-FileMaker field mapping feature](https://github.com/BlueFeatherGroup/eloquent-filemaker) to map your existing fields to these expected field names.
28+
These tables must also have the minimum required fields to support the features of the Jetstream starter kit. The required tables and fields for your FileMaker database can be found in the `Jetstream-FileMaker.fmp12` file included in the `dist` folder of this package ([or download here](https://github.com/gearbox-solutions/Jetstream-FileMaker/blob/main/dist/Jetstream-FileMaker.fmp12.zip?raw=true)). You can either copy these tables/fields to your database, rename your existing fields, or use the [Eloquent-FileMaker field mapping feature](https://github.com/gearbox-solutions/eloquent-filemaker) to map your existing fields to these expected field names.
2929

3030
### Set up layouts for Data API access
3131
The The FileMaker Data API allows access to your tables through layouts in your FileMaker database. Only fields which are on the layouts accessed through the Data API are visible. This means that you MUST include all the fields you want to access through the data API on your layouts.
@@ -41,7 +41,7 @@ By default, Laravel looks for pluralized versions of each of the tables. If you
4141

4242
The example `Jetstream-FileMaker.fmp12` file has these prepared as a demonstration, so you can always look at that for reference.
4343

44-
If you don't want to use the pluralized table names Laravel will be searching for by default, the layout names used for the models can also be configured in each model file by setting the table name directly using the `$table` property. Do not include any configured table prefix, such as `web_` when setting table/layout names. You can refer to the [Laravel](https://laravel.com/docs/9.x/eloquent#table-names) and [Eloquent-FileMaker](https://github.com/BlueFeatherGroup/eloquent-filemaker#setting-a-layout) documentation for more information about layout and table naming.
44+
If you don't want to use the pluralized table names Laravel will be searching for by default, the layout names used for the models can also be configured in each model file by setting the table name directly using the `$table` property. Do not include any configured table prefix, such as `web_` when setting table/layout names. You can refer to the [Laravel](https://laravel.com/docs/9.x/eloquent#table-names) and [Eloquent-FileMaker](https://github.com/gearbox-solutions/eloquent-filemaker) documentation for more information about layout and table naming.
4545

4646
## Install and configure Laravel
4747
Laravel should be installed and configured as normal. You can follow the instructions on the [official Laravel website](https://laravel.com/docs/9.x/installation) to get started.
@@ -66,7 +66,7 @@ With the basic Jetstream installed it is now time to install the Jetstream-FileM
6666

6767
Install Jetstream-FileMaker using Composer
6868
```
69-
composer require bluefeather/jetstream-filemaker
69+
composer require gearbox-solutions/jetstream-filemaker
7070
```
7171

7272
Jetstream-FileMaker needs to update the default Jetstream `User` model and add new, custom models for `PasswordReset` and `PersonalAccessToken`. Install these models using artisan.
@@ -90,7 +90,7 @@ You also need to add a new FileMaker database connection to `config/database.php
9090
'connections' => [
9191
'filemaker' => [
9292
'driver' => 'filemaker',
93-
'host' => env('DB_HOST', 'bluefeathergroup.com'),
93+
'host' => env('DB_HOST', 'fms.mycompany.com'),
9494
'database' => env('DB_DATABASE', 'MyDatabaseName'),
9595
'username' => env('DB_USERNAME', 'MyUsername'),
9696
'password' => env('DB_PASSWORD', ''),

composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"name": "bluefeather/jetstream-filemaker",
2+
"name": "gearbox-solutions/jetstream-filemaker",
33
"description": "An extension for Laravel Jetstream to make it work with FileMaker as a primary data source",
44
"license": "MIT",
55
"authors": [
66
{
77
"name": "David Nahodyl",
8-
"email": "david@bluefeathergroup.com"
8+
"email": "david@gearboxgo.com"
99
}
1010
],
1111
"require": {
12-
"bluefeather/eloquent-filemaker": "^0.2.2",
13-
"laravel/jetstream": "^2.10"
12+
"gearbox-solutions/eloquent-filemaker": "^1.0",
13+
"laravel/jetstream": "^2.16"
1414
},
1515
"autoload": {
1616
"psr-4": {
17-
"BlueFeather\\JetstreamFileMaker\\": "src/"
17+
"GearboxSolutions\\JetstreamFileMaker\\": "src/"
1818
}
1919
},
2020
"extra": {
2121
"laravel": {
2222
"providers": [
23-
"BlueFeather\\JetstreamFileMaker\\Providers\\JetstreamFileMakerServiceProvider",
24-
"BlueFeather\\JetstreamFileMaker\\Providers\\PasswordResetServiceProvider",
25-
"BlueFeather\\JetstreamFileMaker\\Providers\\FileMakerValidationServiceProvider"
23+
"GearboxSolutions\\JetstreamFileMaker\\Providers\\JetstreamFileMakerServiceProvider",
24+
"GearboxSolutions\\JetstreamFileMaker\\Providers\\PasswordResetServiceProvider",
25+
"GearboxSolutions\\JetstreamFileMaker\\Providers\\FileMakerValidationServiceProvider"
2626
]
2727
}
2828
},

src/Auth/Passwords/DatabaseTokenRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Auth\Passwords;
3+
namespace GearboxSolutions\JetstreamFileMaker\Auth\Passwords;
44

55
use App\Models\PasswordReset;
66
use Carbon\Carbon;

src/Auth/Passwords/PasswordBrokerManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Auth\Passwords;
3+
namespace GearboxSolutions\JetstreamFileMaker\Auth\Passwords;
44

55
class PasswordBrokerManager extends \Illuminate\Auth\Passwords\PasswordBrokerManager
66
{

src/Console/InstallCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Console;
3+
namespace GearboxSolutions\JetstreamFileMaker\Console;
44

55
use Illuminate\Console\Command;
66

src/Providers/FileMakerUserProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Providers;
3+
namespace GearboxSolutions\JetstreamFileMaker\Providers;
44

55
use Closure;
66
use Illuminate\Auth\EloquentUserProvider;

src/Providers/FileMakerValidationServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Providers;
3+
namespace GearboxSolutions\JetstreamFileMaker\Providers;
44

55

6-
use BlueFeather\JetstreamFileMaker\Validation\DatabasePresenceVerifier;
6+
use GearboxSolutions\JetstreamFileMaker\Validation\DatabasePresenceVerifier;
77
use Illuminate\Validation\ValidationServiceProvider;
88

99
class FileMakerValidationServiceProvider extends ValidationServiceProvider

src/Providers/JetstreamFileMakerServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Providers;
3+
namespace GearboxSolutions\JetstreamFileMaker\Providers;
44

55

66
use App\Models\User;
7-
use BlueFeather\JetstreamFileMaker\Console\InstallCommand;
7+
use GearboxSolutions\JetstreamFileMaker\Console\InstallCommand;
88
use Illuminate\Http\Request;
99
use Illuminate\Support\Facades\Auth;
1010
use Illuminate\Support\Facades\Hash;

src/Providers/PasswordResetServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Providers;
3+
namespace GearboxSolutions\JetstreamFileMaker\Providers;
44

55

6-
use BlueFeather\JetstreamFileMaker\Auth\Passwords\PasswordBrokerManager;
6+
use GearboxSolutions\JetstreamFileMaker\Auth\Passwords\PasswordBrokerManager;
77

88
class PasswordResetServiceProvider extends \Illuminate\Auth\Passwords\PasswordResetServiceProvider
99
{

src/Validation/DatabasePresenceVerifier.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace BlueFeather\JetstreamFileMaker\Validation;
3+
namespace GearboxSolutions\JetstreamFileMaker\Validation;
44

55
class DatabasePresenceVerifier extends \Illuminate\Validation\DatabasePresenceVerifier
66
{

stubs/app/Models/PasswordReset.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Models;
44

5-
use BlueFeather\EloquentFileMaker\Database\Eloquent\FMModel;
5+
use GearboxSolutions\EloquentFileMaker\Database\Eloquent\FMModel;
66

77
class PasswordReset extends FMModel
88
{

stubs/app/Models/PersonalAccessToken.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Models;
44

5-
use BlueFeather\EloquentFileMaker\Database\Eloquent\FMModel;
5+
use GearboxSolutions\EloquentFileMaker\Database\Eloquent\FMModel;
66
use Laravel\Sanctum\Contracts\HasAbilities;
77

88
class PersonalAccessToken extends FMModel implements HasAbilities

stubs/app/Models/User.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Models;
44

5-
use BlueFeather\EloquentFileMaker\Database\Eloquent\FMModel;
5+
use GearboxSolutions\EloquentFileMaker\Database\Eloquent\FMModel;
66
use Illuminate\Auth\Authenticatable;
77
use Illuminate\Auth\MustVerifyEmail;
88
use Illuminate\Auth\Passwords\CanResetPassword;

0 commit comments

Comments
 (0)