{"id":19258944,"url":"https://github.com/lassehaslev/laravelpackagetemplate","last_synced_at":"2026-07-18T14:46:56.391Z","repository":{"id":89976129,"uuid":"74598694","full_name":"LasseHaslev/LaravelPackageTemplate","owner":"LasseHaslev","description":"Temmplate for kickstaring new LaravelPackages","archived":false,"fork":false,"pushed_at":"2017-01-05T13:00:07.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-05T09:29:19.672Z","etag":null,"topics":[],"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/LasseHaslev.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-23T17:19:51.000Z","updated_at":"2017-11-03T10:44:03.000Z","dependencies_parsed_at":"2023-05-30T18:00:16.153Z","dependency_job_id":null,"html_url":"https://github.com/LasseHaslev/LaravelPackageTemplate","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/LasseHaslev%2FLaravelPackageTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2FLaravelPackageTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2FLaravelPackageTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2FLaravelPackageTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LasseHaslev","download_url":"https://codeload.github.com/LasseHaslev/LaravelPackageTemplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240356192,"owners_count":19788513,"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":[],"created_at":"2024-11-09T19:14:50.885Z","updated_at":"2025-10-19T21:56:40.852Z","avatar_url":"https://github.com/LasseHaslev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lassehaslev/LaravelPackageTemplate\n\n## Getting started\n#### Install dependencies\n``` bash\n# Make this package yours by running\n# Make shure you have to \\slash every special character (\"\\\" and \"/\")\nsh install.sh\n\n# If you did not wanted to let the script install dependencies for you\n\n# Install dependencies\ncomposer install\n\n# Install dependencies for automatic tests\nyarn\n```\n\n\n## Development\n#### Service provider\nYour package service provider can be found in ```src/Providers/ServiceProvider.php```.\n\nSee [ Laravel documentations ](https://laravel.com/docs/5.3/packages#service-providers) for mor information.\n\n#### Configuration\nYour package configurations can be changed in ```config/```.\n\nSee [ Laravel documentations ](https://laravel.com/docs/5.3/database-testing#writing-factories) for mor information.\n\n#### Migrations\nYour migrations should be added in ```database/migrations/```.\n\nSee [ Laravel documentations ](https://laravel.com/docs/5.3/migrations) for mor information.\n\n#### Factories\nYou can edit your factoreis in ```database/factories/ModelFactory.php```.\n\nSee [ Laravel documentations ](https://laravel.com/docs/5.3/database-testing#writing-factories) for mor information.\n\n#### Write tests\nWe use [PHPUnit](https://phpunit.de/) to write tests.\nFor more information check out [https://laravel.com/docs/5.3/testing](https://laravel.com/docs/5.3/testing)\n\nAdd your tests in ```tests/``` folder.\n\nYour migrations will automaticly be added before each test.\n``` php\nclass MyTest extends TestCase {\n    /*\n     * This function will run before each test.\n     * ( Optional )\n     */\n    public function setUp()\n    {\n        parent::setUp();\n        // Your logic here\n    }\n\n    /** @test */\n    public function my_first_test() {\n        $this-\u003eassertTrue( true );\n    }\n}\n```\n\n## Usage after development\nRun ```composer require %composername%```\n\nCreate your package and add the following line to ```providers``` in ```config/app.php``` \n```\n%namespace%\\Providers\\ServiceProvider::class,\n```\n\n\n#### Runing tests\n``` bash\n# Run one time\nnpm run test\n\n# Automaticly run test on changes\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Flaravelpackagetemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flassehaslev%2Flaravelpackagetemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Flaravelpackagetemplate/lists"}