{"id":21762840,"url":"https://github.com/visavi/watermask","last_synced_at":"2025-03-21T04:43:10.591Z","repository":{"id":62544445,"uuid":"39392950","full_name":"visavi/watermask","owner":"visavi","description":"Overlay mesh watermark image","archived":false,"fork":false,"pushed_at":"2015-07-29T12:44:50.000Z","size":3616,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T01:24:58.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visavi.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-20T15:47:12.000Z","updated_at":"2017-02-13T07:53:49.000Z","dependencies_parsed_at":"2022-11-02T21:45:31.911Z","dependency_job_id":null,"html_url":"https://github.com/visavi/watermask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fwatermask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fwatermask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fwatermask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fwatermask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visavi","download_url":"https://codeload.github.com/visavi/watermask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739940,"owners_count":20501990,"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":[],"created_at":"2024-11-26T12:13:17.417Z","updated_at":"2025-03-21T04:43:10.567Z","avatar_url":"https://github.com/visavi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overlay grid watermarks\n\n[![Latest Stable Version](https://poser.pugx.org/visavi/watermask/v/stable)](https://packagist.org/packages/visavi/watermask)\n[![Total Downloads](https://poser.pugx.org/visavi/watermask/downloads)](https://packagist.org/packages/visavi/watermask)\n[![Latest Unstable Version](https://poser.pugx.org/visavi/watermask/v/unstable)](https://packagist.org/packages/visavi/watermask)\n[![License](https://poser.pugx.org/visavi/watermask/license)](https://packagist.org/packages/visavi/watermask)\n\nBasic useful feature list:\n\n * It covers the entire image watermarks\n * Image processing gif, jpeg, jpg, png formats\n * Working with images from the relative and absolute paths\n * Checking the existence of the file, including remote file\n * Calculation of the aspect ratio of the watermark to the original image\n * Ability to customize the automatic imposition through .htaccess\n\n```php\n\u003cFilesMatch \".(gif|jpg|jpeg|png)$\"\u003e\n\n  RewriteEngine on\n  RewriteRule .*  /example.php?image=%{REQUEST_URI} [NC]\n\n\u003c/FilesMatch\u003e\n```\n\n###Examples of implementation of requests\n```php\nhttp://site/examples.php?image=/image.jpg  // Processing relative path\nhttp://site/examples.php?image=http://site/image.jpg // Processing the absolute path\nhttp://site/image.jpg // Automatic processing through htaccess\n```\n\n###Result\n![Result](https://github.com/visavi/watermask/blob/master/result.jpg)\n\n### Installing\n```\ncomposer require visavi/watermask\n```\n\n### License\n\nThe class is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisavi%2Fwatermask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisavi%2Fwatermask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisavi%2Fwatermask/lists"}