{"id":49355056,"url":"https://github.com/johnpaulzer/laravel-template","last_synced_at":"2026-04-27T13:02:13.794Z","repository":{"id":353866238,"uuid":"1220046128","full_name":"JohnPaulZer/Laravel-Template","owner":"JohnPaulZer","description":"CLI tool for scaffolding a Laravel framework template with Blade, Vite, Tailwind CSS, SQLite defaults, tests, and a health-check API.","archived":false,"fork":false,"pushed_at":"2026-04-24T14:03:19.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-26T01:13:20.529Z","etag":null,"topics":["blade","cli","framework","laravel","npm","php","scaffold","tailwindcss","template","vite"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/laravel-template-jpz","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnPaulZer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-24T13:42:04.000Z","updated_at":"2026-04-24T14:01:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/JohnPaulZer/Laravel-Template","commit_stats":null,"previous_names":["johnpaulzer/laravel-template"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JohnPaulZer/Laravel-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnPaulZer%2FLaravel-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnPaulZer%2FLaravel-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnPaulZer%2FLaravel-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnPaulZer%2FLaravel-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnPaulZer","download_url":"https://codeload.github.com/JohnPaulZer/Laravel-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnPaulZer%2FLaravel-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32337274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["blade","cli","framework","laravel","npm","php","scaffold","tailwindcss","template","vite"],"created_at":"2026-04-27T13:02:12.697Z","updated_at":"2026-04-27T13:02:13.659Z","avatar_url":"https://github.com/JohnPaulZer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Framework Template CLI tool\n\n`laravel-template-jpz` is a CLI tool that creates a ready-to-use Laravel framework template.\n\nInstead of manually creating the same Laravel folders, setup files, routes, assets, migrations, and tests every time you start a new project, you can run one command and get a clean application structure.\n\nIt generates a Laravel framework application with:\n\n- Laravel 12\n- Blade views\n- Vite\n- Tailwind CSS\n- SQLite defaults\n- API health-check route\n- PHPUnit setup\n\nThis template is useful if you want to start a Laravel framework project quickly with a practical application skeleton already configured.\n\n## What It Creates\n\nThe CLI creates a project with the usual Laravel folders:\n\n- `app` - controllers, models, providers, and services\n- `bootstrap` - Laravel application bootstrap files\n- `config` - app, auth, cache, database, queue, mail, filesystems, logging, services, and session config\n- `database` - SQLite database file, migrations, factories, and seeders\n- `public` - front controller and public web assets\n- `resources` - Blade views, CSS, and JavaScript\n- `routes` - web, API, and console routes\n- `storage` - local framework and log directories\n- `tests` - feature and unit tests\n\nIt also includes a simple `/api/health` endpoint and a Blade home page so you can confirm the app is wired up.\n\n## Quick Start\n\nCreate a new project folder:\n\n```bash\nnpx laravel-template-jpz my-app\n```\n\n`my-app` is the name of the folder that will be created. You can replace it with any project name you want.\n\nYou can also run the CLI without a project name:\n\n```bash\nnpx laravel-template-jpz\n```\n\nWhen you do not add a project name, the template files are created in the current folder.\n\nIf you created a new project folder, open it:\n\n```bash\ncd my-app\n```\n\nInstall PHP dependencies:\n\n```bash\ncomposer install\n```\n\nCreate the app key:\n\n```bash\nphp artisan key:generate\n```\n\nInstall and build frontend assets:\n\n```bash\nnpm install\nnpm run build\n```\n\nRun migrations:\n\n```bash\nphp artisan migrate\n```\n\nStart the development server:\n\n```bash\ncomposer run dev\n```\n\nThe Laravel framework app will run at:\n\n```text\nhttp://localhost:8000\n```\n\nThe health-check API route will be available at:\n\n```text\nhttp://localhost:8000/api/health\n```\n\n## Using Global Install\n\nYou can also install the CLI globally:\n\n```bash\nnpm install -g laravel-template-jpz\n```\n\nThe `-g` means global. This installs the CLI tool on your computer instead of inside one project folder.\n\nAfter global installation, npm makes the `laravel-template-jpz` command available in your terminal. This means you can run the command from any folder without using `npx`.\n\nThen create a project with:\n\n```bash\nlaravel-template-jpz my-app\n```\n\nThis command creates a new folder called `my-app` and adds the Laravel framework template files inside it.\n\n## Command Format\n\n```bash\nnpx laravel-template-jpz [project-name]\n```\n\nExamples:\n\n```bash\nnpx laravel-template-jpz my-laravel-project\n```\n\n```bash\nnpx laravel-template-jpz\n```\n\nIf you add a project name, the CLI creates a folder with that name and puts the template files inside it.\n\nIf you do not add a project name, the CLI creates the template in the folder where you run the command.\n\nUse `npx` when you only want to run the CLI once. Use global install if you want the command available on your computer all the time.\n\n## Generated Folder Structure\n\n```text\napp/\n  Http/\n    Controllers/\n  Models/\n  Providers/\n  Services/\nbootstrap/\nconfig/\ndatabase/\n  factories/\n  migrations/\n  seeders/\npublic/\nresources/\n  css/\n  js/\n  views/\nroutes/\nstorage/\ntests/\n```\n\n## License\n\nThis project is licensed under the MIT License.\n\nThat means you can use, copy, modify, and share this CLI tool for personal or commercial projects.\n\nSee the full license here: [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpaulzer%2Flaravel-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnpaulzer%2Flaravel-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpaulzer%2Flaravel-template/lists"}