Download the PHP package artflow-studio/starterkit without Composer

On this page you can find all versions of the php package artflow-studio/starterkit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package starterkit

AF Laravel Starter Kit

Latest Version Laravel Fortify Bootstrap PHP

Complete Laravel Authentication & Admin Starter Kit with Advanced Fortify Integration

14 Beautiful Auth Layouts | 5 Admin Layouts | Zero Build Required | Bootstrap 5.3.8 | Dark Mode | 20 Fortify Response Contracts | Role-Based Redirects | Complete Fortify Integration | Spatie Permission Support

A professional Laravel package with 14 authentication layouts, 5 admin dashboard layouts, Bootstrap 5.3.8, native dark mode, and complete Laravel Fortify integration including all 20 response contracts. Pre-built assets mean zero npm/build step required after installation!


โœจ Key Features


๐Ÿ†• What's New in v0.3

Complete Fortify Response Contract Coverage

The package now implements all 20 Fortify response contracts, giving you total control over every authentication response:

โœ… All Response Contracts Implemented

Authentication Responses (4)

Password Management (7)

Profile Management (1)

Two-Factor Authentication (5)

Email Verification (2)

Rate Limiting (1)

Advanced AuthService with Role-Based Redirects

Package File Structure

All authentication logic is now properly organized in the package:

Important: These files are in the package only, not in your application. The install command optionally publishes AuthService to app/Services/ for customization.


๐Ÿ“ฆ Installation

Quick Start (3 Steps)

Then visit:

Installation Options

What Gets Installed

The install command automatically:

  1. โœ… Checks and installs Laravel Fortify (if needed)
  2. โœ… Publishes 14 auth layouts
  3. โœ… Publishes 5 admin layouts
  4. โœ… Publishes pre-built CSS/JS assets (no npm build needed!)
  5. โœ… Publishes configuration (config/starterkit.php)
  6. โœ… Registers custom Fortify responses (20 contracts)
  7. โœ… Sets up layout test routes (/test/layouts)
  8. โœ… Updates .env with STARTERKIT_AUTH_LAYOUT and STARTERKIT_ADMIN_LAYOUT
  9. โœ… Optionally publishes AuthService to app/Services/ for customization

Database Setup

This creates the users table and related tables needed for authentication.


๐ŸŽจ Available Layouts

Authentication Layouts (13 Options)

Layout Best For Features
particles Modern feel Animated particles, connecting lines
centered Classic login Simple centered form
split Brand showcase Side-by-side layout
glass Contemporary Glassmorphism effect
hero Marketing Large hero section
modern Professional Contemporary design
3d Creative 3D effects
premium-dark Luxury Dark theme
gradient-flow Dynamic Animated gradients
minimal Clean Ultra-simple
clean Business Professional design
hero-grid Modern Grid-based
sidebar Navigation Sidebar style

Admin Layouts (5 Options)

Layout Best For Features
sidebar Dashboards Collapsible sidebar
topnav Web apps Horizontal navigation
minimal Analytics Content-focused
neo Modern Glassmorphic design
classic Enterprise Traditional design

Preview Layouts


๐Ÿ” Authentication Flow

How Fortify Integration Works

The package includes complete Fortify integration that's automatically registered:

Extending Authentication

Override AuthService methods for custom logic:


๐ŸŒ™ Dark Mode

All layouts support native Bootstrap dark mode:

JavaScript to toggle:


๐Ÿ” Fortify Response Contracts

All 20 Response Contracts Implemented

The package implements all Fortify response contracts for complete control over authentication responses:

Location

Complete Contract List

Automatic Binding

All responses are automatically bound in StarterKitFortifyServiceProvider:


๐Ÿง  AuthService - Role-Based Authentication

Location

Features

The AuthService provides centralized authentication logic:

Built-In Spatie Laravel Permission Support

The AuthService automatically detects and uses Spatie roles:

Publishing AuthService

To customize the AuthService for your application:

This creates:

After Publishing

Update these response files to use your published App\Services\AuthService:

  1. vendor/artflow-studio/starterkit/src/Http/Responses/LoginResponse.php
  2. vendor/artflow-studio/starterkit/src/Http/Responses/RegisterResponse.php
  3. vendor/artflow-studio/starterkit/src/Http/Responses/TwoFactorLoginResponse.php

Change import from:

To:

Custom Example


โš™๏ธ Configuration

Default Configuration

Edit config/starterkit.php:

Environment Variables


โš™๏ธ Configuration

Default Configuration

Edit config/starterkit.php:

Environment Variables


๐Ÿ› ๏ธ Publishing Tags

Default Publishing (Automatic)

Optional Publishing


๐ŸŽฏ Usage Examples

Use Authentication Layout

Use Admin Layout


๐ŸŒ™ Dark Mode

All layouts support native Bootstrap dark mode:

JavaScript to toggle:


๐ŸŽจ Available Layouts

Authentication Layouts (14 Options)

Layout Best For Features
particles Modern feel Animated particles, connecting lines
centered Classic login Simple centered form
split Brand showcase Side-by-side layout
glass Contemporary Glassmorphism effect
hero Marketing Large hero section
modern Professional Contemporary design
3d Creative 3D effects
premium-dark Luxury Dark theme
gradient-flow Dynamic Animated gradients
minimal Clean Ultra-simple
clean Business Professional design
hero-grid Modern Grid-based
sidebar Navigation Sidebar style
base Minimal HTML Base layout

Admin Layouts (5 Options)

Layout Best For Features
sidebar Dashboards Collapsible sidebar
topnav Web apps Horizontal navigation
minimal Analytics Content-focused
neo Modern Glassmorphic design
classic Enterprise Traditional design

Preview Layouts


๐Ÿงช Testing Authentication

Test Registration & Role-Based Redirect

Test Role-Based Login

Then login:


โ“ FAQ

Q: Do I need npm/build step?

A: No! All assets are pre-compiled. Just run php artisan starterkit:install.

Q: Can I customize the AuthService?

A: Yes! Run php artisan starterkit:install --publish-auth-service to get your own editable copy.

Q: How do I use with Spatie roles?

A: AuthService automatically detects Spatie Laravel Permission. Just assign roles to users and the redirects work automatically.

Q: Can I change layouts dynamically?

A: Yes! Update STARTERKIT_AUTH_LAYOUT in .env and refresh.

Q: What if I don't use roles?

A: All users redirect to /dashboard by default. You can customize in AuthService.

Q: Are the responses extensible?

A: Yes! All responses are in vendor/artflow-studio/starterkit/src/Http/Responses/. Each one can be customized.


๐Ÿšจ Troubleshooting

Issue: Still redirecting to /home

Solution:

Issue: Role redirects not working

Checklist:

  1. Is Spatie installed? composer show spatie/laravel-permission
  2. Did you run migrations? php artisan migrate
  3. Does user have role? User::find(1)->getRoleNames()
  4. Do routes exist? php artisan route:list --path=admin

Issue: "Class not found" errors

Solution:

Issue: Response not binding

Verify binding:

Should output: ArtflowStudio\StarterKit\Http\Responses\LoginResponse


๐Ÿ“š Additional Resources


๐Ÿ“ Summary

Feature Status Details
Fortify Response Contracts โœ… 20/20 All contracts implemented
Role-Based Redirects โœ… Built-in Spatie automatic detection
AuthService โœ… Available In package, publishable
Auth Layouts โœ… 14 layouts Ready to use
Admin Layouts โœ… 5 layouts Pre-built
Dark Mode โœ… Native Bootstrap native
Pre-Built Assets โœ… Yes No npm/build needed
One-Command Install โœ… Yes Fully automated

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT license.


๐Ÿค Contributing

Contributions are welcome! Please feel free to submit pull requests.


๐Ÿ“ง Support

For issues, questions, or suggestions, please open an issue on GitHub or contact the maintainers.

Custom Middleware

Handle Auth Events


๐Ÿ“‚ Package Structure


๐Ÿ“‹ All Available Commands

Installation

Publishing


๐Ÿงช Testing

Manual Layout Testing

All 18 layouts are displayed with live switching options.

Unit Tests


๐Ÿ› Troubleshooting

Assets Not Loading

Layouts Not Showing

Fortify Not Working

Permission Issues


๐Ÿ”ง Requirements


๐Ÿ“Š What's Included

โœ… Layouts (18 Total)

โœ… Assets (Pre-built)

โœ… Services

โœ… Documentation

โœ… Database


๐Ÿš€ Development

Local Setup

Build Commands


๐Ÿ“„ License

MIT License - Free to use in your projects!


๐Ÿค Support

For help:

  1. Check docs/ directory
  2. Review LAYOUTS_DOCUMENTATION.html
  3. Visit /test/layouts route
  4. Check Laravel Fortify docs

๐Ÿ“Š Package Information

AF Laravel Starter Kit


Ready to build secure Laravel applications with beautiful layouts? ๐Ÿš€

Start with AF Laravel Starter Kit today!


All versions of starterkit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
laravel/framework Version ^11.0|^12.0
laravel/fortify Version ^1.17
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package artflow-studio/starterkit contains the following files

Loading the files please wait ...