rokde / laravel-starter-kit
The skeleton application for the Laravel framework.
Fund package maintenance!
www.paypal.me/rok
Buy Me A Coffee
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 13
Language:Vue
Type:project
Requires
- php: ^8.2
- inertiajs/inertia-laravel: ^2.0
- internachi/modular: ^2.3
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
- modules/foundation-layout: *
- modules/notification: *
- modules/passkey: *
- modules/todo: ^1.0
- modules/workspace: *
- tightenco/ziggy: ^2.4
Requires (Dev)
- barryvdh/laravel-ide-helper: ^3.5
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^3.8
- pestphp/pest-plugin-laravel: ^3.2
- dev-main
- 1.0.0
- 0.0.3
- 0.0.2
- 0.0.1
- dev-77-we-should-add-a-notification-and-a-scheduled-job-for-task-is-due-today-message
- dev-66-support-user-based-timezone
- dev-74-add-due-date-to-tasks
- dev-dependabot/npm_and_yarn/laravel-vite-plugin-1.3.0
- dev-dependabot/npm_and_yarn/rollup/rollup-linux-x64-gnu-4.42.0
- dev-dependabot/npm_and_yarn/tailwindcss-4.1.8
- dev-dependabot/npm_and_yarn/eslint-plugin-vue-10.2.0
- dev-dependabot/npm_and_yarn/lucide-vue-next-0.513.0
This package is auto-updated.
Last update: 2025-06-12 13:54:04 UTC
README
Usage
laravel new --using=rokde/laravel-starter-kit
What is inside?
A customized version with the following things:
Repository
- PHP 8.4
- laravel/vue-starter-kit
- using Inertia and shadcn-vue components
- pint.json with strict rules
- repository dependency health with dependabot
- automatic linting and testing on push
- automatic CHANGELOG.md update on releases
- nunomaduro/essentials for laravel settings (see essentials.php)
- rector for instant upgrades and automated refactoring
IDE support
- barryvdh/laravel-ide-helper
- JetBrains Junie guidelines
Starter Kit features
- internationalization (en, de)
- static pages based on CommonMark Markdown files, with FrontMatter support and localized
- in
resources/markdown
are the md files located - localized version can have a
*.[locale].md
extension (e.g..de.md
)
- in
- using UseFactory class attribute for eloquent models
- modules supported for domain driven design
- analytics - Track and visualize user interactions with elements in the application
- foundation-layout - Configure and switch between different layout styles
- notification - Manage user notification preferences and delivery methods
- passkey - Enable secure, passwordless authentication using WebAuthn
- todo - Create, manage, and track todos within workspaces
- workspace - Create and manage workspaces for team collaboration
Features
Laravel Features and Configuration
- Register a user
- Login a user
- User must verify email
- various settings configured in the AppServiceProvider::boot() method
- Localized views in english and german
- database notifications already set up
- Profile settings including locale settings
- Imprint, Terms and Policy templates supported
- displaying the password rules on registration and password change
- reveal passwords on password input elements
- User has locale and timezone for displaying the dates correct
- provide a
inApplicationTimezone
andinUserTimezone
method for each carbon instance
- provide a
Build with DDD
php artisan make:module [MODULE_NAME]
For detailed instructions on creating modules, including backend implementation, Vue.js frontend, and Pest testing, see the Module Development Guide.
This generates the whole module stub. Use contracts and dtos to communicate between domain boundaries as described in Modularizing Inertia. An example repository describes it better. It supports also the module-based loading and providing of typescript code for inertia.
Module Dependency Graph
You can generate a visual representation of module dependencies with:
php artisan modules:graph
This command analyzes the codebase and creates a dependency graph using Mermaid, which is supported by GitHub Markdown. The graph shows which modules depend on each other and provides detailed information about each module.
The generated graph is saved to docs/module-dependency-graph.md
by default, but you can specify a custom output path:
php artisan modules:graph --output=custom/path/graph.md
Database Entity Relationship Diagram
A visual representation of the database schema is available, showing all tables, columns, relationships, and indexes used in the project.
Configure the used layouts with a console command
(provided by the foundation-layout module)
php artisan app:configure-layouts
Then you can switch between all the provided layouts within the starter kits.
Reuse backend localization in frontend
We support localization. If your user implements the HasLocalePreference
interface we would support that by the SetLocale
middleware.
With php artisan translations:generate
the php stored translations get transferred to the typescript translations used by vue-i18n
.
Creating model documentation
composer run ide-helper
Format your code
- during github workflows a new commit will handle this
- or:
composer run format
andnpm run format
Run the test suite
composer run test
Code Coverage
To generate a code coverage report, run:
composer test:coverage
After the tests complete, you can view the coverage report by opening ./tests/coverage/index.html
in your browser.
Dependabot
Weekly updates for npm and php dependencies.