Download the PHP package orbiter/annotations-util without Composer

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

Orbiter\AnnotationUtil

Helper utility for Doctrine\Annotations, uses cached reflection by scaleupstack/reflection.

Includes CodeInfo for static code analyzes, for easier, automatic parsing of Annotations and e.g. setup of DI.

Install with composer:

composer require orbiter/annotations-util

See doctrine docs for details on what Annotations are and complexer Examples.

AnnotationsUtil

Example Annotation

Define your annotation, remember to specify it in the Annotation loaders - normal autoloading doesn't work for classes using @Annotation!

Using an annotation in a class:

Get value of the Annotation:

This example is a summarized version, using this utility to read in the end, from Doctrine\Annotations: Create Annotations.

Take a Look

Want to build console apps with dependency injection and annotations? Use this app skeleton: elbakerino/console, powered by PHP-DI, uses Doctrine\Annotations with this package.

Build event and middleware based apps with Satellite, DI enabled and with annotations for cli commands and routings..

License

This project is free software distributed under the MIT License.

See: LICENSE.

Contributors

By committing your code to the code repository you agree to release the code under the MIT License attached to the repository without the expectation of consideration.


Author: Michael Becker


All versions of annotations-util with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
doctrine/annotations Version ^1.13.2
scaleupstack/reflection Version ^1.2
nikic/php-parser Version ^4.3.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 orbiter/annotations-util contains the following files

Loading the files please wait ....