Skip to content

Commit bef5909

Browse files
committed
Init
1 parent 99cca57 commit bef5909

File tree

5 files changed

+15
-56
lines changed

5 files changed

+15
-56
lines changed

CHANGELOG.md

+2-26
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
1-
Yii 2 ActiveRecord File Attachment extension Change Log
2-
=======================================================
3-
4-
1.0.3, June 22, 2017
5-
--------------------
6-
7-
- Enh #6: Added `FileBehavior::openFile()` method as a shortcut to `yii2tech\filestorage\BucketInterface::openFile()` (klimov-paul)
8-
- Enh #9: `FileBehavior::$subDirTemplate` now accepts the PHP callback, which should return its actual value (nexen2, klimov-paul)
9-
10-
11-
1.0.2, October 7, 2016
12-
----------------------
13-
14-
- Bug #4: Fixed `TransformFileBehavior::getFileUrl()` triggers `E_NOTICE` in case `defaultFileUrl` is an empty array (klimov-paul)
15-
- Enh #3: Added support for transformed file extension variation via `TransformFileBehavior::transformationFileExtensions` (klimov-paul)
16-
- Enh #5: Added `TransformFileBehavior::regenerateFileTransformations()` method, allowing regeneration of the file transformations (klimov-paul)
17-
18-
19-
1.0.1, February 14, 2016
20-
------------------------
21-
22-
- Bug #1: Fixed required version of "yii2tech/file-storage" preventing stable release composer install (klimov-paul)
23-
24-
25-
1.0.0, February 10, 2016
1+
1.0.0, September 27, 2027
262
------------------------
273

28-
- Initial release.
4+
- Initial release.

FileBehavior.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @link https://github.com/yii2tech
3+
* @link https://github.com/yii2techz
44
* @copyright Copyright (c) 2015 Yii2tech
55
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
66
*/

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The Yii framework is free software. It is released under the terms of
22
the following BSD License.
33

4-
Copyright © 2015 by Yii2tech (https://github.com/yii2tech)
4+
Copyright © 2015 by Yii2tech (https://github.com/dfware)
55
All rights reserved.
66

77
Redistribution and use in source and binary forms, with or without

README.md

+3-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
<p align="center">
2-
<a href="https://github.com/yii2tech" target="_blank">
3-
<img src="https://avatars2.githubusercontent.com/u/12951949" height="100px">
4-
</a>
5-
<h1 align="center">ActiveRecord File Attachment Extension for Yii2</h1>
6-
<br>
7-
</p>
8-
9-
This extension provides support for ActiveRecord file attachment.
10-
11-
For license information check the [LICENSE](LICENSE.md)-file.
12-
13-
[![Latest Stable Version](https://poser.pugx.org/yii2tech/ar-file/v/stable.png)](https://packagist.org/packages/yii2tech/ar-file)
14-
[![Total Downloads](https://poser.pugx.org/yii2tech/ar-file/downloads.png)](https://packagist.org/packages/yii2tech/ar-file)
15-
[![Build Status](https://travis-ci.org/yii2tech/ar-file.svg?branch=master)](https://travis-ci.org/yii2tech/ar-file)
16-
17-
181
Installation
192
------------
203

@@ -23,13 +6,13 @@ The preferred way to install this extension is through [composer](http://getcomp
236
Either run
247

258
```
26-
php composer.phar require --prefer-dist yii2tech/ar-file
9+
composer require dfware/ar-file
2710
```
2811

2912
or add
3013

3114
```json
32-
"yii2tech/ar-file": "*"
15+
"dfware/ar-file": "*"
3316
```
3417

3518
to the require section of your composer.json.
@@ -38,7 +21,7 @@ If you wish to use [[yii2tech\ar\file\ImageFileBehavior]], you will also need to
3821
which is not required by default. In order to do so either run
3922

4023
```
41-
php composer.phar require --prefer-dist yiisoft/yii2-imagine
24+
composer require yiisoft/yii2-imagine
4225
```
4326

4427
or add

composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"name": "yii2tech/ar-file",
2+
"name": "dfware/ar-file",
33
"description": "Provides support for ActiveRecord file attachment",
44
"keywords": ["yii2", "active", "record", "file", "attachment", "transformation", "image", "thumbnail"],
55
"type": "yii2-extension",
66
"license": "BSD-3-Clause",
77
"support": {
8-
"issues": "https://github.com/yii2tech/ar-file/issues",
8+
"issues": "https://github.com/dfware/ar-file/issues",
99
"forum": "http://www.yiiframework.com/forum/",
10-
"wiki": "https://github.com/yii2tech/ar-file/wiki",
11-
"source": "https://github.com/yii2tech/ar-file"
10+
"wiki": "https://github.com/dfware/ar-file/wiki",
11+
"source": "https://github.com/dfware/ar-file"
1212
},
1313
"authors": [
1414
{
15-
"name": "Paul Klimov",
16-
"email": "[email protected]"
15+
"name": "Pavel Karelin",
16+
"email": "[email protected]"
1717
}
1818
],
1919
"require": {
2020
"yiisoft/yii2": "*",
21-
"yii2tech/file-storage": "*"
21+
"dfware/file-storage": "*"
2222
},
2323
"repositories": [
2424
{
@@ -30,7 +30,7 @@
3030
"yiisoft/yii2-imagine": "required for `ImageFileBehavior`"
3131
},
3232
"autoload": {
33-
"psr-4": { "yii2tech\\ar\\file\\": "" }
33+
"psr-4": { "dfware\\ar\\file\\": "" }
3434
},
3535
"extra": {
3636
"branch-alias": {

0 commit comments

Comments
 (0)