Download the PHP package mrjoops/symfony-service-devtools without Composer

On this page you can find all versions of the php package mrjoops/symfony-service-devtools. 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 symfony-service-devtools

mrjoops/symfony-service-devtools

A set of useful tools for building Symfony services. To date, it includes:

Installation

You can install it with Composer.

Prerequisites

Although both are optional, please ensure you have installed docker-compose alongside Docker on your system.

If you use Symfony Flex, you can safely jump to the Usage section. Otherwise you must copy the following files in your project to enjoy all the features:

Don't forget to add the following lines in your .gitignore file:

Feel free to edit these files to fit your needs.

Usage

Quality tools

You can run all the code quality tools with this command:

You can run them individually:

You can also run the fixers with this command:

And again, you can run them individualy:

Testing tools

You can run all the testing tools with this command:

You can run them individually:

A note about Dredd

Since Dredd is a NodeJS tool, it is not installed with mrjoops/symfony-service-devtools. However it is included in the Docker image (see below) and ready to go!

Docker

You can add services to the docker-compose.yml file. Then you can start your services with the following command:

The base Docker image used here is mrjoops/ppm which uses PHP-PM, so you have an efficient PHP web server up and running!

Continuous integration

A configuration for Bitbucket Pipelines exists, it will run all checks and tests on pull requests.

Opinionated advices

  1. Do yourself a favor and create this alias: alias dk='docker-compose exec app' so you'll just have to prefix your commands with dk to have them executed in the container.
  2. It's a good idea to add make check (or dk make check) to your git workflow by creating a pre-commit hook.

All versions of symfony-service-devtools with dependencies

PHP Build Version
Package Version
Requires friendsofphp/php-cs-fixer Version ^2.15
mavimo/phpstan-junit Version ^0.2.3
phpmd/phpmd Version ^2.7
phpstan/extension-installer Version ^1.0
phpstan/phpstan-symfony Version ^0.11.6
squizlabs/php_codesniffer Version ^3.4
symfony/test-pack Version ^1.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 mrjoops/symfony-service-devtools contains the following files

Loading the files please wait ....