Download the PHP package hipsterjazzbo/php-style without Composer

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

HipsterJazzbo PHP Style

Shared PHP-CS-Fixer rules for my PHP projects.

The package owns the common rules. Each project still owns its own Finder, so repositories can decide which directories should be formatted.

Install

Once the package is available on Packagist:

Before the first Packagist release is indexed, Composer can install directly from GitHub by adding this repository as a VCS source and requiring dev-main.

Use

Create .php-cs-fixer.dist.php in the consuming project:

Project-specific overrides

A project can replace individual shared rules without copying the whole configuration:

Or use PhpStyle::rules() directly when a repository needs to build a more unusual Config.

Mago (one-tool alternative)

If your project uses Mago, use the standalone mago.toml rules as the shared style reference. You do not need PHP-CS-Fixer.

Mago 1.25+ can inherit a local config with extends:

The file must exist locally. You can copy this small profile into a project, or place it at an inherited path through your normal dependency management. Do not install this package as a Composer dependency just for Mago: its Composer requirements still include PHP-CS-Fixer for existing consumers.

The translation keeps PER-CS, import ordering, a blank line before return, and the linter rules for strict types, unnecessary imports and fully-qualified global classes. Some PHP-CS-Fixer options have no exact Mago equivalent: statement-specific blank lines, automatic import replacement, inserting strict declarations, and automatic expansion or semantic checking of PHPDoc. Mago is the only formatter for projects choosing this profile; enforce useful PHPDoc through the project's documentation policy and checks.

Existing PHP-CS-Fixer consumers can continue using PhpStyle::config(). Do not run both formatters over the same project.

What this does not enforce

PHP-CS-Fixer can format declaration docblocks, but it does not prove that every declaration has a useful human-readable description.

Repositories that require descriptive PHPDoc should keep a separate parser/AST-based documentation check for that policy.


All versions of php-style with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
friendsofphp/php-cs-fixer Version ^3.95
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 hipsterjazzbo/php-style contains the following files

Loading the files please wait ...