artworksit / starter
Website starter scaffolding package for Laravel projects.
Requires
- php: ^8.2
- illuminate/support: ^12.0
- intervention/image: ^3.0
This package is auto-updated.
Last update: 2026-03-23 10:21:38 UTC
README
Starter scaffolding package for Laravel websites. It generates routes, controllers, Blade components, and optional modules for SEO, blog, and careers.
Requirements
- PHP 8.2+
- Laravel 12 (Illuminate Support ^12.0)
Installation
composer require artworksit/starter --dev
This package is intended for scaffolding during development and does not need to be installed in production.
Usage
php artisan starter:install
The installer asks which static pages to create and optionally adds SEO, blog, and careers modules.
SEO scaffolding
When SEO is installed, Starter now scaffolds a class-based SEO component and reusable concerns:
App\View\Components\Seoprepares SEO data for renderingresources/views/components/seo.blade.phpremains presentationalApp\Models\Concerns\HasSeoMorphcentralizes model SEO URL sync logicApp\Filament\Resources\Concerns\HasSeoFormFieldscentralizes SEO form fieldsApp\Filament\Resources\Concerns\HandlesSeoFormDatacentralizes SEO page data handling
SEO tags are rendered through <x-seo /> as the single source of truth.
Options
--forceoverwrite files generated by Starter--dry-runshow what would be generated without writing files--install-depsinstall required dependencies for optional modules
Typography Tokens
php artisan starter:typography:build
This command generates typography tokens from a CSV file. Use the --csv option to provide a custom path or --scale to adjust the 3xl scaling behavior.
OG Images
php artisan starter:og-generate
This command generates OG images in batch mode from a CSV file. If the CSV does not exist, it will be created from the Starter manifest.
CSV format
slug,header,subtext,input,output
home,Home,,public/assets/og/default.png,public/og
slugbecomes the output filename:{output}/{slug}.pnginputis the source image; if missing,public/assets/og/default.pngis used (auto-copied from the package default if needed)outputis a folder path
Options
--csvpath to the CSV (defaultresources/og.csv)--forceoverwrite existing images--strictfail on invalid rows or missing fonts--heading-*and--subtext-*override font settings (size, color, position, alignment)
Sitemap
php artisan starter:sitemap:generate
This command generates an application command stub at app/Console/Commands/GenerateSitemapCommand.php.
Then run:
php artisan sitemap:generate
The generated command creates sitemap.xml by browsing application routes. It asks for your domain and defaults to APP_URL.
Route handling
- Home route
/uses priority1.0 - Static routes use priority
0.8 - Slug routes use priority
0.6 - Other dynamic placeholder routes use priority
0.4 - Filament routes are excluded
Options
starter:sitemap:generate --forceoverwrite existing generated command stubsitemap:generate --domaindomain used in generated URLs (if omitted, command prompts with default fromAPP_URL)sitemap:generate --outputoutput file path (defaultpublic/sitemap.xml)sitemap:generate --forceoverwrite existing sitemap file
Configuration
Publish the config file to customize package settings.
php artisan vendor:publish --tag=starter-config
Config path: config/starter.php.
License
MIT. See LICENSE.