PHPackages                             bfg/installer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bfg/installer

ActiveBfg-app[Utility &amp; Helpers](/categories/utility)

bfg/installer
=============

Simplify the installation process for certain packages

0.2.1(3y ago)168614MITPHPPHP ^8.0

Since Jul 12Pushed 3y ago2 watchersCompare

[ Source](https://github.com/bfg-s/installer)[ Packagist](https://packagist.org/packages/bfg/installer)[ Docs](https://github.com/bfg/installer)[ RSS](/packages/bfg-installer/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (13)Used By (4)

Installer Package
=================

[](#installer-package)

The intent of the functionality is to simplify the installation process for certain packages, it also allows you to bind packages with each other by types for your application or extension.

In a nutshell
-------------

[](#in-a-nutshell)

All you need is to put this package in dependence and inherit from any of your laravel providers, it can be a package or any provider that you create and inherit from a special abstract provider. You will be able to register your providers, specify their dependencies and sequence, very useful when you need to control the connected parts of the laravel. Also, for comfortable work, there is a mini package manager that is used through the composer to quickly install extensions by filtering them by the specified types, in fact, all dependencies in this installer are based on the types of the composer's package.

Commands
--------

[](#commands)

### Install

[](#install)

Complete the package installation process.

```
php artisan install []
```

```
Options:
  -u, --update          Update the package after install
  -r, --reinstall       Reinstall the package after install or update
```

### Packages

[](#packages)

Show a list of all existing packages on the system.

```
php artisan packages
```

```
Options:
  -p, --path            Show path provider of extensions
  -c, --child           Show child name of extensions
  -t, --type            Show type of extensions
```

### Reinstall

[](#reinstall)

Reinstall the extension, complete uninstallation and full installation.

```
php artisan reinstall []
```

### Uninstall

[](#uninstall)

Remove the extension from the system, for complete removal you need to use the "--force" flag.

```
php artisan uninstall []
```

```
Options:
  -f, --force           Force uninstall
```

### Update

[](#update)

Update system extension.

```
php artisan update []
```

```
Options:
    -r, --reinstall       Reinstall the package after update
```

### Make

[](#make)

Create package extension.

```
php artisan make []
```

```
Options:
      --namespace[=NAMESPACE]      The namespace of extension
      --description[=DESCRIPTION]  The description of extension
      --type[=TYPE]                The type of extension [default: "bfg-app"]
      --ver[=VER]                  The version of extension [default: "0.0.1"]
```

The next step
-------------

[](#the-next-step)

Further, you just need to inherit any of the service providers from `Bfg\Installer\Providers\InstalledProvider` and you have the following functions and provider settings at your disposal:

### Properties

[](#properties)

Property nameProperty descriptionDefaultversionThe version of extension.0.0.1nameThe name of extension.\[provider-class\]childThe child type for sub extensions of extension.`null`typeThe type to determine who owns the extension.bfg-appdescriptionThe description of extension.`null`logoThe logo of extension.`null`### Methods

[](#methods)

Method nameMethod descriptioninstalledExecuted when the provider is registered and the extension is installed.runExecuted when the provider run method `boot` and the extension is installed.installed\_parentExecuted when the parent provider is registered and the extension is installed.run\_parentExecuted when the parent provider run method `boot` and the extension is installed.installRun on install extension.updateRun on update extension.uninstallRun on uninstall extension.dumpRun on dump extension.> You can use both the standard "boot" and "register", just do not forget to call the parent methods, otherwise the control will not be able to be fully implemented.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

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 ~58 days

Recently: every ~135 days

Total

12

Last Release

1126d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59b2d162a30938ac2c3c56340ebea07a6778a3e1c86cb70b5bc28b69a1c3f04d?d=identicon)[bfg](/maintainers/bfg)

---

Top Contributors

[![Xsaven](https://avatars.githubusercontent.com/u/1726771?v=4)](https://github.com/Xsaven "Xsaven (31 commits)")

---

Tags

laraveldocblock

### Embed Badge

![Health badge](/badges/bfg-installer/health.svg)

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

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)

PHPackages © 2026

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