Download the PHP package tradifylabs/laravel-craftile without Composer

On this page you can find all versions of the php package tradifylabs/laravel-craftile. 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 laravel-craftile

Laravel Craftile

Laravel integration for the Craftile visual editor - Build dynamic, block-based layouts with seamless editor integration.

This package provides Laravel integration for the Craftile Visual Editor, enabling you to create block-based content management systems with Blade templates.

It is a maintained fork of craftile/laravel, published by TradifyLabs. The PHP namespace, service provider, facades, config keys, and publish tags are unchanged from upstream, so it is a drop-in replacement.

Relationship to upstream

Only composer.json differs from upstream craftile/laravel v0.9.2 — the src/, config/, and resources/ trees are identical. Two constraints are relaxed so the package can be used on newer Laravel releases and with a floating craftile/core:

Requirement Upstream v0.9.2 This package
illuminate/support ^11.0\|^12.0 ^13.0
craftile/core self.version ^0.9

Upstream pins craftile/core to self.version, which forces core and laravel to be released at exactly matching version numbers and prevents depending on core ^0.9 with a newer laravel integration. This fork decouples the two.

Because the namespace is unchanged, do not install this package alongside craftile/laravel — they both provide Craftile\Laravel\* and would collide.

🚀 Installation

Install via Composer:

If craftile/laravel is already required, remove it in the same step so both packages are never installed at once:

⚙️ Configuration

Publish the configuration file:

This will create a config/craftile.php file where you can customize:

📦 Creating Blocks

1. Block Class

Create a block by implementing the BlockInterface:

2. Block Template

Create the corresponding Blade template:

3. Register the Block

Register your block in a service provider:

🎯 Using Blocks in Templates

Blade Directives

Use blocks directly in your Blade templates:

Component Tags

Or use the component syntax:

JSON/YAML Templates

Create template files that can be rendered directly:

Then render in your route or controller:

🔧 Property Types

Craftile provides several property types for your blocks:

🎨 Working with Children

Blocks can accept and render child blocks:

🔧 Advanced Configuration

Custom Directive Names

Customize directive names in config/craftile.php:

Component Namespace

Change the component tag namespace:


All versions of laravel-craftile with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^13.0
craftile/core Version ^0.9
stillat/blade-parser Version ^2.0
symfony/yaml Version ^7.0
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 tradifylabs/laravel-craftile contains the following files

Loading the files please wait ...