PHPackages                             happytodev/larafil - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. happytodev/larafil

ActiveProject[Framework](/categories/framework)

happytodev/larafil
==================

A Laravel Zero based CLI to install Laravel and Filament easily

v0.6.2(2y ago)416MITPHPPHP ^8.2.0

Since Apr 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/happytodev/larafil)[ Packagist](https://packagist.org/packages/happytodev/larafil)[ RSS](/packages/happytodev-larafil/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (22)Used By (0)

 [![Total Downloads](https://camo.githubusercontent.com/a0213dcec83a97444be9daa8f7c3e2bb755200fb19b17d987e4715afed383a54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6861707079746f6465762f6c61726166696c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/happytodev/larafil) [![Latest Stable Version](https://camo.githubusercontent.com/a72c65b7ba1829dc503b36d9399215aa5196360929c8a21cc5f6d77410b3fba3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6861707079746f6465762f6c61726166696c3f6c6162656c3d737461626c65)](https://packagist.org/packages/happytodev/larafil) [![License](https://camo.githubusercontent.com/5bde51e2dce09bddd1e5e80d7265466824989e613dd680030a31ae761861f9ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6861707079746f6465762f6c61726166696c2e737667)](https://packagist.org/packages/happytodev/larafil)

Larafil was created by [HappyToDev](https://github.com/happytodev) and was inspired by a [Povilas Korop](https://github.com/LaravelDaily)'s [tweet](https://x.com/povilaskorop/status/1784916290982826462?s=46&t=8FgNEQBLlkAK3L6Zwe_KyQ).

In one line, you can install Laravel and FilamenPHP :

Exemple :

`larafil install myNewAwesomeProject --create-user --filament-url=batcave --mysql --serve`

With this single line, **Larafil**

- will install Laravel (last version) in a directory called `myNewAwesomeProject`
- change default SQLite database by a MySQL database in your `.env` file, create the MySQL database, launch migrations, remove `database.sqlite` database
- will install FilamentPHP
- ask you to create the first Filament user
- ask you if you want to install some Filament Plugins (For now, only these plugins are supported as a proof of concept : 'None (default)', 'Breezy', 'Curator', 'Shield', 'Spatie Role Permissions')
- change the FilamentPHP admin URL to `batcave`
- start the integrated server

Every option is optional.

If you don't provide the name of the application, Larafil will ask you for it, so you can perfectly use this command instead of that above :

`larafil install --create-user --filament-url=batcave --mysql --serve`

when Larafil will ask you for the name of the project, it wiil be up to you to give you the name.

How to use Larafil
------------------

[](#how-to-use-larafil)

Get it on Packagist

```
composer global require happytodev/larafil
```

and just use it :

```
larafil install
```

It will ask you the name of your future application.

### Customize FilamentPHP admin url

[](#customize-filamentphp-admin-url)

You can change the default '/admin' url to the url you want. You have just to pass the option with your new value :

```
larafil install --filament-url=batcave
```

Once the installation finished, you can access to your dashboard with `/batcave>`

### Create a Filament user

[](#create-a-filament-user)

You can ask for a Filament user creation at the end of the installation :

```
larafil install --create-user
```

### Serve your application

[](#serve-your-application)

You can also ask to launch Laravel integrated server after the installation :

```
larafil install --serve
```

Of course, you can combine the two options together :

```
larafil install --create-user --serve
```

### Use MySQL database instead SQLite default one

[](#use-mysql-database-instead-sqlite-default-one)

If you want to use MySQL database instead the sqlite default one, you can use the `--mysql` option :

```
larafil install --create-user --mysql --serve
```

### Use Laravel 10 instead of Laravel 11

[](#use-laravel-10-instead-of-laravel-11)

If you want to use Laravel 10 instead Laravel 11, you can pass the `l10` option during installation :

```
larafil install --create-user --laravel-version=previous --serve
```

Nota : you can't use `l10` and `mysql` option together. That's because Laravel 10 use mysql by default. For Laravel 11, it's SQLite by default. If you try to use both together, you will have an error and the install stops.

The purpose of Larafil was to play with Laravel Zero from [Nuno Maduro](https://github.com/nunomaduro).

How to build Larafil
--------------------

[](#how-to-build-larafil)

1. git clone

```
git clone https://github.com/happytodev/larafil.git larafil
```

2. Composer install

```
composer install
```

3. Build the app

```
php larafil app:build
```

4. It's ready

```
./builds/larafil -V
```

Support the development
-----------------------

[](#support-the-development)

I don't know if there is another thing to develop for Larafil but tell me. It will be my pleasure to develop some good ideas for this little project.

**Do you like this project? Support it by donating**

- PayPal: [Donate](https://www.paypal.com/donate/?hosted_button_id=VSVEWSM2U437Q)
- Ko-Fi: [Donate](https://ko-fi.com/happytodev/)

Interested by Laravel 11 ?
--------------------------

[](#interested-by-laravel-11-)

[Get my free ebook about news in Laravel 11](https://ko-fi.com/s/7a573b69b0)

License
-------

[](#license)

Larafil is an open-source software licensed under the MIT license.

###  Health Score

25

↓

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

20

Last Release

731d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b31cd186f639bcfaffa668063556cfe495baae03d56a7f0c69fba8383feecfc1?d=identicon)[happytodev](/maintainers/happytodev)

---

Top Contributors

[![happytodev](https://avatars.githubusercontent.com/u/425998?v=4)](https://github.com/happytodev "happytodev (81 commits)")

---

Tags

cliconsoleframeworklaravellaravel-zerofilamentphp

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/happytodev-larafil/health.svg)

```
[![Health](https://phpackages.com/badges/happytodev-larafil/health.svg)](https://phpackages.com/packages/happytodev-larafil)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
