Code Monkey home page Code Monkey logo

filament-installer's Introduction

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, user root, and empty password
  • Replace the .env (and .env.example) APP_URL with $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.$YOURVALETTLD in your browser

Note: If your $PROJECTNAME has 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.

filament-installer's People

Contributors

shanerbaner82 avatar

Stargazers

doniaries avatar Brad Johnson avatar afiqxeon avatar Stefano Mazzega avatar HAMAD ABDULLA avatar Dushmanta avatar  avatar ángel avatar Arturo Rojas avatar Damilola Emmanuel Olowookere avatar Njuguna Mwangi avatar  avatar Dejan Duracoski avatar freddy avatar Alade YESSOUFOU avatar moneya avatar Youness Boualam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.