Overview
After installing LaraCMS, you’ll need to create your admin account and configure initial settings before you can start managing content.This guide assumes you’ve completed the installation and configuration steps.
Create your first user
Register through the web interface
Navigate to your LaraCMS installation in your browser (typically http://localhost:8000) and click the Register link.Fill in your details:
- Name: Your full name
- Email: Your email address (used for login)
- Password: A secure password
Verify your email
Check your email inbox for a verification message. If you’re using the default
log mail driver during development, the verification link will be in storage/logs/laravel.log.Click the verification link to activate your account.Assign Super Admin role
After registering and verifying your email, assign yourself the Super Admin role using the artisan command:This command will:
- Find your user account by email
- Create the “Super Admin” role if it doesn’t exist
- Assign the role to your account
You should see:
User [email protected] has been assigned the Super Admin role.The Super Admin role is created automatically by the command using Spatie’s Laravel-Permission package.
Access the admin panel
Once you have the Super Admin role, you can access the admin dashboard:The admin panel requires:
- Authentication (
authmiddleware) - Email verification (
verifiedmiddleware) access.admin.panelpermission
Admin dashboard overview
The admin dashboard provides access to all content management features:User management
View, create, edit, and delete users. Assign roles and permissions.
Roles & permissions
Manage roles and granular permissions for access control.
Blog posts
Create and manage blog posts with categories and tags.
Gallery
Upload and organize photos and albums.
URL tools
Manage URL shorteners and redirects (coming soon).
Settings
Configure site-wide settings and preferences.
Create your first blog post
Let’s create your first blog post to get familiar with the content management system:Create new post
Click Create Post to open the blog editor.Fill in the post details:
- Title: Your post title
- Content: Rich text content using the editor
- Category: Select or create a category
- Tags: Add relevant tags
- Featured Image: Upload an image (optional)
- Status: Draft or Published
Upload your first image
The gallery system uses Spatie Media Library for powerful image management:Upload photos
Click Upload Photo and select an image file.Supported formats:
The default maximum file size is 10MB. This can be configured in
config/media-library.php.- JPEG / JPG
- PNG
- GIF
- WebP
- SVG
Images are processed in the background using Laravel’s queue system. Make sure your queue worker is running:
Manage users and permissions
As a Super Admin, you can create additional users and control their access:Configure roles
Navigate to Roles & Permissions to:
- Create custom roles (e.g., “Editor”, “Author”)
- Assign granular permissions
- Control access to different areas
Configure site settings
Update your profile
Customize your user profile:- Click your avatar in the top-right corner
- Select Profile
- Update your information:
- Name
- Password
- Avatar image (uses Spatie Media Library)
Generate sitemap
Create a sitemap for search engines:- Crawls your public pages
- Excludes admin and auth routes
- Generates
public/sitemap.xml
The sitemap excludes these paths by default:
/admin/*/login/register/confirm-password/verify-email
Production checklist
Before deploying to production, ensure you:Configure services
- Set up real mail service (not
log) - Configure Cloudflare Turnstile with real keys
- Set Nightwatch token for monitoring
- Configure Cookiebot if handling EU traffic
Set up queue worker
Configure a process supervisor (e.g., Supervisor) to keep your queue worker running:
Common workflows
Adding a new admin user
Adding a new admin user
- Have them register through the web interface
- Verify their email
- Run:
php artisan app:assign-super-admin [email protected]
Managing blog categories
Managing blog categories
- Go to Blog → Categories
- Create categories for organizing posts
- Assign categories when creating/editing posts
Creating albums
Creating albums
- Go to Gallery → Albums
- Create an album with title and slug
- Upload photos and assign them to the album
- Album URL:
/gallery/album/your-album-slug
Troubleshooting permissions
Troubleshooting permissions
If a user can’t access the admin panel:
- Verify email is verified
- Check they have
access.admin.panelpermission - Assign Super Admin role if needed:
Next steps
Blog management
Learn advanced blog features and content strategies
Gallery system
Master image optimization and album organization
User roles
Create custom roles and permission structures
API reference
Integrate with LaraCMS programmatically
Getting help
Need help? Check out these resources:
- GitHub Issues - Report bugs and request features
- Contributing Guide - Contribute to development
- Security Policy - Report security vulnerabilities