Download the PHP package florianwolters/component-core-debugprint without Composer

On this page you can find all versions of the php package florianwolters/component-core-debugprint. 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 component-core-debugprint

Component\Core\DebugPrint

Component\Core\DebugPrint is a simple-to-use PHP component that provides the Debug Print Method implementation pattern as an interface and a trait.

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight Coverage Status

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License

Stories in Ready Dependency Status Dependencies Status HHVM Status

Table of Contents (ToC)

Introduction

This component is inspired by the method java.lang.Object.toString of the Java programming language.

Component\Core\DebugPrint consists of two artifacts:

  1. The interface FlorianWolters\Component\Core\DebugPrintInterface: Indicates that an implementing class provides a Debug Print Method for objects.
  2. The trait FlorianWolters\Component\Core\DebugPrintTrait: Provides a default Debug Print Method implementation for objects.

Features

Requirements

Production

Development

Installation

Component\Core\DebugPrint should be installed using the dependency manager Composer.

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

The Composer installer can be downloaded with php.

php -r "readfile('https://getcomposer.org/installer');" | php

This will just check a few PHP settings and then download composer.phar to your working directory. This file is the Composer binary. It is a PHAR (PHP archive), which is an archive format for PHP which can be run on the command line, amongst other things.

To resolve and download dependencies, run the install command:

php composer.phar install

If you are creating a component that relies on Component\Core\DebugPrint, please make sure that you add Component\Core\DebugPrint to your component's composer.json file:

Usage

The best documentation for \Component\Core\DebugPrint are the unit tests, which are shipped in the package.

The most important usage rule:

Always implement the interface DebugPrintInterface if using the trait Type Hinting.

The class DebugPrintExample can be run via the command php resources/php/DebugPrintExample.php from the root of the project.

Default Debug Print Method

The class DebugPrintDefaultImpl uses the default implementation of the trait DebugPrintTrait.

Custom Debug Print Method

The class DebugPrintCustomImpl implements a custom implementation, which fulfills the design contract for a Value Object.

Testing

phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://gnu.org/licenses/lgpl.txt.

 "PHP: Hypertext Preprocessor"
 "Composer"
 "Packagist"
 "Semantic Versioning"
 "FlorianWolters · GitHub"
  "PHP-FIG — PHP Framework Interop Group"
  "PSR-0 requirements for autoloader interoperability"
  "PSR-1 basic coding style guide"
  "PSR-2 coding style guide"
  "PSR-4: Improved Autoloading"
  "Travis CI"
  "Scrutinizer CI"
  "SensioLabsInsight"
  "Coveralls"
  "VersionEye"
  "Depending"
  "Waffle"
  "HHVM Support in PHP Projects"
  "PHP_CodeSniffer"
  "PHPUnit"
  "sebastianbergmann/phpcpd · GitHub"
  "sebastianbergmann/phpdcd · GitHub"
  "PHPMD - PHP Mess Detector"
  "PHP Depend - Software Metrics for PHP"
  "fabpot/sami · GitHub"
  "SensioLabs Security Checker"
  "satooshi/php-coveralls · GitHub"
  "Contributors to FlorianWolters/PHP-Component-Core-DebugPrint"
  "florianwolters/component-core-debugprint - Packagist"
  "Application Programming Interface (API) documentation"
  "Object (Java Platform SE 7)"
  "Java"
  "PHP: Type Hinting - Manual"
  "FlorianWolters\Component\Core\DebugPrintInterface"
  "FlorianWolters\Component\Core\DebugPrintTrait"
  "FlorianWolters\Example\DebugPrintExample"
  "FlorianWolters\Example\DebugPrintDefaultImpl.php"
  "FlorianWolters\Example\DebugPrintCustomImpl.php"
  "PHP: Interfaces"
  "PHP: Traits"

All versions of component-core-debugprint with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
florianwolters/component-core-hashcode Version >=0.2
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 florianwolters/component-core-debugprint contains the following files

Loading the files please wait ....