{"id":18795339,"url":"https://github.com/duckthom/laravel-packager","last_synced_at":"2026-05-05T02:39:05.391Z","repository":{"id":62520310,"uuid":"84989989","full_name":"DuckThom/laravel-packager","owner":"DuckThom","description":"Create Laravel packages with ease","archived":false,"fork":false,"pushed_at":"2017-03-15T08:41:57.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T16:45:23.730Z","etag":null,"topics":["laravel","package"],"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/DuckThom.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":"2017-03-14T19:40:20.000Z","updated_at":"2017-03-15T10:49:19.000Z","dependencies_parsed_at":"2022-11-02T13:46:12.589Z","dependency_job_id":null,"html_url":"https://github.com/DuckThom/laravel-packager","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuckThom%2Flaravel-packager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuckThom%2Flaravel-packager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuckThom%2Flaravel-packager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuckThom%2Flaravel-packager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DuckThom","download_url":"https://codeload.github.com/DuckThom/laravel-packager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239719811,"owners_count":19686000,"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":["laravel","package"],"created_at":"2024-11-07T21:33:30.342Z","updated_at":"2025-12-30T03:30:13.859Z","avatar_url":"https://github.com/DuckThom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eLaravel Packager\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://packagist.org/packages/luna/laravel-packager\"\u003e\u003cimg src=\"https://poser.pugx.org/luna/laravel-packager/v/stable\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/luna/laravel-packager\"\u003e\u003cimg src=\"https://poser.pugx.org/luna/laravel-packager/downloads\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/luna/laravel-packager\"\u003e\u003cimg src=\"https://poser.pugx.org/luna/laravel-packager/v/unstable\" alt=\"Latest Unstable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://styleci.io/repos/84989989\"\u003e\u003cimg src=\"https://styleci.io/repos/84989989/shield?branch=master\" alt=\"StyleCI\"\u003e\u003c/a\u003e\n\u003ca href=\"https://travis-ci.org/DuckThom/laravel-packager\"\u003e\u003cimg src=\"https://travis-ci.org/DuckThom/laravel-packager.svg?branch=master\" alt=\"TravisCI\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/luna/laravel-packager\"\u003e\u003cimg src=\"https://poser.pugx.org/luna/laravel-packager/license\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3\u003e# Prerequisites\u003c/h3\u003e\nThis package should run on PHP 5.5+ and Laravel 5.1+.\n\n\u003ch3\u003e# Setup\u003c/h3\u003e\nFirst, add this package to your `composer.json`:\n\n```\n    composer require luna/laravel-packager \"~1.0\"\n```\n\nThen, add the service provider to `config/app.php`:\n\n```php\n    \"providers\" =\u003e [\n        // snip\n        Luna\\Packager\\ServiceProvider::class,\n    ];\n```\n\nIf you want to use the package in the current project without adding it to, for example, packagist just yet, ie. for development, add the following line to your main project's `composer.json`:\n\n```\n{\n    \"autoload\": {\n        \"classmap\": [\n            \"database\",\n            \"packages\"   #  Add this line to your main projects composer.json\n        ],\n        \"psr-4\": {\n            \"App\\\\\": \"app/\",\n            \"Tests\\\\\": \"tests/\"\n        }\n    }\n}\n```\n\nAfter adding that line, run `composer dump`, and add the package's service provider to `config/app.php`.\n\nFor example, you made a package which has the following structure: `\u003cproject_root\u003e/packages/Foo/Bar/BarServiceProvider.php`.\n\nWhen you add the line to the `composer.json` in the project root, you can use that service provider with it's usual namespace: `Foo\\Bar\\BarServiceProvider::class`.\n\n\u003ch3\u003e# Usage\u003c/h3\u003e\n\n```\n    php artisan make:package \u003cVendor\u003e \u003cPackage\u003e [--base-dir=packages]\n```\n\nBe default, the package files are created in `\u003cproject_root\u003e/packages/Vendor/Package`.\n\nBy specifying `--base-dir` in the `make:package` command, you can change where the files are placed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckthom%2Flaravel-packager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduckthom%2Flaravel-packager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckthom%2Flaravel-packager/lists"}