shanerbaner82/filament-installer
最新稳定版本:v1.0.0
Composer 安装命令:
composer require shanerbaner82/filament-installer
包简介
FilamentPHP application installer.
关键字:
README 文档
README
Quickly spin up a new Filament powered application.
Filament Installer is a command-line tool that replaces the Laravel installer and wraps up the most common tasks you might take when creating a Filament app: opening it in your editor and your browser, initialize a git repository, tweak your .env and .env.example, and more.
Requirements
- PHP 8.2+
Installation if running Herd
herd composer global require shanerbaner82/filament-installer
Otherwise run:
composer global require shanerbaner82/filament-installer
Upgrading
composer global update shanerbaner82/filament-installer
Usage
Make sure ~/.composer/vendor/bin is in your terminal's path.
cd ~/<code-directory> filament new my-cool-filament-app
What exactly does it do?
filament new $PROJECTNAME- Initialize a git repo, add all the files, and, after some changes below, make a commit with the text "Initial commit."
- Replace the
.env(and.env.example) database credentials with the default macOS MySQL credentials: database of$PROJECTNAME, userroot, and empty password - Replace the
.env(and.env.example)APP_URLwith$PROJECTNAME.$YOURVALETTLD - Generate an app key
- Set up dark mode (if opted in)
- Scaffold custom theme assets (if opted in)
- Install and setup Filament Breezy, Filament Shield, or Filament Sentry (if opted in)
- Open the project in your favorite editor
- Open
$PROJECTNAME.$YOURVALETTLDin your browser
Note: If your
$PROJECTNAMEhas dashes (-) in it, they will be replaced with underscores (_) in the database name.
There are also a few optional behaviors based on the parameters you pass (or define in your config file), including creating a database, migrating, running Valet Link and/or Secure, and running a custom bash script of your definition after the fact.
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-30