Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Core Laravel Package

atk4/core

Agile Core is a set of reusable PHP traits for building object-oriented frameworks. Provides containers (parent/child), hooks with priorities, automatic init, dynamic methods, factory by class string, app scope injection, and improved exceptions.

View on GitHub
Deep Wiki
Context7
6.0.0

Other changes

  • Fix exception renderer HTML escaping (#425) @mvorisek
  • Add PHP 8.4 support (#423) @mvorisek
  • Fix DiContainerTrait::assertInstanceOf if invoked with union (#424) @mvorisek
  • Improve exception renderers (#422) @mvorisek
  • Fix console exception renderer (#421) @DarkSide666
  • Fix readthedocs.org build (#419) @mvorisek
  • Test enabled "zend.assertions" php.ini (#418) @mvorisek
  • Upgrade Codecov CI (#417) @mvorisek
  • Upgrade PHPStan to v2.0 (#416) @mvorisek
  • Narrow more array phpdocs to list (#415) @mvorisek
  • Fix update "new class() {..." CS (#414) @mvorisek
  • Build epub and htmlzip docs (#413) @Jmos
5.2.0

Major features

  • Allow hooks to be updated when active (#246) @mvorisek

Other changes

  • Fix CS v3.59.1 (#412) @mvorisek
  • Upgrade PHPStan to v1.11.1 (#411) @mvorisek
  • Fix phpdoc phpunit dataprovider /w class name parse (#410) @mvorisek
  • Add phpunit v11 support (#404) @mvorisek
5.1.0

Major features

Breaking changes

  • CollectionTrait::_addIntoCollection() should return void (#408) @mvorisek
  • Strong type NameTrait::$name and TrackableTrait::$shortName properties (#400) @mvorisek
  • Replace phpunit ResultPrinter with self describing Exception (#396) @mvorisek
  • Remove PHPUnit TestCase::xxxProtected() methods (#395) @mvorisek

Other changes

  • Fix nullable parameter type for PHP 8.4 (#409) @mvorisek
  • Do not add into collection if init has failed (#407) @mvorisek
  • Fix phpstan v1.10.60 (#406) @mvorisek
  • Fix atk4 backtrace highlight in exception render (#405) @mvorisek
  • Fix docs build CI (#403) @mvorisek
  • Improve Factory::mergeSeeds() return type (#402) @mvorisek
  • Fix exception render of TrackableTrait with unset shortName (#401) @mvorisek
  • Fix CS v3.45.0 (#399) @mvorisek
  • Improve phpunit burn testing (#398) @mvorisek
  • Add override method attributes (#394) @mvorisek
  • Fix missing PHPUnit\Framework\SelfDescribing interface (#397) @mvorisek
  • Fix docs build config (#393) @mvorisek
5.0.0

Major features

Breaking changes

Other changes

  • Add PHP 8.3 support (#389) @mvorisek
  • Improve HookTrait::removeHook cleanup (#386) @mvorisek
  • Test docs build using CI (#385) @mvorisek
  • Land major header/indent rst to md changes (#383) @mvorisek
  • Rename docs files from rst to md (#382) @mvorisek
  • Fix typos (#379) @szepeviktor
  • Fix some phpmd advisories (#378) @mvorisek
  • Fix CS to use self:: for phpunit static method calls (#376) @mvorisek
  • Fix ConfigTrait comments (#375) @DarkSide666
  • Fix phpstan v1.10.6 (#374) @mvorisek
  • Optimize TraitUtil::hasTrait() (#372) @mvorisek
  • Optimize hook clone performance (#371) @mvorisek
  • Wrap owner/app object to suppress it from debug dump (#370) @mvorisek
  • Simplify TrackableTrait::getDesiredName() impl (#368) @mvorisek
  • Add WeakMap polyfill for PHP 7.4 (#367) @mvorisek
4.0.0

Breaking changes

  • Throw when merging seed /w 2 or more objects (#356) @mvorisek
  • Rename variables and properties to camelCase (#344) @mvorisek
  • Remove NameTrait from TrackableTrait (#343) @mvorisek
  • Remove AppUserNotificationInterface interface (#340) @mvorisek
  • Remove SessionTrait trait (#341) @mvorisek

Other changes

  • Unify CI and fix phpstan v1.9.0 (#366) @mvorisek
  • Unify HTML encode with atk4/ui for exception renderer (#364) @mvorisek
  • Minor CS changes (#363) @mvorisek
  • Test PHP 8.2 /wo composer.json platform override (#351) @mvorisek
  • Enable phpstan bleading edge and strict rules (#362) @mvorisek
  • Improve phpstan config (#361) @mvorisek
  • Fix typed property reset in phpunit TestCase (#360) @mvorisek
  • Fix phpunit GC issues (#359) @mvorisek
  • Fix coverage collection for skipped/incomplete tests (#357) @mvorisek
  • Fix coverage when no assertion is expected (#355) @mvorisek
  • Fix "ID" caption case (#354) @mvorisek
  • Fix coverage collection when there are many data providers (#353) @mvorisek
  • Fix coverage of phpunit data providers (#352) @mvorisek
  • Test composer.json CS in CI (#350) @mvorisek
  • Add testing with PHP 8.2 (#345) @mvorisek
  • Fix DiContainerTrait::setDefault /w numeric key (#349) @mvorisek
  • Fix exception render with object with shortName only (#347) @mvorisek
  • Remove useless "symfony/contracts" dev dep (#346) @mvorisek
  • Preserve preset (app/long) names (#342) @mvorisek
  • Update TestCase::tearDown(), always reset to default value (#339) @mvorisek
  • Compact/unify phpdoc CS (#338) @mvorisek
3.1.0

What’s Changed

  • Fix warnPropertyDoesNotExist to match native php behaviour (#336) @mvorisek
  • Add InitializerTrait::assertIsInitialized() method (#335) @mvorisek
  • Fix dynamic method exception when method is defined but not visible (#334) @mvorisek
  • Display short name as a fallback in exception render (#333) @mvorisek
  • Fix tests when atk4/ui is installed and remove atk4/data dev dependency (#328) @mvorisek
  • Warn if property does not exist and add it to DiContainerTrait (#329) @mvorisek
  • Test with PHP 8.1 (#324) @mvorisek
  • Relativize paths in anonymous classes in exception render (#327) @mvorisek
  • Fix spaces before/after "=>" in comments (#325) @mvorisek
  • Bump versions for the next release (#319) @mvorisek

Breaking Changes

  • Throw on bad/already deprecated seed (#326) @mvorisek
  • Rename AtkPhpunit NS and zero memory leaks testing (#323) @mvorisek
3.0.0

Breaking Changes

  • Drop PHP v7.3 support and upgrade CS Fixer to v3 (#278) @mvorisek

Other Changes

  • Upgrade phpstan to level 6 (#318) @mvorisek
  • Use FQ native constant invocation (#307) @mvorisek
  • Upgrade phpstan to level 5 (#317) @mvorisek
  • Fix desired name from anonymous class to be stable across requests (#314) @mvorisek
2.4.1
2.4.0

What’s Changed

  • Update release builder (#283) @DarkSide666
  • Release drafter to detect labels (#250) @romaninsh
  • Use native PHP 8.1 array_is_list() func (#309) @mvorisek
  • Change visibility of method assertInstanceOfApp (#305) @abbadon1334
  • Improve shorten func, prevent collisions (#301) @mvorisek

Breaking Changes

  • Remove trait identification property (#227) @mvorisek
2.3.5

FC for NS case update II.

2.3.2

FC for NS case update

2.3.1

Fix versioning

2.2.1

Fix dependencies and versioning

2.3.0

We are changing $o->app and $o->owner references to getApp() / getOwner(). In 2.3 release this is backward compatible, so you can slowly refactor your code while being on the 2.3 branch. In version 2.4 access to properties "app" and "owner" will be removed.

What’s Changed

  • Move "app" and "owner" props to getter/setter (#277) @mvorisek
  • Add smoke and burn CI testing (#276) @mvorisek
  • Make hook check less strict - check only for the same class name (#275) @mvorisek
  • fix test for PHP8 - "class not found" text has changed (#274) @mvorisek
  • Hook closure must be unbound or bound to the this when cloning (#272) @mvorisek
  • Norm phpunit config and CS config (#273) @mvorisek
  • Improve readability of code for hook dispatch (#271) @mvorisek
  • Simplify init visibility assertion (#270) @mvorisek
  • Protected init (#265) @mvorisek
  • Use is_int for numeric array keys detection (#267) @mvorisek
  • Use/support only Closures instead of callables (#266) @mvorisek
  • Remove recursive from Factory::_mergeSeeds() (#263) @mvorisek
  • Fix escaped new lines in exception renderer when allowed (#264) @mvorisek
2.2.0

What’s Changed

  • Fix composer develop install issues (#231) @mvorisek
  • Unify html exception renderer design + dump exception params in phpunit (#261) @mvorisek
  • Fix TestCase::callProtected for magic calls (#262) @mvorisek
  • Update CS for PHP 7.3 (#260) @mvorisek
  • Fix test filename case (#259) @mvorisek
  • Fix PSR class/trait/method naming (#258) @mvorisek
  • Fix TestCase protected helpers to support return by reference (#257) @mvorisek
2.1.1
2.1.0

Breaking Changes

  • Do not normalize "/" in class names (#211) @mvorisek

What’s Changed

  • Clone without reference variable (#209) @mvorisek
  • Require closures for callbacks (#196) @mvorisek
  • Fix - do not read/set name property if there is no NameTrait (#210) @mvorisek
  • Generate better names for dyn. methods hooks (#207) @mvorisek
  • Ignore also the 1st call of exception constructor in trace (#208) @mvorisek
  • Use MB functions (#199) @DarkSide666
  • Unify PHP config - always require return (#198) @mvorisek
  • Callable should be supported only for dynamic default value (#195) @mvorisek
  • Allow to detect/obtain breaker from hook dispatcher (#187) @mvorisek
  • ConfigTrait - Fix format unknown not throwing exception (#191) @abbadon1334
  • Skip trace from nested exception constructors (#188) @mvorisek
  • Update CS - require strict types (#184) @mvorisek
  • Sort numerical keys in mergeSeeds (#182) @mvorisek
  • Fix factory with (wrong) array class name seed (#181) @mvorisek
  • Normalize this repo from others (#178) @mvorisek
  • avoid using data classes (#179) @DarkSide666
  • Normalize Unit Testing workflow across repos (#175) @mvorisek
  • Append missing slash to locale directory (#174) @mvorisek
  • Add polyfill for PHP < 7.3 for array_key_first/last (#172) @mvorisek
  • Ignore type for phpunit 5.x compatibility (#171) @mvorisek
  • Simplify access to protected variables and methods (#170) @mvorisek
  • Remove assert true = true (#169) @mvorisek
  • Improve assertions counter (#168) @mvorisek
  • Fix typo for phpunit 5.x (#166) @mvorisek
  • Remove "codeclimate/php-test-reporter" used for Travis (#167) @mvorisek
  • Fix ResultPrinter class compatibility with phpunit < 6.0 (#165) @mvorisek
  • Fix polyfill for phpunit >= 5.4 < 6.0 (#164) @mvorisek
  • More phpunit polyfill (#163) @mvorisek
  • Atk4 phpunit polyfill for phpunit < 7.0 (#162) @mvorisek
  • Fix "driver" to "driver type" change (#160) @mvorisek
  • Remove vim comment (#161) @mvorisek
  • Unify test method header (#159) @mvorisek
  • Modernize coding style (#157) @mvorisek
  • Move types to code if possible (#156) @mvorisek
  • Allow symfony/yaml 5.0 (#158) @mvorisek
  • Remove old Travis files (#155) @mvorisek
  • Remove custom alias/name for exception class (#153) @mvorisek
  • Shorten exception trace (#152) @mvorisek
  • Use static instead of self like in other files (#151) @mvorisek
2.0.2

What’s Changed

  • Align exception header properly (#148) @mvorisek
  • Fix CS - do not import classes without namespace (#147) @mvorisek
  • Add injection of solutions in Exception constructor (#119) @abbadon1334
  • Improve hooks and allow to delete/check specific priority (#133) @mvorisek
  • Require class name in seed for addToWithClassName methods (#144) @mvorisek
  • Add skip_add param to StaticAddToTrait trait methods (#143) @mvorisek
  • Do not wrap exception message in array (#141) @mvorisek
  • Improve StaticAddTo tests and add unsafe method for BC UI impl. (#140) @mvorisek
  • Do not fail-fast PHP test matrix (#136) @mvorisek
  • Fix EOL to NL (#132) @mvorisek
  • Rename HEAD to develop for Composer in unit tests (#135) @mvorisek
  • setLayout -> initLayout (#130) @DarkSide666
  • avoid code duplication (#128) @georgehristov
  • Move doc builder instructions into Docker (#125) @romaninsh
  • hook $this by default (#126) @georgehristov
  • [REFACTOR] rename addHook to onHook with argument naming consistency (#124) @georgehristov
  • Add POC for "CRUD::addTo($app)" syntax (#123) @romaninsh
2.0.1

What’s Changed

  • Configuration Elements cannot be replaced (#117) @bepixeld
  • Clean up badges in README file (#116) @romaninsh
2.0.0

What’s Changed

1.3.10
1.3.9

Added support for PHPUnit 7+

1.3.8

Merged pull requests:

1.3.7

Merged pull requests:

1.3.6

Fixed Injecting "null" argument into constructor fails #74

1.3.5
1.3.4
  • Removed special treatment for array property merging #67
1.3.1
  • Added implementation for seed mering
  • Fix the way how setDefaults treats numeric arguments #63
1.3.0

This release refactors FactoryTrait in a way that may not be backwards compatible, so upgrade with care.

1.2.2
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky