AGNSTK Core Framework

Last Commit a00ccba (October 16, 2025 12:00 am)
Repository https://github.com/magicoli/agnstk
License MIT

License: AGPL-v3 PHP Version CMS Agnostic

This is the AGNSTK Core Framework – the foundational library that powers AGNSTK applications.

⚠️ This repository should NOT be used directly!

Installation

For new projects: Use the main AGNSTK application template instead:

git clone https://github.com/magicoli/agnstk.git
cd agnstk
composer install
composer run dev

For existing projects: This core is automatically included as a git subtree in AGNSTK applications.

What is this?

This directory contains the core AGNSTK framework that should NOT be modified directly. It’s managed as a git subtree from the magicoli/agnstk repository.

For Application Developers

  • DON’T EDIT files in this core/ directory
  • PUT YOUR CODE in the application root directories (src/, config/, etc.)
  • CONFIGURE your application by editing core/config/bundle.php
  • UPDATE THE CORE using git subtree pull --prefix=core https://github.com/magicoli/agnstk.git master --squash

Bundle Configuration Setup

After cloning your AGNSTK application, you need to enable bundle configuration tracking:

  1. Remove the ignore rule from your main .gitignore:
    # Remove this line from .gitignore:
    core/config/bundle.php
  1. Track your bundle config:
    git add core/config/bundle.php
    git commit -m "Add bundle configuration"
  1. Customize as needed – edit core/config/bundle.php to match your application structure.

For AGNSTK Core Contributors

If you want to contribute to the AGNSTK framework itself:

  1. Work on the core repository: https://github.com/magicoli/agnstk
  2. Changes will be pulled into applications via git subtree updates

Architecture

your-agnstk-app/
├── src/                    ← YOUR APPLICATION CODE
├── core/                   ← AGNSTK FRAMEWORK (this directory)
│   ├── config/
│   │   ├── bundle.php     ← YOUR CONFIGURATION
│   │   └── bundle.example.php ← Template
│   ├── app/               ← Framework services
│   └── ...                ← Other framework files
└── ...

The core provides:

  • Laravel 12 foundation
  • AGNSTK services and helpers
  • Default pages and blocks
  • Multi-platform deployment adapters

Updates

Update the core framework:

git subtree pull --prefix=core https://github.com/magicoli/agnstk.git master --squash

This uses git subtree to pull the latest changes from agnstk while preserving your application code.


Need help? Check the main README.md in the application root or visit https://agnstk.org

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *