{"id":23101078,"url":"https://github.com/crypto-scythe/m_nify","last_synced_at":"2025-04-03T21:18:03.073Z","repository":{"id":31486493,"uuid":"35050641","full_name":"crypto-scythe/m_nify","owner":"crypto-scythe","description":"Simple JavaScript / CSS Minifier","archived":false,"fork":false,"pushed_at":"2015-05-04T19:03:23.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T09:14:59.488Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crypto-scythe.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}},"created_at":"2015-05-04T18:03:57.000Z","updated_at":"2017-02-07T14:48:03.000Z","dependencies_parsed_at":"2022-08-21T09:50:44.351Z","dependency_job_id":null,"html_url":"https://github.com/crypto-scythe/m_nify","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-scythe%2Fm_nify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-scythe%2Fm_nify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-scythe%2Fm_nify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-scythe%2Fm_nify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crypto-scythe","download_url":"https://codeload.github.com/crypto-scythe/m_nify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247078866,"owners_count":20879953,"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-12-16T23:49:58.675Z","updated_at":"2025-04-03T21:18:03.054Z","avatar_url":"https://github.com/crypto-scythe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# m_nify - Simple JavaScript / CSS Minifier\n\nSimple PHP library for minifying and concatenating JavaScript and CSS files for use in my projects.\n\n## Installing\n\nFile **composer.json**\n\n    {\n      \"require\": {\n        \"crypto_scythe/m_nify\": \"*\"\n      }\n    }\n\nThen on command line:\n\n    composer install\n\n## Usage\n\n    \u003c?php\n\n    require( 'vendor/autoload.php' );\n\n    new \\crypto_scythe\\m_nify();\n\n    ?\u003e\n\nTo minify the files just add the GET parameter **files** to the file which instantiates the m_nify object like this:\n \n    http://example.com/m_nify.php?files=/path/to/first_file.css,/path/to/second_file.css\n\n## Options\n\nPer default m_nify uses the DOCUMENT_ROOT for fetching the file. If you have your files in a different location you need to define the path like this before instantiating the m_nify object.\n\n    define( 'M_NIFY_PATH', $_SERVER['DOCUMENT_ROOT'] . '/path/to/files' );\n\nBy using this you can shorten the paths or restrict it to a specific folder.\n\n## Additional Information\n\nm_nify automatically removes \"..\" from given file paths and automatically adds \"/\" in front of them so make sure you don't use relative paths when specifying files. However the \"..\" is allowed in the M_NIFY_PATH constant.\n\n## License\n\nm_nify is licensed under the MIT License. See the LICENSE file for details.\n\n## Used libraries\n\nJShrink from Robert Hafner - [Github](https://github.com/tedious/JShrink)  \nCssMin from Joe Scylla - [Github](https://github.com/natxet/CssMin) / [Google Code](http://code.google.com/p/cssmin/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-scythe%2Fm_nify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrypto-scythe%2Fm_nify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-scythe%2Fm_nify/lists"}