-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Laravel Prompts, Breeze, Filament 🚀
- Loading branch information
1 parent
c7e9064
commit bb100b8
Showing
253 changed files
with
9,116 additions
and
1,319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Summary <!-- tl;dr one line summary of this PR --> | ||
|
||
[//]: # (copilot:summary) | ||
This pull request... | ||
|
||
## Explanation <!-- A more in depth explanation of the approach, reasoning, questions etc... --> | ||
|
||
[//]: # (copilot:walkthrough) | ||
<!-- List the changes and why they were made --> | ||
|
||
## Checklist <!-- Put an `x` in all the boxes that apply. --> | ||
|
||
- [ ] I've read this template | ||
- [ ] I've checked reviewed this PR myself, ensuring consistency and quality with the rest of the project | ||
- [ ] I've given a good reason as to why this PR exposes new / removes existing user data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
database/migrations/2014_10_12_000000_create_breeze_users_table.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
use Illuminate\Database\Migrations\Migration; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Support\Facades\Schema; | ||
|
||
return new class extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
*/ | ||
public function up(): void | ||
{ | ||
Schema::create('users', function (Blueprint $table) { | ||
$table->id(); | ||
$table->string('name'); | ||
$table->string('email')->unique(); | ||
$table->timestamp('email_verified_at')->nullable(); | ||
$table->string('password')->nullable(); | ||
$table->rememberToken(); | ||
$table->timestamps(); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
*/ | ||
public function down(): void | ||
{ | ||
Schema::dropIfExists('users'); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Facades\Route; | ||
use JoelButcher\Socialstream\Http\Controllers\Inertia\PasswordController; | ||
use JoelButcher\Socialstream\Http\Controllers\Inertia\ConnectedAccountController; | ||
use JoelButcher\Socialstream\Http\Controllers\Inertia\UpdateUserProfilePhotoController; | ||
use JoelButcher\Socialstream\Http\Controllers\OAuthController; | ||
use JoelButcher\Socialstream\Socialstream; | ||
use Laravel\Jetstream\Jetstream; | ||
|
||
Route::group(['middleware' => config('socialstream.middleware', ['web'])], function () { | ||
Route::get('/oauth/{provider}', [OAuthController::class, 'redirect'])->name('oauth.redirect'); | ||
Route::get('/oauth/{provider}/callback', [OAuthController::class, 'callback'])->name('oauth.callback'); | ||
Route::post('/oauth/{provider}/callback', [OAuthController::class, 'callback'])->name('oauth.callback'); | ||
|
||
Route::delete('/user/connected-account/{id}', [ConnectedAccountController::class, 'destroy']) | ||
->middleware(['auth']) | ||
->name('connected-accounts.destroy'); | ||
|
||
Route::post('/user/set-password', [PasswordController::class, 'store']) | ||
->middleware(['auth']) | ||
->name('user-password.set'); | ||
|
||
if (Socialstream::hasProviderAvatarsFeature() && Jetstream::managesProfilePhotos()) { | ||
Route::put('/user/profile-photo', [UpdateUserProfilePhotoController::class, '__invoke']) | ||
->middleware(['auth']) | ||
->name('user-profile-photo.set'); | ||
} | ||
}); |
Oops, something went wrong.