proyecto404/util-bundle
Composer 安装命令:
composer require proyecto404/util-bundle
包简介
Utility and base classes used by 404's projects
README 文档
README
##Installation
You can install this bundle using composer
$ php composer.phar require proyecto404/util-bundle "dev-master"
or add the package to your composer.json file directly.
Composer will install the bundle to your project's vendor/proyecto404 directory.
After you have installed the package, you just need to add the bundle to your AppKernel.php file:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Proyecto404\UtilBundle\Proyecto404UtilBundle(), ); }
##Contents
- Command:
- ExecuteSqlCommand: Symfony console command that executes SQL files in doctrine's default manager.
- Controller:
- ControllerBase: Base class with convenient utility methods for controllers.
- Form:
- FormUtil: Utility class for forms.
- ValuedPasswordType: Password type that maintains value like other inputs.
- Http:
- JsonResponse: Better Json response object.
- Lib:
- Check: Implements Design by Contract.
- Enum: Base class for enum types.
- GeopositionHelper: Helper class with geoposition utility methods.
- PaginationInfo: Represents pagination information of set of data.
- Model\Builder:
- EntityBuilder: Base class for entity builders.
- Model\Form:
- EntityBuilderType: Base class for all EntityBuilder's form types.
- Repository:
- EntityRepositoryInterface: Interface for domain entities repositories.
- OrderDirections: Enum class with ordering directions.
- RepositoryHelper: Helper class with utility methods for repositories.
- Security\Encoder:
- Md5NoSaltEncoder: Encode a password in md5 without use the salt.
License
This bundle is under the MIT license. See the complete license in the bundle LICENSE file.
统计信息
- 总下载量: 301
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-11