blemli / partysan
stop wishing and start building
Fund package maintenance!
Requires
- php: ^8.4
- illuminate/contracts: ^11.0||^12.0||^13.0
- joshembling/artisan-browse: ^0.0.7
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^11.0.0||^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
This package is not auto-updated.
Last update: 2026-07-28 15:10:49 UTC
README
stop wishing and start building
Frequently I find myself thinking "it would be nice if an artisan command existed for this". This package solves that problem by adding hundreds of missing artisan commands. More in sight: Keep the PR's coming!
Installation
composer require blemli/partysan --dev
Usage
just run php artisan browse and have fun.
Commands
browse, plugin:switch, db:create
db:create
Create the database for a connection if it does not exist yet. Supports all first-party Laravel drivers: sqlite, mysql, mariadb, pgsql and sqlsrv.
# create the database of the default connection php artisan db:create # create a specific database on a specific connection php artisan db:create my_database --connection=pgsql # mysql/mariadb charset & collation (defaults to the connection config) php artisan db:create --charset=utf8mb4 --collation=utf8mb4_unicode_ci # use a privileged account when the app user may not create databases php artisan db:create --admin-user=root --admin-password=secret # skip the confirmation prompt in production php artisan db:create --force
For sqlite the database file (including missing parent directories) is created. For the server drivers the command connects to the server's maintenance database (postgres for pgsql, master for sqlsrv) with the connection's credentials — or the given admin credentials — and issues a CREATE DATABASE if it is missing.
plugin:switch
Switch a composer dependency between local symlink, VCS (git) and Packagist sources:
php artisan plugin:switch # interactive php artisan plugin:switch vendor/package --local # symlink a local checkout php artisan plugin:switch vendor/package --vcs # use a git repo/branch php artisan plugin:switch vendor/package --packagist # reset to Packagist
