composer setupThis single command runs the complete setup: installs dependencies, copies .env, generates app key, runs migrations, installs npm packages, and builds assets.
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| APP_DIRS=( | |
| "/Applications" | |
| "$HOME/Applications" | |
| ) | |
| if ! command -v brew >/dev/null 2>&1; then | |
| echo "Error: Homebrew not found in PATH" >&2 |
A Filament plugin for creating and managing decision tables (rules engine). Empower business users to create, update, and review complex decision logic through an intuitive visual interface - no code required.
| { | |
| "alwaysThinkingEnabled": true, | |
| "statusLine": { | |
| "type": "command", | |
| "command": "npx -y ccstatusline@latest", | |
| "padding": 0 | |
| }, | |
| "hooks": { | |
| "PreToolUse": [ | |
| { |
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\DB; | |
| use Illuminate\Support\Facades\File; | |
| use Illuminate\Support\Facades\Schema; | |
| class MigrateFreshPreserve extends Command |
| <?php | |
| use Filament\Actions; | |
| use Filament\Notifications\Actions\Action; | |
| use Filament\Notifications\Notification; | |
| use Filament\Facades\Filament; | |
| public function boot(): void | |
| { | |
| Actions\CreateAction::configureUsing(function (Actions\CreateAction $action): void { |
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Filesystem\Filesystem; | |
| class ConfigDiffVendorCommand extends Command | |
| { | |
| protected $signature = 'config:diff-vendor |
| <?php | |
| namespace App\Concerns; | |
| use Filament\Support\Icons\Heroicon; | |
| use BackedEnum; | |
| use Illuminate\Contracts\Support\Htmlable; | |
| trait HasActiveIcon | |
| { |
| [core] | |
| excludesfile = ~/.gitignore | |
| editor = subl -n -w | |
| # pager = diff-so-fancy | less -r | |
| autocrlf = input | |
| #[include] | |
| # path = ~/.gitconfig.local | |
| [alias] | |
| cp = cherry-pick | |
| st = status -s |
| import defaultTheme from 'tailwindcss/defaultTheme' | |
| /** @type {import('tailwindcss').Config} */ | |
| const config = { | |
| content: [ | |
| './js/**/*.{js,vue}', | |
| ], | |
| darkMode: 'false', |