Download the PHP package hardimpactdev/craft-laravel without Composer
On this page you can find all versions of the php package hardimpactdev/craft-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hardimpactdev/craft-laravel
More information about hardimpactdev/craft-laravel
Files in hardimpactdev/craft-laravel
Package craft-laravel
Short Description This is my package laravel
License MIT
Homepage https://github.com/hardimpactdev/craft-laravel
Informations about the package craft-laravel
Craft Laravel Package
Companion scaffolding package for craft-starterkit. Provides commands to rapidly set up authentication, dashboard, settings, CMS (Filament), and multi-language support.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Requirements
- PHP 8.1 or higher
- Laravel 10.x, 11.x, or 12.x
- Node.js and npm/bun for frontend assets
AI-Assisted Development
This package includes Laravel Boost integration. When you have both packages installed, AI assistants will automatically understand the available scaffolding commands.
Installation
You can install the package via composer:
Scaffolders
The package provides powerful scaffolding commands to quickly set up different aspects of your application. All scaffolders automatically generate routes using the waymaker package.
Available Scaffolders
1. App Scaffolder (Full Application Setup)
The most comprehensive scaffolder that sets up a complete application with authentication and dashboard.
This scaffolder includes:
- ✅ App class with redirect configuration
- ✅ Dashboard controller and views
- ✅ Settings pages (profile, password, appearance)
- ✅ HandleInertiaRequests middleware
- ✅ TypeScript type definitions
- ✅ Feature tests
- ✅ Full authentication system (runs Auth scaffolder)
- ✅ Automatic route generation
Note: For CMS functionality, use php artisan craft:setup cms instead.
2. Auth Scaffolder
Sets up a complete authentication system with login, registration, password reset, and email verification.
This scaffolder includes:
- ✅ Authentication controllers with route attributes
- ✅ Login request validation
- ✅ Vue.js authentication pages
- ✅ Authentication tests
- ✅ User migration publishing
Note: The auth scaffolder requires the App class to be present. If running standalone, ensure you have an App class or run the app scaffolder instead.
3. Dashboard Scaffolder
Sets up dashboard and settings pages. Requires authentication to be set up first.
This scaffolder includes:
- ✅ App class with redirect configuration
- ✅ Dashboard controller and views
- ✅ Settings pages (profile, password, appearance)
- ✅ HandleInertiaRequests middleware
- ✅ TypeScript type definitions
- ✅ Feature tests
- ✅ Automatic route generation
Note: Run php artisan craft:setup auth first, or use php artisan craft:setup app which includes both.
4. CMS Scaffolder
Sets up Filament CMS with user management and authentication.
This scaffolder includes:
- ✅ App class with redirect configuration
- ✅ Full authentication system (runs Auth scaffolder)
- ✅ Filament package installation
- ✅ User resource for managing users
- ✅ Admin panel configuration
- ✅ Filament CSS build process
- ✅ Automatic route generation
5. Multilanguage Scaffolder
Sets up multi-language/i18n support with translation files.
This scaffolder includes:
- ✅ Language translation files
- ✅ Example translation component
- ✅ Automatic route generation
Route Generation
All scaffolders use the waymaker package to automatically generate routes from controller attributes. Routes are generated at the end of each scaffolding process, eliminating the need to manually run php artisan waymaker:generate.
Files and Directories Created
App Scaffolder creates:
Auth Scaffolder creates:
Usage Examples
Quick Start - Full Application
Authentication Only
CMS with Authentication
Important Notes
-
Middleware Replacement: The HandleInertiaRequests middleware will be replaced if it already exists in your application.
-
Route Attributes: All controllers use route attributes from the waymaker package, eliminating the need for manual route definitions.
-
App Class: The App class provides a centralized location for application configuration, including login redirect routes.
-
File Merging: When copying directories, existing files are preserved unless they have the same name as files being copied.
- Dependencies: Make sure to install the waymaker package if not already installed:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- nckrtl
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of craft-laravel with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^12.0||^13.0
