Common & useful classes, resources, extensions. Based on Symfony framework.
- Support PHP 8.0+
- Create a service for a carousel, the
CarouselService
- Support
symfony/form
package with4.4.*
version too
- Create a service for a form, the
FormService
- Create a service for a menu, the
MenuService
- Documentation for the
PaginationService
service - Make the
PaginationService
service configurable via Container's parameters
- Create
RequestService::isCurrentRoute()
method that returns information if given route is the current route - [Pagination] If there is no data, 1st page is allowed/valid only
- Rename method
FormService::addFormOptions()
->FormService::addHtml5ValidationOptions()
- Fix failed tests of the
Descriptors
class (collection ofDescriptor
) - Add new translations
- Mark PHPUnit test as risky when it does not have a
@covers
annotation - Return an empty string and empty array respectively while fetching route and route parameters by the
RequestService
service (if there is no value in current request)
- Make the
RequestService
service available for controllers inheriting fromBaseController
- Use
RequestServiceInterface
for type hinting of theRequestService
service
- Implement 3 new methods in the
RequestService
service:getCurrentRoute(): string
getCurrentRouteParameters(): array
getParameter(string $parameter)
- Set version of
PHP
to7.2+
incomposer.json
- Change mode of
Xdebug
tocoverage
in Docker's configuration to make it possible to generate code coverage byPHPUnit
- Use
meritoo/php
Docker image (instead of deprecatedmeritoo/php7
) - Use PHP
7.4
while running build in Travis CI - Ability to pass custom
<meta>
tags in thehtml5_boilerplate.html.twig
template
- Allow installing of twig/twig package with
2.1
version too (^2.1|^3.2
vs^3.2
only) - Use PHP
7.4
while running build in Travis CI
- Do not install
hirak/prestissimo
package while running Travis CI (incompatible with your PHP version, PHP extensions and Composer version)
- Upgrade Symfony to
5.0
(from4.1
)
- Add new translations
- Add new translations
- Add new translations
- Upgrade HTML5 Boilerplate by using Starter Template prepared by latest Bootstrap (version 4.4)
- Rename blocks in HTML5 Boilerplate: stylesheet -> stylesheets, javascript_head -> javascripts_head
- Add new translations
- The Pagination. Represents core parameters used to serve pagination.
- Add new translations
- Implement phpspec
- Add new translations
- Resources > translations > add new
- Add new translations (Picture, Photo)
- Add test of bundle's Descriptors when each Descriptor has the same root namespace (only the last one will be available)
- Allow to drop database schema by the trait for entity test case (the EntityTestCaseTrait)
- Test case for the trait for entity test case (the EntityTestCaseTrait)
- PHP CS Fixer > configuration > make more readable & remove unnecessary code
- Update .gitignore, docker-compose.yml, phpunit.xml.dist
- Trait for test case related to entity (the EntityTestCaseTrait)
- Resources > translations > add new
- PHPUnit > enable Symfony listener
- Phing > tests > add task for Psalm (https://psalm.dev)
- Readme > review and fix "unknown" badges
- Docker > use images (instead of Dockerfiles)
- composer > squizlabs/php_codesniffer package > use ^3.4 (instead of ^2.9)
- Do not require ext-intl, because is required by meritoo/common-library package
- Update Kernel used by tests
- BaseExtension > verify extension of services' configuration file by separate method & in the loadServices() method (not in loadConfigurationFile() method)
- BaseExtension > prepare flat configuration by separate method
- BaseExtension > prepare loader of configuration file by separate class
- Composer > meritoo/common-library package > bump version to 1.0.0 (related to PHP 7.2+)
- Composer > dev packages > bump versions (e.g. PHPUnit 8.0) Tests > make compatible with PHPUnit 8.0+
- Phing > remove old and unused tools
- Phing > remove old and unused tools
- PHPUnit > execute tests in random order
- Travis CI > run many tasks using Phing (instead of PHPUnit only)
- Fix integration with Coveralls (available as the badge in README.md)
- Implement PHPStan
- PHP Coding Standards Fixer > configuration > update & fix coding standard
- Implement [Psalm] (https://github.com/vimeo/psalm)
- Psalm > fix code
- HTML5 Boilerplate based on Twitter Bootstrap by Initializr
- Resources > translations > add new
- Fix coding standard
- Controller > BaseController > base controller with common and useful methods
- Resources > translations > add new
- Validator > date > date that should be: earlier than today, earlier than or equal today, later than today, later than or equal today
- Tests > DateService > fix testing methods related to timezone
- Phing > update configuration
- Docker > docker-compose.yml > add "phpunit" service > used to run PHPUnit's tests
- Service > DateService > service that serves dates
- Phing > tests > missing path of directory with code coverage report
- Phing > tests > PHPUnit > do not use dox format (for output results)
- Docker > Dockerfile > remove not working the Handy Apt Terminal Progress Bar
- Implement Mutation Testing Framework (infection/infection package)
- Phing > update configuration & fix coding standard
- Resources > translations > add new
- Resources > translations > add new
- Service > ResponseService > service that serves responses
- Travis CI > update configuration (You are using the deprecated option "dev". Dev packages are installed by default now.)
- Resources > translations > add new
- BaseExtension > allow to define patterns of keys or paths from configuration that should match to stop loading parameters (by make getKeysToStopLoadingParametersOn() method protected)
- Configuration > form.novalidate parameter > information if HTML5 inline validation is disabled > make compatible with environment variables and Symfony 3.4
- Phing > implement missing configuration
- BaseTwigExtensionTestCase > base test case for Twig extension
- Resources > translations > add new
- CommonExtension > Twig extension that provides functions and filters for common operations
- Resources > translations > add new
- Docker > improve performance
- Resources > translations > add new
- Service > FormService > add addFormOptions() method > adds options to the existing options that may be used while creating a form
- Composer > update type > required to fix validation error of recipe (Type must be "symfony-bundle" as the manifest registers a bundle, "library" detected)
- Update documentation > Configuration
- Update Readme
- Resources > translations > add new
- Resources > translations > group by destination in each translation domain
- Tests > verify default configuration parameters > add "defaults" environment
- Service > FormService > service that serves forms. Configuration > form.novalidate parameter > information if HTML5 inline validation is disabled.
- Resources > translations > add new
- Resources > translations > common translations
- Twig extension related to the
ApplicationService
service
- Add descriptor of application
- Replenish documentation:
- Descriptor of bundle
- Descriptors of bundles
- Descriptor of application
- Services: ApplicationService
- Bump version
- Add
README.md
- Implement Docker
- Docker: use project-related binaries globally
- Reorganize documentation & update Readme
- Composer: add phpunit/phpunit package
- StyleCI > disable & remove
- Documentation > Development > update
- Composer > add packages > meritoo/common-library & symfony/framework-bundle. Require PHP 7.2+.
- PHP Coding Standards Fixer > configuration > update
- Descriptor of bundles & collection of descriptors
- Composer > add friendsofphp/php-cs-fixer package
- .gitignore > add PHPUnit section
- Value Object > Version of software
- Tests > use BaseTestCase class instead of BaseTestCaseTrait
- Tests > remove the Dummy Test
- Composer > require ext-pcre
- Documentation > Development > update
- Docker > rename
php-cli
service tophp
- Remove
Version
class (Value Object > Version of software). UseVersion
class frommeritoo/common-library
package. - Base Dependency Injection (DI) extension, the
BaseExtension
class - Add main class of this bundle, the
MeritooCommonBundle
class - Add Dependency Injection (DI) Extension (and configuration) for this bundle
- Tests > add kernel
- Composer > require
symfony/phpunit-bridge
andsymfony/yaml
packages - Groundwork of Symfony's service, the
BaseService
class - Service > add service that serves application, the
ApplicationService
class - Move version of this package to
VERSION
file (fromcomposer.json
file) - Travis CI > do not run using PHP < 7.2 (because bundle requires PHP >= 7.2 in
composer.json
)
- Add this changelog
- Add composer.json
- Add .gitignore
- Add .php_cs.dist, .styleci.yml, .travis.yml