{"id":20410015,"url":"https://github.com/vdlp/oc-glide-plugin","last_synced_at":"2025-06-25T00:40:53.234Z","repository":{"id":47291367,"uuid":"167002747","full_name":"vdlp/oc-glide-plugin","owner":"vdlp","description":"Allows developers to easily manipulate images in October CMS powered websites.","archived":false,"fork":false,"pushed_at":"2024-03-14T13:48:00.000Z","size":47,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-26T10:21:33.371Z","etag":null,"topics":["glide","image-processing","laravel","manipulation","october-cms","octobercms","octobercms-plugin","php","phpleague"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vdlp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-22T13:54:04.000Z","updated_at":"2022-05-27T17:15:36.000Z","dependencies_parsed_at":"2023-02-09T03:01:23.084Z","dependency_job_id":null,"html_url":"https://github.com/vdlp/oc-glide-plugin","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-glide-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-glide-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-glide-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-glide-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdlp","download_url":"https://codeload.github.com/vdlp/oc-glide-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248593569,"owners_count":21130310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["glide","image-processing","laravel","manipulation","october-cms","octobercms","octobercms-plugin","php","phpleague"],"created_at":"2024-11-15T05:44:36.965Z","updated_at":"2025-04-12T16:02:14.797Z","avatar_url":"https://github.com/vdlp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vdlp.Glide\n\nGlide is a wonderfully easy on-demand image manipulation library written in PHP. \nIts straightforward API is exposed via HTTP, similar to cloud image processing services like Imgix and Cloudinary. \nGlide leverages powerful libraries like Intervention Image (for image handling and manipulation) and Flysystem (for file system abstraction).\n\n## Requirements\n\n* PHP 7.4 or higher\n* October CMS 2.x\n\n## Installation\n\n```\ncomposer require vdlp/oc-glide-plugin\n```\n\n## Configuration\n\nTo configure this plugin execute the following command:\n\n```\nphp artisan vendor:publish --provider=\"Vdlp\\Glide\\ServiceProvider\" --tag=\"config\"\n```\n\nThis will create a `config/glide.php` file in your app where you can modify the configuration.\n\nModify the environment file by adding the following lines:\n\n```\nGLIDE_IMAGE_DRIVER = \"gd\"\nGLIDE_SIGN_KEY = \"[YOUR SIGN KEY HERE]\"\n```\n\n\u003e We recommend using a 128 character (or larger) signing key to prevent trivial key attacks. Consider using a package like [CryptoKey](https://github.com/AndrewCarterUK/CryptoKey) to generate a secure key.\n\nFor more details about the security and why a sign key is used, check [glide.thephpleague.com](https://glide.thephpleague.com/2.0/config/security/).\n\nAdd an url to your disk in the `config/filesystem.php` to display the images properly, for example:\n\n```diff\n    ...\n\n    'disks' =\u003e [\n\n        'local' =\u003e [\n            'driver' =\u003e 'local',\n            'root' =\u003e storage_path('app'),\n+           'url' =\u003e 'storage/app/',\n        ],\n\n    ],\n\n    ...\n```\n\n## Example\n\nHere you can see some basic examples of how to use this plugin. Out of the box, the default configuration used is `main`.\n\n```\n\n\u003c!-- URL: images/main/media/test.jpg?s=5ef7c430ebb5a3b0fbfce160ae6de275 --\u003e\n\u003cimg src=\"{{ 'media/test.jpg'|thumb() }}\" /\u003e\n\n\u003c!-- URL: images/main/media/test.jpg?w=50\u0026h=50\u0026s=36b0575d9556f32e7e7a3bc2e551ccb2 --\u003e\n\u003cimg src=\"{{ 'media/test.jpg'|thumb({w: 50, h: 50}) }}\" /\u003e\n\n```\n\n## Questions? Need help?\n\nIf you have any question about how to use this plugin, please don't hesitate to contact us at octobercms@vdlp.nl. \nWe're happy to help you. You can also visit the support forum and drop your questions/issues there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdlp%2Foc-glide-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdlp%2Foc-glide-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdlp%2Foc-glide-plugin/lists"}