This is a simple breakdown of how I deploy Bedrock+Sage using RunCloud and Envoyer.
cd {{ release }}/web/app/themes/sage
<?php | |
namespace App\SlashCommands; | |
use Discord\Parts\Interactions\Interaction; | |
use Discord\Parts\User\Member; | |
use Laracord\Commands\SlashCommand; | |
class Roles extends SlashCommand | |
{ |
<?php | |
namespace App\Livewire; | |
use Livewire\Attributes\Url; | |
use Livewire\Component; | |
use WP_Query; | |
class PostSearch extends Component | |
{ |
<?php | |
namespace App\Filament\Resources\PostResource\Pages; | |
use App\Concerns\HasPreview; | |
use App\Filament\Resources\PostResource; | |
use Filament\Resources\Pages\EditRecord; | |
use Pboivin\FilamentPeek\Pages\Actions\PreviewAction; | |
use Pboivin\FilamentPeek\Pages\Concerns\HasPreviewModal; |
<?php | |
use function Env\env; | |
/** | |
* Plugin Name: PHPMailer SMTP | |
* Plugin URI: https://roots.io/bedrock/ | |
* Description: Simple PHPMailer SMTP configuration for Bedrock. | |
* Version: 1.0.0 | |
* Author: Roots |
<?php | |
namespace App\View\Components; | |
use Roots\Acorn\View\Component; | |
class Rating extends Component | |
{ | |
/** | |
* The rating value. |
#!/bin/bash | |
# Replace Slack.sh in /boot/config/plugins/dynamix/notifications/agents | |
# Set to your Discord webhook token. | |
WEBHOOK="https://discordapp.com/api/webhooks/ID/TOKEN" | |
curl "$WEBHOOK" \ | |
-X "POST" \ | |
-H 'Content-Type: application/json' \ | |
--data @<(cat <<EOF |