Download the PHP package tourze/resource-manage-bundle without Composer

On this page you can find all versions of the php package tourze/resource-manage-bundle. 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 resource-manage-bundle

Resource Management Bundle

PHP Version

中文

A universal resource distribution and management framework that supports unified management and distribution of various resource types.

Installation

系统概述

资源管理系统是一个通用的资源发放和管理框架,支持多种类型资源的统一管理和分发。系统采用接口定义和依赖注入的方式,实现了高度的可扩展性和灵活性。

核心组件

1. ResourceIdentity 接口

定义了资源的基本标识接口,包含:

2. ResourceProvider 接口

资源提供者的统一接口,负责具体资源类型的管理和发放:

3. ResourceManager 服务

资源管理器,负责:

已实现的资源类型

1. 优惠券资源 (CouponResourceProvider)

2. 实物奖品资源 (SpuOfferResourceProvider)

3. 文本资源 (TextResourceProvider)

4. 虚拟资源 (VirtualResourceProvider)

如何实现新的资源类型

  1. 创建资源实体类并实现 ResourceIdentity 接口

  2. 创建资源提供者类并实现 ResourceProvider 接口

  3. 资源提供者会自动注册到系统中(通过 AutoconfigureTag 注解)

使用示例

注意事项

  1. 资源类型的 Code 必须全局唯一
  2. 实现新的资源类型时,需要同时实现资源标识和提供者
  3. 资源发放时需要处理异常情况
  4. 建议为新增的资源类型添加单元测试

License

This project is licensed under the MIT License - see the LICENSE file for details.


All versions of resource-manage-bundle with dependencies

PHP Build Version
Package Version
Requires doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/security-core Version ^7.3
symfony/yaml Version ^7.3
tourze/doctrine-timestamp-bundle Version 1.1.*
tourze/enum-extra Version 1.0.*
tourze/symfony-dependency-service-loader 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 tourze/resource-manage-bundle contains the following files

Loading the files please wait ...