teknoo / east-website
Universal package, following the #East programming philosophy, build on Teknoo/East-Foundation (and Teknoo/Recipe), and implementing a basic CMS to display dynamics pages with different types and templates.
Requires
- php: ^8.4
- ext-json: *
- php-di/php-di: ^7.1.1
- teknoo/east-common: ^4.6.1
- teknoo/east-foundation: ^9.2.4
- teknoo/east-translation: ^2.1
- teknoo/immutable: ^3.0.22
- teknoo/recipe: ^7.3
- teknoo/states: ^7.1.11
Requires (Dev)
- ext-mongodb: *
- ext-simplexml: *
- behat/behat: ^4.0
- behat/phpunit-assertions-extension: ^1.0
- doctrine/common: ^3.5
- doctrine/mongodb-odm: ^2.16.1
- doctrine/mongodb-odm-bundle: ^5.6
- doctrine/persistence: ^4.1.1
- guzzlehttp/guzzle: ^7.15.1||^8
- knpuniversity/oauth2-client-bundle: ^2.20.1
- laminas/laminas-diactoros: ^3.8
- league/oauth2-client: ^2.9
- league/uri: ^7.8
- masterminds/html5: ^2.7.5
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan: ^2.2.2
- phpunit/phpunit: ^13
- psr/cache: ^3
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^4.0.1
- symfony/cache: ^6.4.24||^7.4||^8.1
- symfony/cache-contracts: ^3.6
- symfony/clock: ^6.4.24||^7.4||^8.1
- symfony/config: ^6.4.24||^7.4||^8.1
- symfony/console: ^6.4.24||^7.4||^8.1
- symfony/dependency-injection: ^6.4.24||^7.4||^8.1
- symfony/error-handler: ^6.4.24||^7.4||^8.1
- symfony/event-dispatcher: ^6.4.24||^7.4||^8.1
- symfony/event-dispatcher-contracts: ^3.6
- symfony/filesystem: ^6.4.24||^7.4||^8.1
- symfony/finder: ^6.4.24||^7.4||^8.1
- symfony/form: ^6.4.24||^7.4||^8.1
- symfony/framework-bundle: ^6.4.24||^7.4||^8.1
- symfony/html-sanitizer: ^6.4.24||^7.4||^8.1
- symfony/http-kernel: ^6.4.24||^7.4||^8.1
- symfony/options-resolver: ^6.4.24||^7.4||^8.1
- symfony/password-hasher: ^6.4.24||^7.4||^8.1
- symfony/polyfill-intl-icu: ^1.30
- symfony/polyfill-php83: ^1.30
- symfony/property-access: ^6.4.24||^7.4||^8.1
- symfony/property-info: ^6.4.24||^7.4||^8.1
- symfony/psr-http-message-bridge: ^6.4.24||^7.4||^8.1
- symfony/routing: ^6.4.24||^7.4||^8.1
- symfony/security-bundle: ^6.4.24||^7.4||^8.1
- symfony/security-core: ^6.4.24||^7.4||^8.1
- symfony/security-csrf: ^6.4.24||^7.4||^8.1
- symfony/security-http: ^6.4.24||^7.4||^8.1
- symfony/serializer: ^6.4.24||^7.4||^8.1
- symfony/string: ^6.4.24||^7.4||^8.1
- symfony/translation: ^6.4.24||^7.4||^8.1
- symfony/translation-contracts: ^3.6.1
- symfony/twig-bridge: ^7.4||^8.1
- symfony/twig-bundle: ^7.4||^8.1
- symfony/uid: ^6.4.24||^7.4||^8.1
- symfony/validator: ^6.4.24||^7.4||^8.1
- symfony/var-dumper: ^6.4.24||^7.4||^8.1
- symfony/var-exporter: ^6.4.24||^7.4||^8.1
- symfony/yaml: ^6.4.24||^7.4||^8.1
- teknoo/bridge-phpdi-symfony: ^7.1.2
- twig/twig: ^3.23
Suggests
- symfony/serializer: Required to use the JSON API (with `framework.serializer.enabled: true`).
- symfony/twig-bundle: Required to use the JSON API and its templates.
Provides
None
Conflicts
- doctrine/persistence: <3.0
Replaces
None
- dev-master
- 11.4.0
- 11.3.0
- 11.2.0
- 11.1.2
- 11.1.1
- 11.1.0
- 11.0.1
- 11.0.0
- 10.1.4
- 10.1.3
- 10.1.2
- 10.1.1
- 10.1.0
- 10.0.6
- 10.0.5
- 10.0.4
- 10.0.3
- 10.0.2
- 10.0.1
- 10.0.0
- 9.2.5
- 9.2.4
- 9.2.3
- 9.2.2
- 9.2.1
- 9.2.0
- 9.1.12
- 9.1.11
- 9.1.10
- 9.1.9
- 9.1.8
- 9.1.7
- 9.1.6
- 9.1.5
- 9.1.4
- 9.1.3
- 9.1.2
- 9.1.1
- 9.1.0
- 9.0.3
- 9.0.2
- 9.0.1
- 9.0.0
- 8.6.5
- 8.6.4
- 8.6.3
- 8.6.2
- 8.6.1
- 8.6.0
- 8.5.1
- 8.5.0
- 8.4.3
- 8.4.2
- 8.4.1
- 8.4.0
- 8.3.6
- 8.3.5
- 8.3.4
- 8.3.3
- 8.3.2
- 8.3.1
- 8.3.0
- 8.2.0
- 8.1.1
- 8.1.0
- 8.0.7
- 8.0.6
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 8.0.0-beta1
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- 7.0.0-beta5
- 7.0.0-beta4
- 7.0.0-beta3
- 7.0.0-beta2
- 7.0.0-beta1
- 6.1.10
- 6.1.9
- 6.1.7
- 6.1.6
- 6.1.5
- 6.1.4
- 6.1.3
- 6.1.1
- 6.1.0
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 6.0.0-rc1
- 6.0.0-beta8
- 6.0.0-beta7
- 6.0.0-beta6
- 6.0.0-beta5
- 6.0.0-beta4
- 6.0.0-beta3
- 6.0.0-beta1
- 5.1.5
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.2.5
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta4
- 3.0.0-beta3
- 3.0.0-beta2
- 3.0.0-beta1
- 2.1.2
- 2.1.1
- 2.1.0
- 2.1.0-beta6
- 2.1.0-beta5
- 2.1.0-beta4
- 2.1.0-beta3
- 2.1.0-beta2
- 2.1.0-beta1
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta7
- 2.0.0-beta6
- 2.0.0-beta5
- 2.0.0-beta4
- 2.0.0-beta3
- 2.0.0-beta2
- 2.0.0-beta1
- 1.0.2
- 1.0.1
- 1.0.0
- 0.0.15
- 0.0.14
- 0.0.13
- 0.0.12
- 0.0.11
- 0.0.10
- 0.0.9
- 0.0.8
- 0.0.7
- 0.0.7-beta3
- 0.0.7-beta2
- 0.0.7-beta1
- 0.0.6
- 0.0.6-beta4
- 0.0.6-beta3
- 0.0.6-beta2
- 0.0.6-beta1
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- 0.0.1-beta8
- 0.0.1-beta7
- 0.0.1-beta6
- 0.0.1-beta5
- 0.0.1-beta4
- 0.0.1-beta3
- 0.0.1-beta2
- 0.0.1-beta1
- dev-release/v11
- dev-feature/env
- dev-feature/api-client-cli
- dev-release/v10
This package is auto-updated.
Last update: 2026-10-08 08:35:14 UTC
README
Universal package, following the #East programming philosophy, build on Teknoo/East-Foundation (and Teknoo/Recipe), and implementing a basic CMS to display dynamics pages with different types and templates.
Example with Symfony
//These operations are not reauired with teknoo/east-website-symfony
//config/packages/east_website_di.yaml:
di_bridge:
definitions:
- '%kernel.project_dir%/vendor/teknoo/east-website/src/di.php'
- '%kernel.project_dir%/vendor/teknoo/east-website/infrastructures/doctrine/di.php'
//bundles.php
...
Teknoo\East\WebsiteBundle\TeknooEastWebsiteBundle::class => ['all' => true],
//In doctrine config (east_website_doctrine_mongodb.yaml)
doctrine_mongodb:
document_managers:
default:
auto_mapping: true
mappings:
TeknooEastCommon:
type: 'xml'
dir: '%kernel.project_dir%/vendor/teknoo/east-common/infrastructures/doctrine/config/universal'
is_bundle: false
prefix: 'Teknoo\East\Common\Object'
TeknooEastWebsite:
type: 'xml'
dir: '%kernel.project_dir%/vendor/teknoo/east-website/infrastructures/doctrine/config/universal'
is_bundle: false
prefix: 'Teknoo\East\Website\Object'
TeknooEastWebsiteDoctrine:
type: 'xml'
dir: '%kernel.project_dir%/vendor/teknoo/east-website/infrastructures/doctrine/config/doctrine'
is_bundle: false
prefix: 'Teknoo\East\Website\Doctrine\Object'
//In security.yaml
security:
providers:
with_password:
id: 'Teknoo\East\CommonBundle\Provider\PasswordAuthenticatedUserProvider'
password_hashers:
Teknoo\East\CommonBundle\Object\PasswordAuthenticatedUser:
algorithm: '%teknoo.east.common.bundle.password_authenticated_user_provider.default_algo%'
//In routes/website.yaml
admin_website:
resource: '@TeknooEastWebsiteBundle/config/admin_routing.yaml'
prefix: '/admin'
admin_common:
resource: '@TeknooEastCommonBundle/config/admin_routing.yaml'
prefix: '/admin'
website:
resource: '@TeknooEastWebsiteBundle/config/routing.yaml'
Environments
Contents, posts and items belong to an environment of the website, to prepare new versions of the pages, menus and
posts on the same instance, visible only when their environment is selected. The root environment is default,
always available, without parent. Other environments are declared in the DI (a PHP-DI value or a Symfony parameter,
each environment has exactly one parent):
//In config/services.yaml
parameters:
teknoo.east.website.definitions.environments:
validation: 'default'
testing: 'default'
test-a: 'testing'
//Optional, environments absent from this list are public, `default` is always public
teknoo.east.website.definitions.environments_access:
testing: ['ROLE_TESTER', 'ROLE_ADMIN']
test-a: ['ROLE_TESTER']
The service teknoo.east.website.environments (Teknoo\East\Website\Object\Environments, iterable and read only)
lists all defined environments, indexed by name, with default. The admin forms of contents, posts and items have a
dropdown environment (the JSON API accepts and returns the name under the key environment, groups api and crud).
On the front, a visitor selects an environment with the request parameter website-env (POST or GET); the choice
is stored into the session (East Foundation session, key website-env) and reused by the next requests. The chain of
the selected environment (itself and its ancestors until default) is the only one visible: with test-a, the
contents of test-a, testing and default are served, those of validation are not. The front queries, the lists
of posts and tags, and the menu generator (items linked to a content out of the chain are skipped) are filtered.
- An unknown environment, or an environment restricted to roles the current user (an East Common
UserInterface) does not own, is an error 404, the session is not changed. - A value in session that is no longer valid is removed from the session, and the default environment is used.
- Slugs stay unique for the whole website: an environment is a visibility scope, not a copy of a page per environment.
The environment is stored as a string in MongoDB (custom ODM type environment, registered by the Symfony bundle
when the Doctrine MongoDB bundle is enabled, or by infrastructures/doctrine/di.php with a plain PHP-DI container).
Documents created before this feature, without the field, belong to the default environment: no migration is needed.
The selected environment is available to the steps as the ingredient Teknoo\East\Website\Object\Environment
(and environment), and to the views in the parameters bag (environment, and a menuGenerator scoped to it).
JSON API
East Website ships routes for a JSON API. They reuse the same endpoints as the HTML routes, only the parameters
change (api: 'json', JSON templates, HTTP methods). The admin API covers items, contents, posts, comments, types,
tags, users and media. The public API covers contents, posts, lists of posts, and posting comments.
Requirements: symfony/serializer (with framework.serializer.enabled: true), symfony/twig-bundle 7.3+, and the
EastFoundationBundle (which registers the East normalizer). Like in Space, the CSRF protection must be enabled for the
application's forms (framework.csrf_protection): East Common disables it on forms of API routes.
//In routes/website_api.yaml, API routes must be imported BEFORE `routing.yaml` (its route `/{slug}` catches
//all paths)
api_admin_website:
resource: '@TeknooEastWebsiteBundle/config/api_admin_routing.yaml'
prefix: '/api/v1/admin'
api_admin_website_blog:
resource: '@TeknooEastWebsiteBundle/config/api_admin_routing_blog.yaml'
prefix: '/api/v1/admin'
api_website:
resource: '@TeknooEastWebsiteBundle/config/api_routing.yaml'
prefix: '/api/v1'
api_website_blog:
resource: '@TeknooEastWebsiteBundle/config/api_routing_blog.yaml'
prefix: '/api/v1'
api_website_blog_comment:
resource: '@TeknooEastWebsiteBundle/config/api_routing_blog_comment.yaml'
prefix: '/api/v1'
Admin routes follow the pattern (for item, content, post, type, tag, user and media):
POST|PUT /<element>/new: creates an element, the client is redirected to the element.GET|POST|PUT /<element>/{id}: returns or updates an element (media can only be read).GET /<element>s(/mediafor media): lists elements, with the query parameterspage,orderanddirection.POST|DELETE /<element>/{id}/delete: deletes an element, the deleted element is returned.- Comments of posts:
GET /post/{postId}/comments,GET|POST|PUT /post/{postId}/comment/{id}(moderation) andPOST|DELETE /post/{postId}/comment/{id}/delete.
Public routes are GET /content/{slug} (the home page is /content/default), GET /post/{slug}, GET /posts,
GET /posts/by/{tag} and POST|PUT /post/{slug}/comment.
Bodies can be sent as JSON (with the header Content-Type: application/json, without the form's name, and only sent
fields are updated) or urlencoded/multipart (fields under the form's name, like tag[name]). Media are uploaded with a
multipart body. The key publish in a body publishes a content or a post.
Responses use the envelope {"meta": {...}, "data": ...}:
- an element:
metacontains itsidand its class, - a list:
metacontainstotalPages,pageandcount, - invalid forms: status 400,
{"meta": {"errors": true}, "data": {".field": "message"}}when the root form has errors (including errors bubbled from its fields), else the element is returned with the status 400 (like in Space), - errors:
{"meta": {"error": true}, "data": {"code": 404, "message": "..."}}.
Objects are normalized according to groups: api (admin lists), crud (admin elements), digest (deleted
elements) and public (public API: parts are sanitized, and the author's email, the template and the remote IP of
comments are never exported). JSON templates are in @TeknooEastWebsite/api/ and can be overridden in
templates/bundles/TeknooEastWebsiteBundle/api/.
Security warning: the admin API is shipped without authentication and CSRF protection is disabled in API mode.
Applications must protect ^/api/v1/admin with a stateless authentication (like a JWT), never with a session cookie.
Applications should also rate-limit the public comment endpoint.
CLI client
Experimental: a command line client of this API lives in tools/api-client/. It is
provided as an experimental tool: its commands, its options and its configuration file may change at any time, outside
of the semantic versioning of the library.
It is a Symfony Console application, distributed as a phar (make tools-phar), exposing every function of the API
grouped by domain (website:type:create, website:post:list, website:front:post:get...). website:auth:login logs
in with a username and an API key, gets a JWT and writes the configuration file ./east-website.json, read by all the
other commands (website:auth:logout deletes it). It prints JSON on stdout and errors on stderr with stable exit codes,
so it can be used by scripts and AI agents. See tools/api-client/README.md.
Support this project
This project is free and will remain free. It is fully supported by commercial activities of SASU Teknoo Software and EIRL Richard DELOGE. If you like it and help me maintain it and evolve it, don't hesitate to support me on Patreon or Github.
Thanks :) Richard.
Credits
EIRL Richard Déloge - https://deloge.io - Lead developer. SASU Teknoo Software - https://teknoo.software
About Teknoo Software
Teknoo Software is a PHP software editor, founded by Richard Déloge, as part of EIRL Richard Déloge. Teknoo Software's goals : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills.
License
East Website is licensed under the 3-Clause BSD License - see the licenses folder for details.
Installation & Requirements
To install this library with composer, run this command :
composer require teknoo/east-website
To start a project with Symfony :
symfony new your_project_name new
composer require teknoo/east-website-symfony
This library requires :
* PHP 8.1+
* A PHP autoloader (Composer is recommended)
* Teknoo/Immutable.
* Teknoo/States.
* Teknoo/Recipe.
* Teknoo/East-Foundation.
* Optional: Symfony 6.3+ (for administration)
News from Teknoo Website 9.x
This library requires PHP 8.1 or newer and it's only compatible with Symfony 6.3 or newer.
- Support last version of PHP DI 7 et Diactoros 3
- Automatic cleaning of rendered HTML thanks to tidy
News from Teknoo Website 8.x
This library requires PHP 8.1 or newer and it's only compatible with Symfony 6.2 or newer.
- Users and Media are migrated to East Common
- Dynamic texts can be sanitized thanks to Symfony Sanitizer (if you use Symfony Form)
- You can persists directly sanitized contents
- Add helpers to fetch directly these sanitized contents
- Add
ReadOnlyArrayto simulate a read only array' - Optimization of Menu Generator
News from Teknoo Website 7.x
This library requires PHP 8.1 or newer and it's only compatible with Symfony 6.0 or newer.
- Support Recipe 4.1.1+
- Support East Foundation 6.0.1+
- Public constant are final
- Block's types are Enums
- Direction are Enums
- Use readonly properties behaviors on Immutables
- Remove support of deprecated features removed in
Symfony 6.0(Salt,LegacyUser) - Use
(...)notation instead array notation for callable - Enable fiber support in front endpoint
QueryInterfacehas been splitted toQueryElementInterfaceandQueryCollectionInterfaceto differentiate queries fetching only one element, or a scalar value, and queries for collections of objects.LoaderInterface::querymethod is only dedicated forQueryCollectionInterfacequeries.- a new method
LoaderInterface::fetchis dedicated forQueryElementInterfacequeries.
- Warning * : All legacy user are not supported from this version. User's salt are also not supported, all users' passwords must be converted before switching to this version.
News from Teknoo Website 6.x
This library requires PHP 8.0 or newer and it's only compatible with Symfony 5.3 or newer
- Add
UserInterfaceto represent and User in a Eastt Website / WebApp. - Add
AuthDataInterfaceto represent any data/credentials, able to authenticate an user - Update
Userclass to following the previeous interface - Split authentications data from
Userclass to a dedicated classStoredPassword - Support password already hashed into
StoredPassword - Update Doctrine ODM mappingg about
Userans addStoredPassword - Support third-party authentication.
- Add
ThirdPartyAuthto store ids data from thrid party needed to authenticate an user. - Add
AbstractPassordAuthUserto wrap password logic in Symfony User forLegacyUserandPasswordAuthenticatedUser. AbstractUsercan be also used for non password authenticated user.- Create
PasswordAuthenticatedUserto implements new Symfony's interfacePasswordAuthenticatedUserInterface - Update
SymfonyUserWriterimplementation in Symfony to hash password only when its needed. - Rework
UserProvidertoPasswordAuthenticatedUserProviderto return aLegacyUserif the user use the legacy Symfony behavior with a slug or aPasswordAuthenticatedUser. It is able to migrate logged user to the new behavior, update the hashed ppassword passed by Symfony and remove salt. - Some QA fixes on PHPDoc
- Remove deprecated
ViewParameterInterface - Remove deprecated Symfony
Userclass - Create
StoredPasswordTypeto manage new user in a Symfony Form. - Fix some bug in admin routes.
- Update annd fix some minor bug in Doctrinemapping
- Create
OAuth2Authenticator, built on KNPU OAuth2 client bundle to authenticate user thanks to a OAuth2 provider.
News from Teknoo Website 5.x
This library requires PHP 8.0 or newer and it's only compatible with Symfony 5.2 or newer
- Migrate to PHP 8.0
- Writers services, Deleting services, and interfaces use also
Teknoo\East\Common\Contracts\Object\ObjectInterface. - Create
Teknoo\East\Common\Contracts\Object\ObjectInterface,Teknoo\East\Common\Contracts\Object\IdentifiedObjectInterfaceextends it dedicated to non persisted object, manipulable by other components - Update steps and forms interface to use this new interface
- Replace ServerRequestInterface to MessageInterface for ListObjectAccessControlInterface and ObjectAccessControlInterface
- Switch Render steps to MessageInterface
- Add
ExprConversionTrait::addExprMappingConversionto allow your custom evaluation of expression - Add
ObjectReferenceexpression to filter on reference - CreateObject step has a new parameter
$workPlanKeyto custom the key to use to store the new object in the workplan - CreateObject, DeleteObject, LoadObject, SaveObject and SlugPreparation use
Teknoo\East\Common\Contracts\Object\ObjectInterfaceinsteadTeknoo\East\Common\Contracts\Object\IdentifiedObjectInterface. SaveObject pass the id only if the object implements this last object
News from Teknoo Website 4.x
This library requires PHP 7.4 or newer and it's only compatible with Symfony 4.4 or newer
- Migrate to Recipe 2.3+ and Tekno 3.3
- Migrate all classics services endpoints to Plan and Recipe.
- Remove all traits in main namespace with implementation in infrastructures namespaces.
- All plans and recipes, and majors of step are defined in the main namespace, only specialized steps are defined in infrastructures namespace.
- Remove AdminEditEndPoint, AdminListEndPoint, AdminNewEndPoint, ContentEndPointTrait and MediaEndPointTrait.
- Update Symfony configuration to manage this new architecture. Remove all services dedicated for each objects in Website, replaced by only agnostic endpoint. All configuration is pass in route.
News from Teknoo Website 3.x
This library requires PHP 7.4 or newer and it's only compatible with Symfony 4.4 or newer
- Migrate to Doctrine ODM 2
- Migrate to new GridFS Repository
- Migrate Gedmo's Timestamp to intern function and service
- Migrate Gedmo's Slug to intern function and service
- Migrate to Doctrine XML Mapping
- Reworking Translation : Fork Gedmo Translation, clean, simplify, rework, in East philosophy
- Remove Gedmo
- Create new Translation configuration
- Pagination Query support countable
- ContentType and ItemType are not hardcoded to use DocumentType, but a Type passed in options via the EndPoint
- Optimize menu to limit requests
- Expr In Agnostic support
- Change Doctrine Repository behavior to create classes dedicated to ODM
- Create Common repository for non ODM with fallback feature
- Autoselect Good Repository in DI
- Migrate MediaEndPoint into ODM namespace
- Add ProxyDetectorInterface and a snippet into DI to detect if an object is behind a proxy agnosticaly
- Require to East Foundation 3.0.0
- Fix errors in services definitions
- Change exception management into MediaEndPoint
News from Teknoo Website 2.x
This library requires PHP 7.4 or newer and it's only compatible with Symfony 4.4 or newer, Some change causes bc breaks :
- PHP 7.4 is the minimum required
- Replace array_merge by "..." operators
- Remove some PHP useless DockBlocks
- Switch to typed properties
- Most methods have been updated to include type hints where applicable. Please check your extension points to make sure the function signatures are correct. _ All files use strict typing. Please make sure to not rely on type coercion.
- Set default values for Objects.
- Set dependencies defined into PHP-DI used in Symfony as synthetic services into Symfony's services definitions to avoid compilation error with Symfony 4.4
- Enable PHPStan in QA Tools and disable PHPMd
- Enable PHPStan extension dedicated to support Stated classes
Contribute :)
You are welcome to contribute to this project. Fork it on Github