Skip to content

Commit ac29502

Browse files
committed
first
0 parents  commit ac29502

File tree

188 files changed

+10427
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+10427
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2

.gitattributes

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
* text=auto
2+
3+
/.github export-ignore
4+
/tests export-ignore
5+
.editorconfig export-ignore
6+
.gitattributes export-ignore
7+
.gitignore export-ignore
8+
.styleci.yml export-ignore
9+
.travis.yml export-ignore
10+
CHANGELOG.md export-ignore
11+
phpunit.xml.dist export-ignore
12+
UPGRADE.md

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/vendor
2+
composer.lock
3+
/phpunit.xml
4+
.phpunit.result.cache

.styleci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
php:
2+
preset: laravel
3+
js: true
4+
css: true

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
dist: bionic
2+
language: php
3+
4+
php:
5+
- 7.2
6+
- 7.3
7+
- 7.4
8+
9+
before_install:
10+
- phpenv config-rm xdebug.ini || true
11+
12+
script:
13+
- vendor/bin/phpunit --verbose

LICENSE.md

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

composer.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"name": "laravel/jetstream",
3+
"description": "Tailwind scaffolding for the Laravel framework.",
4+
"keywords": ["laravel", "tailwind", "auth"],
5+
"license": "MIT",
6+
"support": {
7+
"issues": "https://github.com/laravel/jetstream/issues",
8+
"source": "https://github.com/laravel/jetstream"
9+
},
10+
"authors": [
11+
{
12+
"name": "Taylor Otwell",
13+
"email": "[email protected]"
14+
}
15+
],
16+
"repositories": [
17+
{
18+
"type": "path",
19+
"url": "./../laravel-fortify"
20+
}
21+
],
22+
"require": {
23+
"php": "^7.3",
24+
"ext-json": "*",
25+
"illuminate/support": "^8.0",
26+
"jenssegers/agent": "^2.6",
27+
"laravel/fortify": "*"
28+
},
29+
"require-dev": {
30+
"inertiajs/inertia-laravel": "^0.2.4",
31+
"laravel/sanctum": "dev-develop",
32+
"mockery/mockery": "^1.0",
33+
"orchestra/testbench": "^6.0",
34+
"phpunit/phpunit": "^8.0"
35+
},
36+
"autoload": {
37+
"psr-4": {
38+
"Laravel\\Jetstream\\": "src/"
39+
}
40+
},
41+
"autoload-dev": {
42+
"psr-4": {
43+
"Laravel\\Jetstream\\Tests\\": "tests/",
44+
"App\\": "stubs/app/"
45+
}
46+
},
47+
"extra": {
48+
"branch-alias": {
49+
"dev-master": "1.x-dev"
50+
},
51+
"laravel": {
52+
"providers": [
53+
"Laravel\\Jetstream\\JetstreamServiceProvider"
54+
]
55+
}
56+
},
57+
"config": {
58+
"sort-packages": true
59+
},
60+
"minimum-stability": "dev",
61+
"prefer-stable": true
62+
}

config/jetstream.php

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?php
2+
3+
use Laravel\Jetstream\Features;
4+
5+
return [
6+
7+
/*
8+
|--------------------------------------------------------------------------
9+
| Jetstream Stack
10+
|--------------------------------------------------------------------------
11+
|
12+
| This configuration value informs Jetstream which "stack" you will be
13+
| using for your application. In general, this value is set for you
14+
| during installation and will not need to be changed after that.
15+
|
16+
*/
17+
18+
'stack' => 'inertia',
19+
20+
/*
21+
|--------------------------------------------------------------------------
22+
| Features
23+
|--------------------------------------------------------------------------
24+
|
25+
| Some of Jetstream's features are optional. You may disable the features
26+
| by removing them from this array. You're free to only remove some of
27+
| these features or you can even remove all of these if you need to.
28+
|
29+
*/
30+
31+
'features' => [
32+
Features::profilePhotos(),
33+
Features::api(),
34+
// Features::teams(),
35+
],
36+
37+
];
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
class CreateUsersTable extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::create('users', function (Blueprint $table) {
17+
$table->uuid('id')->primary();
18+
$table->string('name');
19+
$table->string('email')->unique();
20+
$table->timestamp('email_verified_at')->nullable();
21+
$table->string('password');
22+
$table->rememberToken();
23+
$table->string('current_team_id')->nullable();
24+
$table->text('profile_photo_path')->nullable();
25+
$table->timestamps();
26+
});
27+
}
28+
29+
/**
30+
* Reverse the migrations.
31+
*
32+
* @return void
33+
*/
34+
public function down()
35+
{
36+
Schema::dropIfExists('users');
37+
}
38+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
class CreateTeamsTable extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::create('teams', function (Blueprint $table) {
17+
$table->uuid('id')->primary();
18+
$table->uuid('user_id')->index();
19+
$table->string('name');
20+
$table->boolean('personal_team');
21+
$table->timestamps();
22+
});
23+
}
24+
25+
/**
26+
* Reverse the migrations.
27+
*
28+
* @return void
29+
*/
30+
public function down()
31+
{
32+
Schema::drop('teams');
33+
}
34+
}

0 commit comments

Comments
 (0)