{"id":28346830,"url":"https://github.com/mestackcodes/css-minifier-php","last_synced_at":"2026-04-11T21:38:35.240Z","repository":{"id":295225493,"uuid":"989527652","full_name":"MEStackCodes/CSS-Minifier-PHP","owner":"MEStackCodes","description":"This CLI tool efficiently minifies CSS files using PHP. It's perfect for PHP development environments needing quick, dependency-free CSS compression. ","archived":false,"fork":false,"pushed_at":"2025-05-24T09:35:09.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-11T21:37:56.452Z","etag":null,"topics":["cli-program","css","minify-css","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MEStackCodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-24T09:27:20.000Z","updated_at":"2025-05-24T09:35:13.000Z","dependencies_parsed_at":"2025-05-24T10:42:18.159Z","dependency_job_id":null,"html_url":"https://github.com/MEStackCodes/CSS-Minifier-PHP","commit_stats":null,"previous_names":["mestackcodes/css-minifier-php"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MEStackCodes/CSS-Minifier-PHP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FCSS-Minifier-PHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FCSS-Minifier-PHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FCSS-Minifier-PHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FCSS-Minifier-PHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MEStackCodes","download_url":"https://codeload.github.com/MEStackCodes/CSS-Minifier-PHP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FCSS-Minifier-PHP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31696743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli-program","css","minify-css","php"],"created_at":"2025-05-27T15:10:59.303Z","updated_at":"2026-04-11T21:38:35.218Z","avatar_url":"https://github.com/MEStackCodes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSS Minifier CLI (PHP)\n\nThis CLI tool efficiently minifies CSS files using PHP. It's perfect for PHP development environments needing quick, dependency-free CSS compression. The lightweight CSS Minifier CLI processes one or more CSS files, removing whitespace, comments, and formatting to output minified CSS.\n\n## Features\n\n- **No external dependencies**: Pure PHP solution.\n- **Batch processing**: Minify multiple CSS files at once.\n- **CLI usage**: Simple command-line interface for rapid workflow integration.\n\n## Requirements\n\n- PHP 7.0 or higher\n- CLI access to your development machine\n\n## Usage\n\n```bash\nphp cssminifier.php input1.css input2.css ...\n```\nThis creates the output file: **input.min.css**, **input2.min.css....**\n\n### Arguments\n\n- `input.css`: The CSS file(s) to minify. You can pass one or more files.\n\n### Examples\n\n**Minify a single file**\n```bash\nphp cssminifier.php styles.css\n```\n\n**Minify multiple files:**\n```bash\nphp cssminifier.php reset.css main.css\n```\n\n**Minify all css files :**\n```bash\nphp cssminifier.php *.css\n```\n\n## Share\nIf you liked and found this repository useful for your projects, star it. Thank you for your support! ⭐\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmestackcodes%2Fcss-minifier-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmestackcodes%2Fcss-minifier-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmestackcodes%2Fcss-minifier-php/lists"}