{"id":19694560,"url":"https://github.com/vaneves/tosko","last_synced_at":"2025-10-27T19:15:27.921Z","repository":{"id":57076835,"uuid":"267177330","full_name":"vaneves/tosko","owner":"vaneves","description":"✅ PHP task pack","archived":false,"fork":false,"pushed_at":"2020-05-27T14:31:03.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T12:42:20.043Z","etag":null,"topics":["php-library","pipeline","tasks"],"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/vaneves.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":"2020-05-26T23:58:02.000Z","updated_at":"2020-05-27T14:30:39.000Z","dependencies_parsed_at":"2022-08-24T14:55:56.244Z","dependency_job_id":null,"html_url":"https://github.com/vaneves/tosko","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/vaneves/tosko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Ftosko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Ftosko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Ftosko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Ftosko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneves","download_url":"https://codeload.github.com/vaneves/tosko/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Ftosko/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265272353,"owners_count":23738450,"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":["php-library","pipeline","tasks"],"created_at":"2024-11-11T19:23:32.310Z","updated_at":"2025-10-27T19:15:22.872Z","avatar_url":"https://github.com/vaneves.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tosko\n\nPHP class package for [League\\Pipeline](https://pipeline.thephpleague.com/) to do frontend tasks.\n\n## Install\n\nComposer:\n\n```\ncomposer require vaneves/tosko\n```\n\n## Usage\n\n```php\n\n\u003c?php\n\nuse Vaneves\\Tosko\\Pipeline;\nuse Vaneves\\Tosko\\Src;\nuse Vaneves\\Tosko\\Dist;\nuse Vaneves\\Tosko\\Concat;\n\n$js = (new Pipeline)\n    -\u003epipe(new Concat('all.js'))\n    -\u003epipe(new Dist('assets/'));\n\n$js-\u003eprocess(new Src([\n    'path/to/lib/jquery.js',\n    'path/to/lib/bootstrap.js',\n    'path/to/my/*/*.js',\n    'my-script.js',\n]));\n\n\n$css = (new Pipeline)\n    -\u003epipe(new Concat('all.css'))\n    -\u003epipe(new Dist('assets/'));\n\n$css-\u003eprocess(new Src([\n    'path/to/lib/bootstrap.css',\n    'my-style.css',\n]));\n\n\n// To just copy files, don't use Concat\n$font = (new Pipeline)\n    -\u003epipe(new Dist('assets/fonts'));\n\n$font-\u003eprocess(new Src([\n    'path/to/fonts/*',\n]));\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneves%2Ftosko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaneves%2Ftosko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneves%2Ftosko/lists"}