Skip to content

Modernize and Update Skeleton Project#1

Open
msievenpiper wants to merge 5 commits intocubex:masterfrom
msievenpiper:update
Open

Modernize and Update Skeleton Project#1
msievenpiper wants to merge 5 commits intocubex:masterfrom
msievenpiper:update

Conversation

@msievenpiper
Copy link
Copy Markdown

@msievenpiper msievenpiper commented Feb 12, 2026

Currently the Skeleton Project is quite old and in need of some TLC, this is my first attempt at making a more modern version with support for Phpstan and a more robust readme.

@bajb This will be a better start I think than the current version.

Later additions I want to add are:

  • Api Transport Showcase
  • More readme content
  • Middleware examples

@msievenpiper msievenpiper changed the title update Modernize and Update Skeleton Project Feb 12, 2026
Comment on lines +35 to +36
$cubex->getConsole()->add($cubex->resolve(CreateTable::class));
$cubex->getConsole()->add($cubex->resolve(GenerateContent::class));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To showcase the two different ways to add in console commands, this way you want include more details and it actually runs the ->configure() method to allow for better detailing of options etc.

I've also included the commands in the config as per usual, where you can see the command aliasing etc.

Depends on the preference but I have a preference to adding them directly into console so when you run ./cubex list you get a more consistent output.


use Cubex\Cubex;
use Project\Context\SkeletonContext;
use Project\DefaultApplication;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesnt need to change

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without these changes the changes I made to the Cli application won't be shown correctly as cubex will start without the additional loading/config.

@msievenpiper msievenpiper requested a review from bajb February 17, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants