diff --git a/README.md b/README.md index dd2b71c..5939512 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,8 @@ file, replace all occurrences of `7.2` with `6.4` and run `composer up`. * [Contributing](#contributing-) * [Security](#contributing-) * [Credits](#contributing-) -* [License](#contributing-) +* [License](#license-) +* [Built with MicroSymfony](#built-with-microsymfony-) ## Demos 🌈 @@ -253,10 +254,15 @@ Please see [SECURITY](https://github.com/strangebuzz/MicroSymfony/blob/main/SECU ## Credits 🙏 -* [COil](https://github.com/COil) +* [COil](https://github.com/COil) (main maintainer) * [All Contributors](https://github.com/strangebuzz/MicroSymfony/graphs/contributors) ## License ⚖️ The MIT License (MIT). Please see [License File](https://github.com/strangebuzz/MicroSymfony/blob/main/LICENSE) for more information. + + +## Built with MicroSymfony 🛠️ + +* [placehold.ovh](https://placehold.ovh/) diff --git a/config/services.php b/config/services.php index a63ed95..bac5c14 100644 --- a/config/services.php +++ b/config/services.php @@ -4,7 +4,10 @@ // Files in the packages/ subdirectory configure your dependencies. // Put parameters here that don't need to change on each machine where the app is deployed -// https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration +// @see https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration + +// The PHP configuration files have been generated with symplify/config-transformer. +// @see https://github.com/symplify/config-transformer declare(strict_types=1); @@ -12,26 +15,24 @@ use Symfony\Component\HttpKernel\Kernel; return static function (ContainerConfigurator $containerConfigurator): void { - // Parameters $parameters = $containerConfigurator->parameters(); - // System parameters: https://symfony.com/doc/current/performance.html + // System parameters: https://symfony.com/doc/current/performance.html#dump-the-service-container-into-a-single-file $parameters->set('.container.dumper.inline_factories', true); - // Application parameters + // Application parameters —————————————————————————————————————————————————— $parameters->set('brand', 'MicroSymfony'); $parameters->set('brand_html', 'MicroSymfony 🎶'); $parameters->set('brand_emoji', '🎶️'); $parameters->set('website', 'https://github.com/strangebuzz/MicroSymfony'); $parameters->set('version', '1.0.0'); $sfVersion = substr(Kernel::VERSION, 0, 3); // minor Symfony version - $description = <<$sfVersion application template on steroids, ready to use. DESCRIPTION; $parameters->set('description', $description); - // Services + // Services ———————————————————————————————————————————————————————————————— $services = $containerConfigurator->services(); $services->defaults() ->autowire() // Automatically injects dependencies in your services.