hashtagcms / create-app
Official HashtagCMS Starter Kit
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
Type:project
pkg:composer/hashtagcms/create-app
Requires
- php: ^8.2
- hashtagcms/hashtagcms: ^2.0.6
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.2
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.2
- laravel/pint: ^1.24
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- phpunit/phpunit: ^11.5.3
README
HashtagCMS Starter Kit
Welcome to the Official HashtagCMS Starter Kit. This boilerplate provides a production-ready application structure pre-configured with Laravel 12 and HashtagCMS 2.x, allowing you to launch powerful, headless-capable Content Management Systems in seconds.
๐ About HashtagCMS
HashtagCMS is a headless-ready, API-centric Content Management System built on Laravel. It decouples the "Frontend/Headless" logic from the "Backend/Admin" logic, empowering developers to:
- Headless First: robust API support for React, Vue, Mobile apps, or any other consumer.
- Multi-Tenancy: Manage multiple sites, domains, and platforms from a single admin panel.
- Module-Based Architecture: Drag-and-drop module placement for dynamic layouts.
- Smart Queries: Fetch data via JSON configuration (Zero Code required for standard data fetching).
- Scale Ready: Supports MongoDB, SSO (Extended), and high-traffic caching strategies.
โจ Features V2.0
- Event-Driven Architecture: Core actions like site copying and publishing act on events.
- Modern Stack: Built for Laravel 12.x and PHP 8.2+.
- Frontend Independence: Removed
laravel/uidependency; pure JS/Frontend agnostic. - Improved Admin: Complete refactor of
AdminCrudfor smoother day-to-day operations. - NPM Ecosystem: All JS components are published under
@hashtagcmsnamespace.
๐ Installation
๐ณ Via Docker (Recommended)
The easiest way to get started is using Docker. Ensure you have Docker and Docker Compose installed.
For detailed Docker instructions and troubleshooting, see the DOCKER-README.md.
git clone https://github.com/hashtagcms/create-app.git my-awesome-site
cd my-awesome-site
./cms build
Once the containers are running, visit http://localhost:8081/install to complete the setup.
๐ฆ Via Composer
You can create a new project via Composer. This will assume you have PHP and Composer installed.
1. Create Project
Run the following command in your terminal:
composer create-project hashtagcms/create-app mysite
2. Database Setup
By default, this starter kit is configured to use SQLite for instant setup (zero configuration).
Copy .env.example to .env
cp .env.example .env
To use MySQL/PostgreSQL:
- Open the
.envfile in your new project. - Update the database credentials:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=root DB_PASSWORD=
- Run the installer to populate the database:
php artisan cms:install
3. Access the Application
- Frontend:
http://your-domain.test(orhttp://localhost:8000) - Admin Panel:
http://your-domain.test/admin(orhttp://localhost:8000/admin)
Login details will be provided during the cms:install process.
๐ Documentation
Detailed documentation for developers and content managers is available at:
๐ Official HashtagCMS Documentation
๐งช Testing
This kit comes with standard Laravel tests. To run them:
php artisan test
๐ค Contributing
Thank you for considering contributing to the HashtagCMS ecosystem! The contribution guide can be found in the HashtagCMS Core Repository.
๐ License
The HashtagCMS framework is open-sourced software licensed under the MIT license.