pakka in a package


Latest Version on Packagist GitHub Tests Action Status Total Downloads

Pakka in a package


You can install the package via composer:

composer require therealjanjanssens/pakka

We also prepared a complete setup for the pakka package with following command

php artisan pakka-install

You can publish the config file with:

php artisan vendor:publish --provider="TheRealJanJanssens\Pakka\PakkaServiceProvider" --tag="config"

Installation for development

Provide this info for this section.

Upgrade guide

Database structure changes

When changing something on the structure of the database please do it with migrations and create a new stub so updating instances will be easier. Take add_permission_to_section_items_table.php.stub as example when dealing with columns and create_attribute_inputs_table.php.stub when dealing with tables

Upgrading to 1.0 From 0.x

When updating everything below 1.0.0 to current version take a backup from the database and remove the existing database. Reconstruct it with php artisan pakka-install and insert the data back into it


Use below commands to run the Unit tests

composer test


./vendor/bin/pest tests

If you want to run the tests like its getting triggered with Github actions first make sure you have docker installed and install arc brew instal act

Once everything is installed you can simulate the Github actions with:


act -P ubuntu-latest=shivammathur/node:latest

Custom sections, templates and layouts

If you need to change a particular section, template or layout you can simply add a 'sections', 'templates' or 'layouts' folder in your views. You can put a copy of existing resources in the folder you just made and do all the changes you want. When you update the package this folder won't be updated so your custom resources will be untouched.

Custom sections also can have their own custom thumbnail. Just add the following to your project and your set!


Custom dynamic sections with items

This sounds a bit abstract but you can put custom html/blade in a few selected sections (For example IFRMST01004). Some of them even allow you to connect a item module to them and directly list items in your custom html/blade. To access the item variables you just use the name of the key as variable like:

$item['title'] => $title
$item['description'] => $description


Please see CHANGELOG for more information on what has changed recently.


Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.