-
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Before installing the TallPress - Laravel Blog Package, ensure your system meets these requirements:
- PHP: 8.1 or higher
- Laravel: 10.0 or higher
- Database: MySQL/MariaDB
- Livewire: 3.0 or higher (automatically installed with this package)
composer require sajdoko/tallpressThe package will automatically:
- Register its service provider via Laravel's package discovery
- Install Livewire 3 as a dependency
- Set up all required dependencies
Publish the configuration file to customize settings:
php artisan vendor:publish --provider="Sajdoko\TallPress\TallPressServiceProvider" --tag=tallpress-configThis creates config/tallpress.php where you can customize:
- Posts per page
- User model
- Storage disk
- Route prefixes
- And much more
Create the required database tables:
php artisan migrateThis creates:
-
tallpress_posts- Blog posts -
tallpress_categories- Categories -
tallpress_tags- Tags -
tallpress_post_category- Post-category pivot -
tallpress_post_tag- Post-tag pivot -
tallpress_comments- Comments -
tallpress_post_revisions- Post version history -
tallpress_activity_logs- Admin activity tracking -
tallpress_media- Media files -
tallpress_settings- Dynamic settings
The blog is now installed and ready to use:
-
Public Blog:
/blog -
Admin Interface:
/admin/blog
No build step required! Assets are precompiled and work immediately.
Your admin dashboard is ready to use immediately after installation
For a faster setup with demo data:
php artisan tallpress:install --seedThis command:
- ✅ Publishes configuration
- ✅ Runs migrations
- ✅ Initializes default settings
- ✅ Creates demo users (admin, editor, author)
- ✅ Seeds sample posts, categories, and tags
Demo Credentials:
| Role | Password | |
|---|---|---|
| Admin | admin@example.com | password |
| Editor | editor@example.com | password |
| Author | author@example.com | password |
If you want to customize the CSS/JS:
php artisan vendor:publish --tag=tallpress-assetsThis copies precompiled assets to public/vendor/tallpress/:
Frontend (Public Blog):
-
css/tallpress-frontend.css- Lightweight styling for public pages -
js/tallpress-frontend.js- Minimal JavaScript for public pages
Admin (Admin Panel):
-
css/tallpress-admin.css- Complete styling including Quill editor -
js/tallpress-admin.js- JavaScript with Quill rich text editor
To customize Blade templates:
php artisan vendor:publish --tag=tallpress-viewsViews are published to resources/views/vendor/tallpress/ for customization.
For multilingual support or custom translations:
php artisan vendor:publish --tag=tallpress-langLanguage files are published to resources/lang/vendor/tallpress/.
To publish all resources at once:
php artisan vendor:publish --provider="Sajdoko\TallPress\TallPressServiceProvider"The admin interface is built with Livewire v3, providing a modern, reactive experience.
- ✅ Livewire automatically installed as a dependency
- ✅
@livewireStylesand@livewireScriptsincluded in admin layout - ✅ No additional configuration required
- ✅ Works out of the box
- Real-time updates - No page reloads for most actions
- Live search and filtering - Instant results as you type
- Inline editing - Edit categories and tags without separate forms
- File uploads - Live upload progress and preview
- Bulk actions - Select and process multiple items at once
After installation:
- Configure the package - See Configuration Guide
-
Create your first post - Visit
/admin/blogand log in - Customize the design - See Styling & Assets
- Learn the features - Read the Usage Guide
If styles aren't appearing:
php artisan vendor:publish --tag=tallpress-assets --force
php artisan view:clear
php artisan cache:clearEnsure Livewire is properly installed:
composer show livewire/livewireIf not found, manually install:
composer require livewire/livewire:^3.0If you get table conflicts:
php artisan migrate:fresh # ⚠️ WARNING: Deletes all dataOr selectively run blog migrations:
php artisan migrate --path=/vendor/sajdoko/tallpress/database/migrationsIf you can't access /admin/blog:
- Ensure you're logged in
- Check your user has a role field set to
admin,editor, orauthor - Run the seeder to create demo users:
php artisan db:seed --class="Sajdoko\TallPress\Database\Seeders\TallPressAdminSeeder"To update to the latest version:
composer update sajdoko/tallpress
php artisan migrate # Run new migrations if any
php artisan view:clearIf you've published assets, re-publish to get the latest:
php artisan vendor:publish --tag=tallpress-assets --forceInstallation complete! Continue to the Configuration Guide →
Getting Started
User Guides
Development