enflow/component-brick

The enflow/component-brick package provides the logic to connect to the iOS and Android side of the Brick framework.
49,268 3
Install
composer require enflow/component-brick
PHP:^8.4
License:MIT
Last Updated:Apr 28, 2026
Links: GitHub  ·  Packagist
Maintainer: enflow

Connect with the Brick framework

The enflow/component-brick package provides the logic to connect to the iOS and Android side of the Brick framework. Brick is meant to be used as the server-side variant of the Brick framework. See "Whats Brick"

What's Brick

Brick is Enflow's framework to create hybrid iOS and Android apps. These wrappers communicate with the server side trough a JavaScript bridge. This package writes a tag to your application that those native wrappers communicate with. The primary function of this package is to support push notifications by fetching the device ID from the device and write it to a table.

Installation

You can install the package via composer:

composer require enflow/component-brick

Migrations

This package includes a migration that needs to be published. This table (brick_devices) includes the mapping between the user and the hardware UUID of the iOS or Android device required for push notifications. New devices will be automatically assigned to the user. You can publish this migration by running:

php artisan vendor:publish --provider="Enflow\Component\Brick\BrickServiceProvider"

Usage

This package adds the BrickManager class to the container and injects a $brickManager variable to all views. This variable can be used to render the required tag automatically. We recommend adding this to the end of the master template, just before the </body>: {!! $brickManager->tags() !!}

We recommend viewing through the files in this package to understand its usage and logic.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email michel@enflow.nl instead of using the issue tracker.

Credits

About Enflow

Enflow is a digital creative agency based in Alphen aan den Rijn, Netherlands. We specialize in developing web applications, mobile applications and websites. You can find more info on our website.

Related Packages

livewire/flux

The official UI component library for Livewire.

10,567,624 975
infyomlabs/adminlte-templates

AdminLTE templates for InfyOm Laravel Generator

1,640,521 266
garygreen/pretty-routes

Pretty routes for Laravel 5+

1,370,595 649
infyomlabs/swagger-generator

Swagger Generator for InfyOm Laravel Generator

1,119,581 114
snowfire/beautymail

Send beautiful html emails with Laravel

769,772 1,313