Download the PHP package bound1ess/adviser without Composer

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

Adviser Build Status

Adviser is a CLI application that checks your PHP project for various possible improvements.

Heavily inspired by phppackagechecklist.com.

Motivation

I often ask myself such questions. And I got tired of checking it all manually every time. Here comes Adviser to make things a lot easier.

Navigation

Installing

Composer way

Just run in your terminal (you should be in your project's root directory):

Or, if you don't have Composer installed globally:

Now you should be able to run vendor/bin/adviser and see Adviser's CLI.

Building a PHAR (Box is required)

This is not very difficult to do either, just run:

Now you can use builds/adviser.phar, or (only if you want to!) you can also do this:

Now you can use adviser (everywhere!) instead of builds/adviser.phar.

Using

analyse

This command will analyse (suggest possible improvements) the current working directory.

analyse --formatter="formattername"

Same, but the output will be formatted depending on the formatter you choose.

Available formatters:

analyse-repository name [--formatter="..."]

The name argument here is a Github repository name (e.g. bound1ess/adviser). This command will make a local clone of it, run the analyse command, then remove it (directory).

Configuring

Adviser can be configured via an adviser.yml file placed in the working directory.

Adding a Formatter

Adding a Validator

Configuring a Validator

ChangelogValidator

CIValidator

ComposerValidator

ContributingValidator

FrameworkValidator

LicenseValidator

ReadmeValidator

TestValidator

Extending

  1. Write the code.
  2. Don't forget to test it!
  3. Add it to the adviser.yml configuration file (see Configuring section).
  4. Done! Share your work with others if you want to.

Creating a Validator

Creating a Formatter

Contributing

  1. Fork the project and create a local clone of it.
  2. Install the dependencies: composer update or composer install --dev.
  3. Make a fix.
  4. Run the tests: make tests.

  1. Build the coverage report:

Now open localhost:8000 in your browser.

  1. Commit and pull!

Extra: building the documentation (ApiGen is required)

Additional information

License and support information, as well as my thanks to everyone who made Adviser possible.

License

This project is licensed under the MIT license.

Support

Stuck? Found a bug? Feel free to create a new issue here on Github, or find me on Twitter.

Thanks!

To the creators of PHPUnit, Symfony, Guzzle, Mockery and Box projects.


All versions of adviser with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
symfony/console Version 2.6.*
symfony/yaml Version 2.6.*
guzzlehttp/guzzle Version 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 bound1ess/adviser contains the following files

Loading the files please wait ....