Download the PHP package darsyn/class-finder without Composer

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

Darsyn's Class Finder Build Status

A library for searching for classes in a specific root directory and namespace. Originally intended for searching for classes in all registered Symfony bundles (similar to finding bundle commands), it can find classes that stick to a standard without having to manually register each of those classes. Various filters can be specified, such as:

Usually an array containing fully-qualified class names (as strings) is returned, but passing true as the fourth parameter to the findClasses() method will return an array of ReflectionClass instances instead. Very useful in certain situations.

License

This project is licensed under MIT.

Dependencies

This project uses Symfony's Finder component to search for classes, and PHP's Reflection extension to process class definitions. It also assumes you are using Composer or a similar autoloader.

If you plan to use this library with the Symfony framework, it also utilises the HTTP Kernel component; this will already be a dependency of your project however.

Example

Symfony Integration

You may also register this library as a service. To do so, add the following to app/config/services.yml (or in the bundle that uses this library in your preferred configuration format):

Note: Remember that the kernel service is synthetic, and cannot be used until Symfony injects the correct kernel instance into the container.

Authors and Contributing

Current authors include:

All contributions are welcome, don't forget to add your name here in the pull request!


All versions of class-finder with dependencies

PHP Build Version
Package Version
Requires symfony/finder Version ~2.8|~3.0|~4.0
php Version >=5.4
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 darsyn/class-finder contains the following files

Loading the files please wait ....