-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9de1d43
Showing
15 changed files
with
7,509 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Do not export those files in the Composer archive (lighter dependency) | ||
.gitattributes export-ignore | ||
.github/ export-ignore | ||
.gitignore export-ignore | ||
CHANGELOG.md export-ignore | ||
README.md export-ignore | ||
SECURITY.md export-ignore | ||
composer.lock export-ignore | ||
ecs.php export-ignore | ||
package-lock.json export-ignore | ||
package.json export-ignore | ||
phpstan.neon export-ignore | ||
stubs/ export-ignore | ||
tests/ export-ignore | ||
|
||
# Auto-detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Creates a new GitHub Release whenever the Craft Plugin Store | ||
# is notified of a new version tag. | ||
|
||
name: Create Release | ||
run-name: Create release for ${{ github.event.client_payload.version }} | ||
|
||
on: | ||
repository_dispatch: | ||
types: | ||
- craftcms/new-release | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
body: ${{ github.event.client_payload.notes }} | ||
makeLatest: ${{ github.event.client_payload.latest }} | ||
name: ${{ github.event.client_payload.version }} | ||
prerelease: ${{ github.event.client_payload.prerelease }} | ||
tag: ${{ github.event.client_payload.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.DS_Store | ||
*.idea/* | ||
*.log | ||
*Thumbs.db | ||
.env | ||
/node_modules | ||
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Release Notes for Cloudinary | ||
|
||
## 1.0.0 - 2023-07-18 | ||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) Thomas Vantuycom | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Cloudinary for Craft CMS | ||
|
||
This plugin provides a [Cloudinary](https://cloudinary.com/) integration for [Craft CMS](https://craftcms.com/). | ||
|
||
## Requirements | ||
|
||
This plugin requires Craft CMS 4.4.0 or later, and PHP 8.0.2 or later. | ||
|
||
## Installation | ||
|
||
You can install this plugin from the Plugin Store or with Composer. | ||
|
||
#### From the Plugin Store | ||
|
||
Go to the Plugin Store in your project’s Control Panel and search for “Cloudinary”. Then press “Install”. | ||
|
||
#### With Composer | ||
|
||
Open your terminal and run the following commands: | ||
|
||
```bash | ||
# go to the project directory | ||
cd /path/to/my-project.test | ||
|
||
# tell Composer to load the plugin | ||
composer require thomasvantuycom/craft-cloudinary | ||
|
||
# tell Craft to install the plugin | ||
./craft plugin/install cloudinary | ||
``` | ||
|
||
## Setup | ||
|
||
To create a new Cloudinary filesystem to use with your volumes, visit **Settings** → **Filesystems**, and press **New filesystem**. Select “Cloudinary” for the **Filesystem Type** setting and configure as needed. | ||
|
||
The plugin is compatible with your existing Craft template code and named transforms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "thomasvantuycom/craft-cloudinary", | ||
"description": "Cloudinary integration for Craft CMS.", | ||
"type": "craft-plugin", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"support": { | ||
"email": "[email protected]", | ||
"issues": "https://github.com/thomasvantuycom/craft-cloudinary/issues?state=open", | ||
"source": "https://github.com/thomasvantuycom/craft-cloudinary", | ||
"docs": "https://github.com/thomasvantuycom/craft-cloudinary", | ||
"rss": "https://github.com/thomasvantuycom/craft-cloudinary/releases.atom" | ||
}, | ||
"require": { | ||
"php": ">=8.0.2", | ||
"cloudinary/cloudinary_php": "^2.11", | ||
"craftcms/cms": "^4.4.0" | ||
}, | ||
"require-dev": { | ||
"craftcms/ecs": "dev-main", | ||
"craftcms/phpstan": "dev-main" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"thomasvantuycom\\craftcloudinary\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"handle": "cloudinary", | ||
"name": "Cloudinary", | ||
"developer": "Thomas Vantuycom", | ||
"documentationUrl": "https://github.com/thomasvantuycom/craft-cloudinary" | ||
}, | ||
"scripts": { | ||
"check-cs": "ecs check --ansi", | ||
"fix-cs": "ecs check --ansi --fix", | ||
"phpstan": "phpstan --memory-limit=1G" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"platform": { | ||
"php": "8.0.2" | ||
}, | ||
"allow-plugins": { | ||
"yiisoft/yii2-composer": true, | ||
"craftcms/plugin-installer": true | ||
} | ||
} | ||
} |
Oops, something went wrong.