“”

PSbits | Foundation PSbits | Foundation

psb_foundation / stable

Configuration framework for TYPO3 extension development

This version supports TYPO3

Older versions also support TYPO3

Composer support

composer req psb/psb-foundation

Tags

#Extbase #Framework #extension #development

Last upload comment

[FEATURE] Support TCA type group with more than one allowed table in extbase models (use resolveMmRelationWithDifferentTables in getter).
[FEATURE] New TcaService method (convertTableNameToClassNames) looks up domain model class names connected to a given table.
[FEATURE] Add helper method to apply an arbitrary number of constraints to a query in a clean way.
[BUGFIX] Original TCA was overwritten by extending classes even for those properties that weren't overridden.
[BUGFIX] convertString converts version numbers to float.

Downloads by month

Download 2.2.3 External Manual Found an Issue? Code Insights Packagist.org Donate and Give Kudos
Author
Daniel Ablass
Last update
29. Jul 2024
First upload
07. Apr 2022
Downloads
3,098
Category
Miscellaneous
Dependencies
  • PHP (>= 8.1.0)
  • TYPO3 (12.4.0 - 12.4.99)

Installation

  1. Download ZIP file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the ZIP file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.
  1. Go to your folder where the root composer.json file is located
  2. Type: composer req psb/psb-foundation to get the latest version that runs on your TYPO3 version.
  1. Download T3X file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the T3X file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.

Other extensions by this user (2)

PSbits | ViewHelpers PSbits | ViewHelpers
(psb_view_helpers)

Collection of useful ViewHelpers

Supported TYPO3 versions:
PSbits | Debug
(psb_debug)

a collection of debugging tools

Supported TYPO3 versions:

Version history

Version Upload comment Works with TYPO3 Download
2.2.3 / stable
July 29, 2024
[FEATURE] Support TCA type group with more than one allowed table in extbase models (use resolveMmRelationWithDifferentTables in getter).
[FEATURE] New TcaService method (convertTableNameToClassNames) looks up domain model class names connected to a given table.
[FEATURE] Add helper method to apply an arbitrary number of constraints to a query in a clean way.
[BUGFIX] Original TCA was overwritten by extending classes even for those properties that weren't overridden.
[BUGFIX] convertString converts version numbers to float.
12.4.0 - 12.4.99 Download
2.2.2 / stable
June 25, 2024
[BUGFIX] Add missing property maxSize to file upload configuration.
[BUGFIX] Aggregation of file upload configuration was incorrect.
[BUGFIX] Initialize types in TCA so fields can be added to them.
[BUGFIX] Prevent logging of strings which are no label identifiers.
[BUGFIX] Use request interface as argument type instead of its implementation.
12.4.0 - 12.4.99 Download
2.2.1 / stable
April 05, 2024
[FEATURE] Add file locking utilities.

[TASK] Optimize code.
[TASK] Set version to 2.2.1.
[TASK] Update manual.

[BUGFIX] Avoid race condition while checking log files.
[BUGFIX] Overriding of ctrl properties failed if property name did not match original TCA key.
12.4.0 - 12.4.99 Download
2.2.0 / stable
March 08, 2024
[FEATURE] Add logging for language label usage.
[FEATURE] Add module for displaying evaluated log data of language labels.
[FEATURE] Replace LocalizationService with new LocalizationUtility. LocalizationService is still available for compatibility reasons!
[TASK] Apply CGL rules.
[TASK] Deprecate LocalizationService.
[TASK] Improve display of log data in locallang module.
[TASK] Improve performance of LocalizationService/LocalizationUtility.
[TASK] Remove redundant PHPDoc comments.
[TASK] Set version to 2.2.0.
[BUGFIX] Placeholders in localized strings were replaced in ViewHelper context only.
12.4.0 - 12.4.99 Download
2.1.2 / stable
February 21, 2024
[TASK] Set version to 2.1.2.
[BUGFIX] Additional fix for file path issues with language files.
12.4.0 - 12.4.99 Download
2.1.1 / stable
February 08, 2024
[BUGFIX] Fix creation of file references.
[BUGFIX] Fix deprecated TCA structure of default select item.
[BUGFIX] Fix file path issues for language files.
[BUGFIX] Use correct method to override ViewHelper argument.
12.4.0 - 12.4.99 Download
2.1.0 / stable
January 24, 2024
[FEATURE] Add query utilities to process large amounts of records in chunks to avoid memory exhaustion.
[FEATURE] FileUtility::resolveFileName() resolves relative paths without 'EXT:'-syntax, too.
[FEATURE] Support additional arguments (strict, fallback) for all GlobalVariable-ViewHelpers.
12.4.0 - 12.4.99 Download
2.0.0 / stable
October 20, 2023
PSB Foundation 2.0
==================

When I started this project, I promised that TYPO3 upgrades will become easier because the abstraction layer this
extension offers will remain and all core changes will be tackled under the hood so that you won't have to worry.
Guess what: As the developers of TYPO3 introduced a lot of interesting (but also breaking) changes in v12.0 (which I love!) - and with php 8.1
at hand - I decided to go for a big refactoring. Sorry for that! But I hope that you will love the new structure and
features. Version 1 won't be supported anymore. The following list will guide you through all necessary steps.
I will try to support two major versions in the future.
Thank you for using psb_foundation! ❤

See https://github.com/phantasie-schmiede/psb-foundation/blob/2.0.0/CHANGELOG.md for upgrading from v1 to v2!

Minimum requirements
------------
- php version: 8.1
- TYPO3 version: 12.4

New features
------------

- Auto-generation of database definitions
- Service for file uploads in frontend
- uploads files and creates references to a given domain model record
- configurable via TCA
- Attributes for new TCA types introduced in v12
- More properties and getters for TCA attributes
- Auto-registration of description in TCA if appropriate language label exists
- Support of plural forms in language files
- Support of convenient placeholders in language files
- New attribute for TranslateViewHelper
- excludedLanguages: matching language keys will return null (bypasses fallbacks)
- New helper functions to FileUtility
- `getMimeType()` // based on finfo
- `resolveFileName()` // resolves `EXT:`, but leaves invalid paths untouched (in contrast to `GeneralUtility::getFileAbsFileName()`)
- `write()` // wrapper for file_put_contents which creates the file if it does not exist (including directories) and assures correct access rights
- Fallbacks for GlobalVariableService::get()
- The method no longer throws an exception if a path does not exist and strict mode is set to false.
- The fallback value can be overridden.

12.4.0 - 12.4.99 Download
1.2.4 / stable
January 09, 2023
Bugfix issue 6 (#8)

* [TASK] Set version to 1.2.4.
* [BUGFIX] Avoid double processing of translate arguments. vsprintf must not be executed if the translate function of extbase already returned a value other than null (which means that the translate arguments were already applied to the string via sprintf).
11.5.5 - 11.5.99 Download
1.2.3 / stable
October 14, 2022
[TASK] Set version to 1.2.3.
[BUGFIX] Apply translation arguments only when a translation exists.
[BUGFIX] Fix "undefined array key" in TypoScript condition for page types.
[BUGFIX] Fix "undefined array key" when checking if TypoScript is available in contexts other than Frontend.
[BUGFIX] Load general EarlyAccessConstants also when there is a context specific file.
11.5.5 - 11.5.99 Download
1.2.2 / stable
September 29, 2022
[TASK] Set version to 1.2.2.
[BUGFIX] Add default value if array key "allowTableOnStandardPages" is not set. (thanks to web-it-solutions)
11.5.5 - 11.5.99 Download
1.2.1 / stable
August 30, 2022
Compatibility release

[TASK] Add PHP 8 to compatibility information.
[TASK] Set version to 1.2.1.
11.5.5 - 11.5.99 Download
1.2.0 / stable
June 17, 2022
[TASK] Set version to 1.2.0.
11.5.5 - 11.5.99 Download
1.1.0 / stable
June 10, 2022
[FEATURE] Allow linebreaks for long string values in annotations (e.g. foreignTableWhere).
[TASK] Convert space indentations to tabs in XLF-files.
[TASK] Set version to 1.1.0.
[TASK] Use .editorconfig from typo3 project.
11.5.5 - 11.5.99 Download
1.0.2 / stable
June 06, 2022
[TASK] Add automatic deployment to TER.
[TASK] Change TSconfig directories to match the official CGL.
[TASK] Fix typo in README.md
[TASK] Fix wrong language file paths in README.md.
[TASK] Improve execution of unit tests.
[TASK] Set version to 1.0.2.
[TASK] Update manual.
[TASK] Use OpCode variants of native php functions.
[BUGFIX] Take application context into account in TypoScriptUtilityTest.
11.5.5 - 11.5.99 Download
1.0.1 / stable
April 19, 2022
[BUGFIX] ContextUtility crashed in CLI mode.
[BUGFIX] foreign_field may be empty now for TCA-type "inline".
11.5.5 - 11.5.99 Download
1.0.0 / stable
April 07, 2022
This is the first release of PSB Foundation. See the README.md for details.
11.5.5 - 11.5.99 Download