Skip to content

Commit e936fd9

Browse files
authored
change namespace to Backstage (#45)
* wip * docs: fix links
1 parent de2211b commit e936fd9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+190
-190
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: vormkracht10
1+
github: backstagephp

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Ask a question
4-
url: https://github.com/vormkracht10/php-uploadcare-transformations/discussions/new?category=q-a
5-
about: Ask the community for help
6-
- name: Request a feature
7-
url: https://github.com/vormkracht10/php-uploadcare-transformations/discussions/new?category=ideas
8-
about: Share ideas for new features
9-
- name: Report a security issue
10-
url: https://github.com/vormkracht10/php-uploadcare-transformations/security/policy
11-
about: Learn how to notify us for sensitive bugs
12-
- name: Report a bug
13-
url: https://github.com/vormkracht10/php-uploadcare-transformations/issues/new
14-
about: Report a reproducable bug
3+
- name: Ask a question
4+
url: https://github.com/backstagephp/php-uploadcare-transformations/discussions/new?category=q-a
5+
about: Ask the community for help
6+
- name: Request a feature
7+
url: https://github.com/backstagephp/php-uploadcare-transformations/discussions/new?category=ideas
8+
about: Share ideas for new features
9+
- name: Report a security issue
10+
url: https://github.com/backstagephp/php-uploadcare-transformations/security/policy
11+
about: Learn how to notify us for sensitive bugs
12+
- name: Report a bug
13+
url: https://github.com/backstagephp/php-uploadcare-transformations/issues/new
14+
about: Report a reproducable bug

CHANGELOG.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,70 +4,70 @@ All notable changes to `php-uploadcare-transformations` will be documented in th
44

55
## v1.0.0 - 2023-06-16
66

7-
- Support for Proxy URLs (https://uploadcare.com/docs/delivery/proxy/)
7+
- Support for Proxy URLs (https://uploadcare.com/docs/delivery/proxy/)
88

99
## v0.4.0 - 2023-06-15
1010

1111
### What's Changed
1212

13-
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/vormkracht10/php-uploadcare-transformations/pull/23
14-
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/vormkracht10/php-uploadcare-transformations/pull/24
15-
- Rector by @Baspa in https://github.com/vormkracht10/php-uploadcare-transformations/pull/26
16-
- [Feature] Add support for rasterize (for SVG images) by @markvaneijk in https://github.com/vormkracht10/php-uploadcare-transformations/pull/27
17-
- [Fix] Add tests for automatic preview addition by @markvaneijk in https://github.com/vormkracht10/php-uploadcare-transformations/pull/28
18-
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/vormkracht10/php-uploadcare-transformations/pull/29
19-
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/vormkracht10/php-uploadcare-transformations/pull/30
13+
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/backstagephp/php-uploadcare-transformations/pull/23
14+
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/backstagephp/php-uploadcare-transformations/pull/24
15+
- Rector by @Baspa in https://github.com/backstagephp/php-uploadcare-transformations/pull/26
16+
- [Feature] Add support for rasterize (for SVG images) by @markvaneijk in https://github.com/backstagephp/php-uploadcare-transformations/pull/27
17+
- [Fix] Add tests for automatic preview addition by @markvaneijk in https://github.com/backstagephp/php-uploadcare-transformations/pull/28
18+
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/backstagephp/php-uploadcare-transformations/pull/29
19+
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/backstagephp/php-uploadcare-transformations/pull/30
2020

2121
### New Contributors
2222

23-
- @markvaneijk made their first contribution in https://github.com/vormkracht10/php-uploadcare-transformations/pull/27
23+
- @markvaneijk made their first contribution in https://github.com/backstagephp/php-uploadcare-transformations/pull/27
2424

25-
**Full Changelog**: https://github.com/vormkracht10/php-uploadcare-transformations/compare/v0.3.3...v0.4.0
25+
**Full Changelog**: https://github.com/backstagephp/php-uploadcare-transformations/compare/v0.3.3...v0.4.0
2626

2727
## v.0.3.3 - 2022-10-25
2828

2929
### What's Changed
3030

31-
- Overlay transformations by @Baspa in https://github.com/vormkracht10/php-uploadcare-transformations/pull/22
32-
- Static analysis level 6 by @Baspa in https://github.com/vormkracht10/php-uploadcare-transformations/pull/20
31+
- Overlay transformations by @Baspa in https://github.com/backstagephp/php-uploadcare-transformations/pull/22
32+
- Static analysis level 6 by @Baspa in https://github.com/backstagephp/php-uploadcare-transformations/pull/20
3333

34-
**Full Changelog**: https://github.com/vormkracht10/php-uploadcare-transformations/compare/v0.3.2...v0.3.3
34+
**Full Changelog**: https://github.com/backstagephp/php-uploadcare-transformations/compare/v0.3.2...v0.3.3
3535

3636
## v0.3.1 - 2022-10-03
3737

3838
### What's Changed
3939

40-
- Fixed unreachable code error which led to `Enum could not be converted to string` error.
41-
- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/vormkracht10/php-uploadcare-transformations/pull/17
42-
- Bump actions/cache from 2 to 3 by @dependabot in https://github.com/vormkracht10/php-uploadcare-transformations/pull/18
40+
- Fixed unreachable code error which led to `Enum could not be converted to string` error.
41+
- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/backstagephp/php-uploadcare-transformations/pull/17
42+
- Bump actions/cache from 2 to 3 by @dependabot in https://github.com/backstagephp/php-uploadcare-transformations/pull/18
4343

44-
**Full Changelog**: https://github.com/vormkracht10/php-uploadcare-transformations/compare/v0.3.0...v0.3.1
44+
**Full Changelog**: https://github.com/backstagephp/php-uploadcare-transformations/compare/v0.3.0...v0.3.1
4545

4646
## v0.3.0 - 2022-09-26
4747

4848
### What's Changed
4949

50-
- Static analysis by @Baspa in https://github.com/vormkracht10/php-uploadcare-transformations/pull/16
50+
- Static analysis by @Baspa in https://github.com/backstagephp/php-uploadcare-transformations/pull/16
5151

52-
**Full Changelog**: https://github.com/vormkracht10/php-uploadcare-transformations/compare/v0.2.1...v0.3.0
52+
**Full Changelog**: https://github.com/backstagephp/php-uploadcare-transformations/compare/v0.2.1...v0.3.0
5353

5454
## First official release - 2022-09-09
5555

56-
**Full Changelog**: https://github.com/vormkracht10/php-uploadcare-transformations/compare/v0.2.0...v0.2.1
56+
**Full Changelog**: https://github.com/backstagephp/php-uploadcare-transformations/compare/v0.2.0...v0.2.1
5757

5858
## v0.2.0 - 2022-09-02
5959

6060
### v0.2.0
6161

62-
This release contains fully tested transformations, including unit tests for most of them. All available transformations from the README are correct when working with an actual image from Uploadcare (these were manually tested). The release also contains some README updates and fixes in the transformations that were needed to make them actually work.
62+
This release contains fully tested transformations, including unit tests for most of them. All available transformations from the README are correct when working with an actual image from Uploadcare (these were manually tested). The release also contains some README updates and fixes in the transformations that were needed to make them actually work.
6363

6464
### What's Changed
6565

66-
- Develop by @Baspa in https://github.com/vormkracht10/php-uploadcare-transformations/pull/14
67-
- Add filename to url, helper functions and test by @Baspa in https://github.com/vormkracht10/php-uploadcare-transformations/pull/15
66+
- Develop by @Baspa in https://github.com/backstagephp/php-uploadcare-transformations/pull/14
67+
- Add filename to url, helper functions and test by @Baspa in https://github.com/backstagephp/php-uploadcare-transformations/pull/15
6868

69-
**Full Changelog**: https://github.com/vormkracht10/php-uploadcare-transformations/compare/v0.1.1...v0.2.0
69+
**Full Changelog**: https://github.com/backstagephp/php-uploadcare-transformations/compare/v0.1.1...v0.2.0
7070

7171
## 1.0.0 - 202X-XX-XX
7272

73-
- initial release
73+
- initial release

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Easy [Uploadcare](https://uploadcare.com/?via=vk10) Image Transformation URLs generation
22

3-
[![Total Downloads](https://img.shields.io/packagist/dt/vormkracht10/php-uploadcare-transformations.svg?style=flat-square)](https://packagist.org/packages/vormkracht10/php-uploadcare-transformations)
4-
[![Tests](https://github.com/vormkracht10/php-uploadcare-transformations/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/vormkracht10/php-uploadcare-transformations/actions/workflows/run-tests.yml)
5-
[![PHPStan](https://github.com/vormkracht10/php-uploadcare-transformations/actions/workflows/phpstan.yml/badge.svg?branch=main)](https://github.com/vormkracht10/php-uploadcare-transformations/actions/workflows/phpstan.yml)
6-
![GitHub release (latest by date)](https://img.shields.io/github/v/release/vormkracht10/php-uploadcare-transformations)
7-
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/vormkracht10/php-uploadcare-transformations)
8-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/vormkracht10/php-uploadcare-transformations.svg?style=flat-square)](https://packagist.org/packages/vormkracht10/php-uploadcare-transformations)
3+
[![Total Downloads](https://img.shields.io/packagist/dt/backstage/php-uploadcare-transformations.svg?style=flat-square)](https://packagist.org/packages/backstage/php-uploadcare-transformations)
4+
[![Tests](https://github.com/backstagephp/php-uploadcare-transformations/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/backstage/php-uploadcare-transformations/actions/workflows/run-tests.yml)
5+
[![PHPStan](https://github.com/backstagephp/php-uploadcare-transformations/actions/workflows/phpstan.yml/badge.svg?branch=main)](https://github.com/backstage/php-uploadcare-transformations/actions/workflows/phpstan.yml)
6+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/backstage/php-uploadcare-transformations)
7+
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/backstage/php-uploadcare-transformations)
8+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/backstage/php-uploadcare-transformations.svg?style=flat-square)](https://packagist.org/packages/backstage/php-uploadcare-transformations)
99

1010
Generate [Uploadcare](https://uploadcare.com/?via=vk10) image processing URLs to transform and process your images. No need to write or generate the URL yourself. Just pass the UUID of the file, optionally pass the custom CDN and chain the methods you want to apply and the package generates the URL for you.
1111

@@ -64,7 +64,7 @@ Generate [Uploadcare](https://uploadcare.com/?via=vk10) image processing URLs to
6464
You can install the package via composer:
6565

6666
```bash
67-
composer require vormkracht10/php-uploadcare-transformations
67+
composer require backstage/php-uploadcare-transformations
6868
```
6969

7070
## Usage
@@ -86,7 +86,7 @@ composer require vormkracht10/php-uploadcare-transformations
8686
</ol>
8787

8888
```php
89-
use Vormkracht10\UploadcareTransformations\UploadcareTransformation;
89+
use Backstage\UploadcareTransformations\UploadcareTransformation;
9090

9191
$uuid = '12a3456b-c789-1234-1de2-3cfa83096e25';
9292
$cdnUrl = 'https://example.com/cdn/';

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "vormkracht10/php-uploadcare-transformations",
2+
"name": "backstage/php-uploadcare-transformations",
33
"description": "Composer package for generating URLs using Uploadcare for image transformations and processing.",
44
"keywords": [
5-
"vormkracht10",
5+
"backstage",
66
"php-uploadcare-transformations"
77
],
8-
"homepage": "https://github.com/vormkracht10/php-uploadcare-transformations",
8+
"homepage": "https://github.com/backstagephp/php-uploadcare-transformations",
99
"license": "MIT",
1010
"authors": [
1111
{
@@ -26,15 +26,15 @@
2626
},
2727
"autoload": {
2828
"psr-4": {
29-
"Vormkracht10\\UploadcareTransformations\\": "src"
29+
"Backstage\\UploadcareTransformations\\": "src"
3030
},
3131
"files": [
3232
"src/helpers.php"
3333
]
3434
},
3535
"autoload-dev": {
3636
"psr-4": {
37-
"Vormkracht10\\UploadcareTransformations\\Tests\\": "tests"
37+
"Backstage\\UploadcareTransformations\\Tests\\": "tests"
3838
}
3939
},
4040
"scripts": {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
33
<testsuites>
4-
<testsuite name="Vormkracht10 Test Suite">
4+
<testsuite name="Backstage Test Suite">
55
<directory>tests</directory>
66
</testsuite>
77
</testsuites>

phpunit.xml.dist.bak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
verbose="true"
2020
>
2121
<testsuites>
22-
<testsuite name="Vormkracht10 Test Suite">
22+
<testsuite name="Backstage Test Suite">
2323
<directory>tests</directory>
2424
</testsuite>
2525
</testsuites>

src/Traits/Validations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Vormkracht10\UploadcareTransformations\Traits;
3+
namespace Backstage\UploadcareTransformations\Traits;
44

55
trait Validations
66
{

src/Transformations.php

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
<?php
22

3-
namespace Vormkracht10\UploadcareTransformations;
4-
5-
use Vormkracht10\UploadcareTransformations\Transformations\AutoRotate;
6-
use Vormkracht10\UploadcareTransformations\Transformations\BasicColorAdjustments;
7-
use Vormkracht10\UploadcareTransformations\Transformations\Blur;
8-
use Vormkracht10\UploadcareTransformations\Transformations\BlurFaces;
9-
use Vormkracht10\UploadcareTransformations\Transformations\BlurRegion;
10-
use Vormkracht10\UploadcareTransformations\Transformations\ConvertToSRGB;
11-
use Vormkracht10\UploadcareTransformations\Transformations\Crop;
12-
use Vormkracht10\UploadcareTransformations\Transformations\CropByObjects;
13-
use Vormkracht10\UploadcareTransformations\Transformations\CropByRatio;
14-
use Vormkracht10\UploadcareTransformations\Transformations\Enhance;
15-
use Vormkracht10\UploadcareTransformations\Transformations\Filter;
16-
use Vormkracht10\UploadcareTransformations\Transformations\Flip;
17-
use Vormkracht10\UploadcareTransformations\Transformations\Format;
18-
use Vormkracht10\UploadcareTransformations\Transformations\Grayscale;
19-
use Vormkracht10\UploadcareTransformations\Transformations\ICCProfileSizeThreshold;
20-
use Vormkracht10\UploadcareTransformations\Transformations\Invert;
21-
use Vormkracht10\UploadcareTransformations\Transformations\Mirror;
22-
use Vormkracht10\UploadcareTransformations\Transformations\Overlay;
23-
use Vormkracht10\UploadcareTransformations\Transformations\Progressive;
24-
use Vormkracht10\UploadcareTransformations\Transformations\Quality;
25-
use Vormkracht10\UploadcareTransformations\Transformations\Rasterize;
26-
use Vormkracht10\UploadcareTransformations\Transformations\Resize;
27-
use Vormkracht10\UploadcareTransformations\Transformations\Rotate;
28-
use Vormkracht10\UploadcareTransformations\Transformations\ScaleCrop;
29-
use Vormkracht10\UploadcareTransformations\Transformations\SetFill;
30-
use Vormkracht10\UploadcareTransformations\Transformations\Sharpen;
31-
use Vormkracht10\UploadcareTransformations\Transformations\SmartCrop;
32-
use Vormkracht10\UploadcareTransformations\Transformations\SmartResize;
33-
use Vormkracht10\UploadcareTransformations\Transformations\StripMeta;
34-
use Vormkracht10\UploadcareTransformations\Transformations\ZoomObjects;
3+
namespace Backstage\UploadcareTransformations;
4+
5+
use Backstage\UploadcareTransformations\Transformations\AutoRotate;
6+
use Backstage\UploadcareTransformations\Transformations\BasicColorAdjustments;
7+
use Backstage\UploadcareTransformations\Transformations\Blur;
8+
use Backstage\UploadcareTransformations\Transformations\BlurFaces;
9+
use Backstage\UploadcareTransformations\Transformations\BlurRegion;
10+
use Backstage\UploadcareTransformations\Transformations\ConvertToSRGB;
11+
use Backstage\UploadcareTransformations\Transformations\Crop;
12+
use Backstage\UploadcareTransformations\Transformations\CropByObjects;
13+
use Backstage\UploadcareTransformations\Transformations\CropByRatio;
14+
use Backstage\UploadcareTransformations\Transformations\Enhance;
15+
use Backstage\UploadcareTransformations\Transformations\Filter;
16+
use Backstage\UploadcareTransformations\Transformations\Flip;
17+
use Backstage\UploadcareTransformations\Transformations\Format;
18+
use Backstage\UploadcareTransformations\Transformations\Grayscale;
19+
use Backstage\UploadcareTransformations\Transformations\ICCProfileSizeThreshold;
20+
use Backstage\UploadcareTransformations\Transformations\Invert;
21+
use Backstage\UploadcareTransformations\Transformations\Mirror;
22+
use Backstage\UploadcareTransformations\Transformations\Overlay;
23+
use Backstage\UploadcareTransformations\Transformations\Progressive;
24+
use Backstage\UploadcareTransformations\Transformations\Quality;
25+
use Backstage\UploadcareTransformations\Transformations\Rasterize;
26+
use Backstage\UploadcareTransformations\Transformations\Resize;
27+
use Backstage\UploadcareTransformations\Transformations\Rotate;
28+
use Backstage\UploadcareTransformations\Transformations\ScaleCrop;
29+
use Backstage\UploadcareTransformations\Transformations\SetFill;
30+
use Backstage\UploadcareTransformations\Transformations\Sharpen;
31+
use Backstage\UploadcareTransformations\Transformations\SmartCrop;
32+
use Backstage\UploadcareTransformations\Transformations\SmartResize;
33+
use Backstage\UploadcareTransformations\Transformations\StripMeta;
34+
use Backstage\UploadcareTransformations\Transformations\ZoomObjects;
3535

3636
class Transformations
3737
{

src/Transformations/AutoRotate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Vormkracht10\UploadcareTransformations\Transformations;
3+
namespace Backstage\UploadcareTransformations\Transformations;
44

5-
use Vormkracht10\UploadcareTransformations\Transformations\Interfaces\TransformationInterface;
5+
use Backstage\UploadcareTransformations\Transformations\Interfaces\TransformationInterface;
66

77
class AutoRotate implements TransformationInterface
88
{

0 commit comments

Comments
 (0)