Download the PHP package sylius/test-application without Composer

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

Sylius Logo.

TestApplication =============== Developer tool that provides a ready-to-use Sylius-based application for testing and running Sylius plugins. > ⚠️ While TestApplication is still evolving, it is already being used internally and in official plugins. We encourage you to adopt it in your plugins, provide feedback, and contribute to improve the developer experience for the entire Sylius ecosystem. ## Purpose Previously, each plugin had to maintain its own copy of a test application, leading to duplicated configuration, maintenance overhead, and version incompatibilities. This package solves that problem by: - Extracting a reusable, standalone test application - Providing an official, centrally maintained solution by the Sylius team - Simplifying the setup and execution of tests within plugins - Creating versioned variants aligned with specific Sylius versions (e.g. `1.14`, `2.0`, etc.) ## Installation and configuration in a Plugin 1. Require the TestApplication as a development dependency: 1. Set environment variables in `tests/TestApplication/.env`: > 💡 The values provided above are examples and should be adjusted for your plugin. 1. If needed, place plugin-specific configuration files in the `tests/TestApplication/config` directory (e.g. `services.yaml`, `routes.yaml`) and load them by env variables. 1. If your plugin requires additional JavaScript dependencies, add them to `tests/TestApplication/package.json`: This file will be merged with the main TestApplication `package.json`. 1. If your plugin requires entity extensions, add them in `tests/TestApplication/src/Entity` and ensure: - Doctrine mappings are configured: - The namespace is registered properly in the autoloader, in `composer.json` file bash vendor/bin/console doctrine:database:create vendor/bin/console doctrine:migration:migrate -n vendor/bin/console sylius:fixtures:load -n (cd vendor/sylius/test-application && yarn install) (cd vendor/sylius/test-application && yarn build) vendor/bin/console assets:install bash symfony serve --dir=vendor/sylius/test-application/public ``` ## Example usage See an example implementation in [the pull request](https://github.com/Sylius/CmsPlugin/pull/53) to Sylius/CmsPlugin. ## Community For online communication, we invite you to chat with us & other users on [Sylius Slack](https://sylius-devs.slack.com/). ## License This package is completely free and released under the MIT License.

All versions of test-application with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
sylius/sylius Version ^2.0
symfony/debug-bundle Version *
symfony/dotenv Version *
symfony/flex Version *
symfony/runtime Version *
symfony/web-profiler-bundle Version *
theofidry/alice-data-fixtures Version *
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 sylius/test-application contains the following files

Loading the files please wait ....