{"id":19423270,"url":"https://github.com/atomjoy/dev-package","last_synced_at":"2026-06-20T10:31:40.702Z","repository":{"id":217716019,"uuid":"744641990","full_name":"atomjoy/dev-package","owner":"atomjoy","description":"Development of the compositor package in repository (Laravel packages).","archived":false,"fork":false,"pushed_at":"2024-01-20T12:09:58.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T04:32:24.964Z","etag":null,"topics":["dev-composer-package","laravel-dev-package","laravel-package-dev","laravel-packages","package-in-repo"],"latest_commit_sha":null,"homepage":"https://github.com/atomjoy/dev-package","language":"Shell","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/atomjoy.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-17T18:03:54.000Z","updated_at":"2024-01-17T18:21:04.000Z","dependencies_parsed_at":"2024-01-20T13:25:11.730Z","dependency_job_id":null,"html_url":"https://github.com/atomjoy/dev-package","commit_stats":null,"previous_names":["atomjoy/dev-package"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/atomjoy/dev-package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fdev-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fdev-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fdev-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fdev-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomjoy","download_url":"https://codeload.github.com/atomjoy/dev-package/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fdev-package/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34566920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dev-composer-package","laravel-dev-package","laravel-package-dev","laravel-packages","package-in-repo"],"created_at":"2024-11-10T13:37:39.323Z","updated_at":"2026-06-20T10:31:40.681Z","avatar_url":"https://github.com/atomjoy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to dev package in repository\n\nDevelopment of the compositor package in repository (Laravel packages).\n\n## Add dev packages\n\nWhen the **apilogin** package requires **proton** package version 1.0, create a composer.json alias.\n\n```json\n{\n  \"repositories\": [\n  {\n   \"type\": \"path\",\n   \"url\": \"packages/atomjoy/apilogin\"\n  },\n  {\n   \"type\": \"path\",\n   \"url\": \"packages/atomjoy/proton\"\n  }\n ],\n \"require\": {\n  \"atomjoy/proton\": \"dev-main as 1.0\",\n  \"atomjoy/apilogin\": \"dev-main\"\n }\n}\n```\n\n## Git repo hooks\n\nAdd this files in main repository **.git/hooks** directory\n\n### Pre-commit\n\n```sh\n#!/bin/sh\n\n# Main repo file .git/hooks/pre-commit\n\n# Rename packages .git to .git2 before push\n[ -d \"packages/atomjoy/apilogin/.git\" ] \u0026\u0026 mv -f packages/atomjoy/apilogin/.git packages/atomjoy/apilogin/.git2\n[ -d \"packages/atomjoy/proton/.git\" ] \u0026\u0026 mv -f packages/atomjoy/proton/.git packages/atomjoy/proton/.git2\n```\n\n### Post-commit\n\n```sh\n#!/bin/sh\n\n# Main repo file .git/hooks/post-commit\n\n# Rename packages .git2 to .git after push\n[ -d \"packages/atomjoy/apilogin/.git2\" ] \u0026\u0026 mv -f packages/atomjoy/apilogin/.git2 packages/atomjoy/apilogin/.git\n[ -d \"packages/atomjoy/proton/.git2\" ] \u0026\u0026 mv -f packages/atomjoy/proton/.git2 packages/atomjoy/proton/.git\n```\n\n### Make executable\n\n```sh\nchmod +x .git/hooks/pre-commit\nchmod +x .git/hooks/post-commit\n```\n\n### Add .gitignore\n\nAdd file in package /package/atomjoy/[repo-name]/.gitignore\n\n```sh\n# Ignore Git here\n.git\n.git2\n\n# But not these files...\n!.gitignore\n```\n\n## Update repo with app packages directory\n\n```sh\ngit add .\ngit commit -m \"Update repo with packages\"\ngit push\n```\n\n## Database\n\n```sh\nCREATE DATABASE IF NOT EXISTS laravel CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\nCREATE DATABASE IF NOT EXISTS laravel_testing CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\n\nGRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'toor' WITH GRANT OPTION;\nGRANT ALL PRIVILEGES ON *.* TO root@127.0.0.1 IDENTIFIED BY 'toor' WITH GRANT OPTION;\n```\n\n## Links\n\n- \u003chttps://github.com/atomjoy/proton\u003e\n- \u003chttps://github.com/atomjoy/apilogin\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fdev-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomjoy%2Fdev-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fdev-package/lists"}