PHPackages                             inrage/blocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. inrage/blocks

ActivePackage[Templating &amp; Views](/categories/templating)

inrage/blocks
=============

WordPress package to enable a basic block when using Blade with Sage 9

1.1.0(4y ago)024MITPHPPHP &gt;=7.2

Since Nov 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/inrage/blocks)[ Packagist](https://packagist.org/packages/inrage/blocks)[ Docs](https://github.com/inrage)[ RSS](/packages/inrage-blocks/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Sage 9 Blocks and fields
========================

[](#sage-9-blocks-and-fields)

Simply create a wrapper to your block and add the fields you need.

Requirements
------------

[](#requirements)

- Sage 9
- PHP &lt;= 7.2
- Advanced Custom Fields

Custom Fields
-------------

[](#custom-fields)

All the management of custom fields is driven by WordPlate ACF.

Installation
------------

[](#installation)

```
composer require inrage/blocks
```

### Create a block

[](#create-a-block)

First, create a new folder in your theme directory.

```
mkdir app/Blocks

```

And then create a new file Testing.php in that folder.

```
