Download the PHP package typisttech/codeception-composer-project-module without Composer

On this page you can find all versions of the php package typisttech/codeception-composer-project-module. 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 codeception-composer-project-module

# Codeception Composer Project Module
[![Packagist Version](https://img.shields.io/packagist/v/typisttech/codeception-composer-project-module.svg?style=flat-square)](https://packagist.org/packages/typisttech/codeception-composer-project-module) [![Packagist Downloads](https://img.shields.io/packagist/dt/typisttech/codeception-composer-project-module.svg?style=flat-square)](https://packagist.org/packages/typisttech/codeception-composer-project-module) [![PHP from Packagist](https://img.shields.io/packagist/php-v/TypistTech/codeception-composer-project-module?style=flat-square)](https://packagist.org/packages/typisttech/codeception-composer-project-module) [![CircleCI](https://img.shields.io/circleci/build/gh/TypistTech/codeception-composer-project-module?style=flat-square)](https://circleci.com/gh/TypistTech/codeception-composer-project-module) [![license](https://img.shields.io/github/license/TypistTech/codeception-composer-project-module.svg?style=flat-square)](https://github.com/TypistTech/codeception-composer-project-module/blob/master/LICENSE) [![Twitter Follow @TangRufus](https://img.shields.io/twitter/follow/TangRufus?style=flat-square&color=1da1f2&logo=twitter)](https://twitter.com/tangrufus) [![Hire Typist Tech](https://img.shields.io/badge/Hire-Typist%20Tech-ff69b4.svg?style=flat-square)](https://www.typist.tech/contact/)

Create throw away composer projects for Codeception tests.

Built with ♥ by Typist Tech


Codeception Composer Project Module is an open source project and completely free to use.

However, the amount of effort needed to maintain and develop new features is not sustainable without proper financial backing. If you have the capability, please consider donating using the links below:

[![GitHub via Sponsor](https://img.shields.io/badge/Sponsor-GitHub-ea4aaa?style=flat-square&logo=github)](https://github.com/sponsors/TangRufus) [![Sponsor via PayPal](https://img.shields.io/badge/Sponsor-PayPal-blue.svg?style=flat-square&logo=paypal)](https://typist.tech/go/paypal-donate/) [![More Sponsorship Information](https://img.shields.io/badge/Sponsor-More%20Details-ff69b4?style=flat-square)](https://typist.tech/donate/codeception-composer-project-module/)

Create throw away composer projects for Codeception tests.

Why?

Because it's good to test your composer plugins in a more realistic environment.

The Goals, or What This Module Does?

Create throw away composer projects for Codeception tests.

Before each test:

After each test:

Install

Config

In your Codeception config file (e.g: acceptance.suite.yml or acceptance.yml):

This is the minimal config:

This is the full config:

projectRoot

Required String

Example: tests/_data/project

Path to the composer project directory, relative to the root directory (where codeception.yml is located). This directory must contain a composer.json file.

composerInstallFlags

Optional String

Example: --no-interaction --verbose --no-ansi

Default: --no-interaction --quiet

Extra flags to pass in during composer install.

See: $ composer help install

symlink

Optional Boolean in single quotes

Example: 'false'

Default: 'true'

Should the local packages be symlink-ed or not.

See: Composer document

repositoryPaths

Optional Array of strings

Example:

Default: The root directory (where codeception.yml is located).

Paths to local packages, relative to the root directory (where codeception.yml is located).

See: Composer document


Typist Tech is ready to build your next awesome WordPress site. Hire us!


API

amInTmpProjectDir

Change directory to the temporary project directory

Example:

runComposerCommand

Run a composer command

Example:

runComposerInstall

Run composer install with composerInstallFlags

Example:

getTmpProjectDir()

Get the path to the temporary project directory

Note: Return value maybe a symbolic link.

Example:

Frequently Asked Questions

Which composer versions are supported?

Both v1 and v2.

I want to see what Codeception Composer Project Module have done for me?

Run the tests with the --debug flag.

Codeception Composer Project Module will log debug message to the console.

What to do when composer install fail or not install the latest version?

Your requirements could not be resolved to an installable set of packages.

Make sure you have package version constraints and minimum stability set up correctly.

What to do when the tests are too slow?

Note: These methods are not suitable for every use case.

Do you have real life examples that use this composer plugin?

Here you go:

Will you add support for older PHP versions?

Never! This plugin will only work on actively supported PHP versions.

Don't use it on end of life or security fixes only PHP versions.

It looks awesome. Where can I find some more goodies like this

Where can I give 5-star reviews?

Thanks! Glad you like it. It's important to let me knows somebody is using this project. Please consider:

Testing

Feedback

Please provide feedback! We want to make this project as useful as possible. Please submit an issue and point out what you do and don't like, or fork the project and send pull requests. No issue is too small.

Security Vulnerabilities

If you discover a security vulnerability within this project, please email us at [email protected]. All security vulnerabilities will be promptly addressed.

Credits

Codeception Composer Project Module is a Typist Tech project and maintained by Tang Rufus, freelance developer for hire.

Full list of contributors can be found here.

License

Codeception Composer Project Module is released under the MIT License.


All versions of codeception-composer-project-module with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3 || ^8.0
spatie/temporary-directory Version ^1.3
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 typisttech/codeception-composer-project-module contains the following files

Loading the files please wait ....