Download the PHP package bfg/doc without Composer

On this page you can find all versions of the php package bfg/doc. 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 doc

Doc Package

A system for describing the behavior of classes where magic methods are used so as not to lose connection with the classes.

What is it for?

Its main purpose is to use it to describe your magic methods or properties that are accumulated in the properties of the class.

Install

Principle of operation

For a convenient description of properties, I wrote this logic on the attribute system that was added to php 8.

The kernel searches for files in all project folders, except for the following: {base_path}/public, {base_path}/vendor, {base_path}/routes, {base_path}/resources, {base_path}/storage, {base_path}/runtimes, {base_path}/database.

And it ignores all named folders: node_modules, css, js.

Searches for files with the *.php extension and checks for the existence of a class in the file.

To avoid difficulties, it is necessary to create a separate file for each class.

Usage

In total, for generating helpers, I created 2 main attributes:

The first attribute Bfg\Doc\Attributes\Doc is needed just to designate a property that will extend the capabilities of the class.

The second attribute Bfg\Doc\Attributes\DocClassName is needed to indicate the name of the class into which these properties will be added.

This can be useful if you are making a package that can extend its properties as needed.

I also added several aliases for the Bfg\Doc\Attributes\Doc attribute:

Macro strings:

Example

Run

To start the generator, just call the artisan command:

or


All versions of doc with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
bfg/object Version *
bfg/text Version *
bfg/entity Version ^1.1.5
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/doc contains the following files

Loading the files please wait ....