Skip to content

Instantly share code, notes, and snippets.

@sawirricardo
Last active October 18, 2024 23:11
Show Gist options
  • Save sawirricardo/84359b86407dfc8c77765d37cb65657d to your computer and use it in GitHub Desktop.
Save sawirricardo/84359b86407dfc8c77765d37cb65657d to your computer and use it in GitHub Desktop.
Laravel almost must use commands and packages
php artisan storage:link;
php artisan make:notifications-table
composer require laravel/horizon laravel/folio \
livewire/volt \
tpetry/laravel-postgresql-enhanced \
spatie/laravel-tags spatie/laravel-sluggable \
spatie/laravel-medialibrary spatie/laravel-activitylog \
wnx/laravel-backup-restore \
spatie/laravel-model-info spatie/laravel-sql-commenter \
spatie/eloquent-sortable spatie/laravel-searchable \
spatie/laravel-permission \
spatie/laravel-sitemap \
spatie/laravel-collection-macros \
staudenmeir/eloquent-has-many-deep staudenmeir/belongs-to-through \
staudenmeir/laravel-adjacency-list \
filament/filament:"^3.2" -W \
saloonphp/laravel-plugin saloonphp/pagination-plugin \
glhd/conveyor-belt;
composer require laravel/telescope \
nunomaduro/larastan \
barryvdh/laravel-ide-helper \
wnx/laravel-stats \
barryvdh/laravel-debugbar \
--dev;
composer require pestphp/pest \
pestphp/pest-plugin-laravel \
pestphp/pest-plugin-livewire \
--dev --with-all-dependencies;
./vendor/bin/pest --init;
php artisan telescope:install;
php artisan horizon:install;
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider";
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations";
php artisan vendor:publish --tag="activitylog-migrations";
php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider";
php artisan clear-compiled &&
php artisan cache:clear &&
php artisan route:clear &&
php artisan view:clear &&
php artisan config:clear &&
composer dumpautoload -o;
php artisan livewire:discover;
mkdir database/settings;
php artisan migrate;
php artisan schema:dump --prune;
composer require laravel/dusk --dev;
php artisan dusk:install;
composer require sawirricardo/indonesia-region;
php artisan vendor:publish --tag="indonesia-region-migrations";
composer require cybercog/laravel-ban;
php artisan vendor:publish --provider="Cog\Laravel\Ban\Providers\BanServiceProvider";
composer require spatie/laravel-model-states;
php artisan vendor:publish --provider="Spatie\ModelStates\ModelStatesServiceProvider" --tag="model-states-config";
composer require te7a-houdini/laravel-trix;
php artisan vendor:publish --provider="Te7aHoudini\LaravelTrix\LaravelTrixServiceProvider";
composer require sawirricardo/laravel-web3;
php artisan vendor:publish --provider="Sawirricardo\LaravelWeb3\LaravelWeb3ServiceProvider";
composer require mpociot/versionable;
php artisan vendor:publish --provider="Mpociot\Versionable\Providers\ServiceProvider";\
php artisan vendor:publish --provider="Spatie\Sitemap\SitemapServiceProvider";
rm -rf ./composer.lock;
composer require "pusher/pusher-php-server:^5.0";
rm -rf ./composer.lock;
composer require beyondcode/laravel-websockets;
php artisan vendor:publish --provider="BeyondCode\LaravelWebSockets\WebSocketsServiceProvider";
composer require inertiajs/inertia-laravel;
composer require spatie/laravel-markdown;
composer require based/laravel-typescript;
composer require pestphp/pest-plugin-faker --dev;
composer require pestphp/pest-plugin-mock --dev;
composer require spatie/pest-plugin-test-time --dev;
composer require milroyfraser/pest-plugin-gwt --dev;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment