{"id":33988076,"url":"https://github.com/letr0n/mako-optimizer","last_synced_at":"2026-04-08T15:32:20.987Z","repository":{"id":17014261,"uuid":"19777688","full_name":"letr0n/mako-optimizer","owner":"letr0n","description":"A command line task for the Mako framework that merges PHP source code files to help reduce the number of file includes","archived":false,"fork":false,"pushed_at":"2017-01-14T00:44:16.000Z","size":17,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-14T17:58:46.620Z","etag":null,"topics":["mako-framework"],"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/letr0n.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":"2014-05-14T11:59:35.000Z","updated_at":"2019-10-28T02:01:22.000Z","dependencies_parsed_at":"2022-07-12T18:22:55.798Z","dependency_job_id":null,"html_url":"https://github.com/letr0n/mako-optimizer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/letr0n/mako-optimizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letr0n%2Fmako-optimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letr0n%2Fmako-optimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letr0n%2Fmako-optimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letr0n%2Fmako-optimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letr0n","download_url":"https://codeload.github.com/letr0n/mako-optimizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letr0n%2Fmako-optimizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["mako-framework"],"created_at":"2025-12-13T05:50:58.361Z","updated_at":"2026-04-08T15:32:20.979Z","avatar_url":"https://github.com/letr0n.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mako Optimizer\n\nCommand line task for the Mako framework that compiles classes into a single file to reduce the ammount of file includes required to process a request.\n\n### How do I use it?\n\nFirst you'll have to register the package with your Mako application. This is done by adding ```letron\\optimizer\\OptimizerPackage``` to the list of packages in your ```app/config/application.php``` file.\n\nThen you'll need to add the following lines to the ```index.php``` file (right after the part where it requires the init file).\n\n\tif(file_exists(MAKO_APPLICATION_PATH . '/storage/compiled.php'))\n\t{\n\t\tinclude MAKO_APPLICATION_PATH . '/storage/compiled.php';\n\t}\n\nYou can then execute the ```compile``` action of the optimizer compiler.\n\n\tphp reactor optimizer.compile\n\n\tphp reactor optimizer.compiler --strip-comments\n\nIf you want to clear the compiled files then you can do so by executing the ```clear``` action of the optimizer compiler.\n\n\tphp reactor optimizer.clear\n\n### How much faster does it get?\n\nThat depends on a lot of factors so the easiest way to find out is to try for yourself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletr0n%2Fmako-optimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletr0n%2Fmako-optimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletr0n%2Fmako-optimizer/lists"}