{"id":15462758,"url":"https://github.com/devidw/foldertofile","last_synced_at":"2026-05-14T23:07:33.349Z","repository":{"id":56966670,"uuid":"411046376","full_name":"devidw/FolderToFile","owner":"devidw","description":"Merge all source files inside a folder recursively into a single PDF file.","archived":false,"fork":false,"pushed_at":"2022-01-24T22:56:01.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T11:41:44.520Z","etag":null,"topics":["asciidoc","asciidoctor","asciidoctor-pdf","combine","combiner","composer","composer-package","merge","merger","packagist","pdf","php","php8","source-code"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/devidw/folder-to-file","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/devidw.png","metadata":{"files":{"readme":"README.adoc","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":"2021-09-27T21:20:22.000Z","updated_at":"2022-01-24T17:08:40.000Z","dependencies_parsed_at":"2022-08-21T11:20:27.171Z","dependency_job_id":null,"html_url":"https://github.com/devidw/FolderToFile","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/devidw%2FFolderToFile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2FFolderToFile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2FFolderToFile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2FFolderToFile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devidw","download_url":"https://codeload.github.com/devidw/FolderToFile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017726,"owners_count":20710241,"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":["asciidoc","asciidoctor","asciidoctor-pdf","combine","combiner","composer","composer-package","merge","merger","packagist","pdf","php","php8","source-code"],"created_at":"2024-10-02T00:04:24.295Z","updated_at":"2025-09-16T17:06:49.808Z","avatar_url":"https://github.com/devidw.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Folder To File\n:note-caption: :information_source:\n\nMerge all source files inside a folder recursively into a single PDF file.\n\nNOTE: Requires a https://github.com/asciidoctor/asciidoctor-pdf[`asciidoctor-pdf`] installation on the current `PATH` to be able to generate `.pdf` files\n\n== Installation\n\n[source]\n----\ncomposer require devidw/folder-to-file\n----\n\n== Usage\n[source, php]\n----\n\u003c?php\n\nrequire_once dirname(__DIR__) . '/vendor/autoload.php';\n\nuse Devidw\\FolderToFile\\FolderToFile;\n\n$merger = new FolderToFile(\n    inputDir: __DIR__ . '/test',\n    outputFile: __DIR__ . '/Source-Code.adoc',\n    allowedExtensions: [\n        'html',\n        'php',\n    ]\n);\n----\n\n== Testing\n[source,zsh]\n----\nphp ./tests/test.php\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Ffoldertofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevidw%2Ffoldertofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Ffoldertofile/lists"}