PHP integration for the Craftile visual editor - Build dynamic, block-based layouts with seamless editor integration.
Craftile PHP provides the server-side foundation for integrating with the Craftile Visual Editor, enabling you to build dynamic, block-based content management systems with Laravel.
- π¨ Visual Block Editor Integration - Seamlessly connect with Craftile's drag-and-drop editor
- π§ Laravel-First Design - Built specifically for Laravel applications with service providers and facades
- π¦ Block-Based Architecture - Create reusable content blocks with properties and validation
- π― Template Compilation - Transform JSON/YAML templates into optimized Blade views
- π Performance Optimized - Intelligent caching and lazy loading for production use
- π Developer Friendly - Comprehensive testing, static analysis, and clear documentation
This monorepo contains:
- craftile/core - Core block functionality and data structures
- craftile/laravel - Laravel integration with service providers and Blade directives
packages/
βββ core/ # Core functionality (framework-agnostic)
β βββ src/ # Block schemas, data structures, services
β βββ tests/ # Unit tests
βββ laravel/ # Laravel integration
βββ src/ # Service providers, compilers, facades
βββ config/ # Configuration files
βββ resources/ # Blade templates and views
βββ tests/ # Integration tests
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Craftile PHP is open-sourced software licensed under the MIT license.
Ready to build something amazing? Check out the Craftile Editor to see the visual editing experience in action! π