Download the PHP package kanel/enuma without Composer

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

Enuma

Package that will help you create and Edit php classes, interfaces and traits dynamically

build

Create classes, interfaces and traits

Basic usage

  1. Create a class

will create or rewrite the file with :

  1. Create an interface

will create or rewrite the file with :

  1. Create a trait

will create or rewrite the file with :

Advanced usage

Coding style

Default coding style is PSR2. If you need to customize it you can :

  1. Encoding

Default PSR2 encoding is UTF-8, if you want to use yours :

  1. Php Closing Tag

Default behaviour is not having the ?> closing tag If you want to have it :

  1. Indentation

Default behaviour is 4 spaces, If you want to change it (only space characters allowed):

  1. Class braces

Default behaviour is class opening braces in new line, If you want to have them on same line as the class:

  1. Method braces

Default behaviour is method's opening braces in new line, If you want to have them on same line as the method:

  1. Unix line feed

Default behaviour is having an extra new line after class braces closing, If you don't want to have it:

  1. Windows new line

Default behaviour is Unix new line \n Ifw you want to have windows new line \r\n:

  1. Array annotation

Default behaviour is short annotation [] If you want to use standard annotation array() :

  1. Auto comments

Default behaviour is adding automatic @param and @return comments for methods If you don't want to have them:

Class creation

you can define many things when creating a class/interface/trait :

  1. Coding style:

will output:

  1. Namespace

Works for : PhpClass, PhpInterface and PhpTrait

will output:

  1. Use classes

Works for : PhpClass, PhpInterface and PhpTrait

will output:

  1. Class comment

Works for : PhpClass, PhpInterface and PhpTrait

will output:

  1. Make class Abstract

Only Works for PhpClass

will output:

  1. Make class Final

Only Works for PhpClass

will output:

Since a class can either be final or abstract, setting one to true automatically sets the other to false.

  1. Extend a class

Only Works for PhpClass

will output:

  1. Implement interfaces

Only Works for PhpClass

will output:

  1. Use a trait

Works for PhpClass and PhpTrait

will output:

  1. add a Constant

Works for PhpClass and PhpInterface

will output:

10.1. add a Property

Works for PhpClass and PhpTrait

will output:

10.2. Set a visibility for a property

You can specify a visibility for the property using the Hint class constants:

will output:

10.3. Set a property as static

will output:

10.4. Set a property's default value

will output:

  1. add a Method

Works for : PhpClass, PhpInterface and PhpTrait

will output:

11.1. add a Method Visibility

For interfaces, visibility is always public

will output:

11.2. Set Method as static

will output:

11.3. Set Method as abstract (and the class implicitly)

will output:

11.4. Set Method as final

will output:

Since a method can either be final or abstract, setting one to true automatically sets the other to false.

11.5. add Method comment

will output:

11.6. add Method Return type

will output:

11.6. add Method parameters

will output:

Edit classes

Coming soon


All versions of enuma with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
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 kanel/enuma contains the following files

Loading the files please wait ....