Download the PHP package bfg/installer without Composer

On this page you can find all versions of the php package bfg/installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package installer

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

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

Install

Complete the package installation process.

Packages

Show a list of all existing packages on the system.

Reinstall

Reinstall the extension, complete uninstallation and full installation.

Uninstall

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

Update

Update system extension.

Make

Create package extension.

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

Property name Property description Default
version The version of extension. 0.0.1
name The name of extension. [provider-class]
child The child type for sub extensions of extension. null
type The type to determine who owns the extension. bfg-app
description The description of extension. null
logo The logo of extension. null

Methods

Method name Method description
installed Executed when the provider is registered and the extension is installed.
run Executed when the provider run method boot and the extension is installed.
installed_parent Executed when the parent provider is registered and the extension is installed.
run_parent Executed when the parent provider run method boot and the extension is installed.
install Run on install extension.
update Run on update extension.
uninstall Run on uninstall extension.
dump Run 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.


All versions of installer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/framework Version ^8.0|^9.0|^10.0
bfg/entity Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bfg/installer contains the following files

Loading the files please wait ....