symfony/symfony
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
composer/semver | 3.4.0 | 28.21 kB | MIT | prod | |
doctrine/event-manager | 2.0.0 | 5.95 kB | MIT | prod | |
doctrine/persistence | 3.3.2 | - | MIT | prod | |
psr/cache | 3.0.0 | 6.01 kB | MIT | prod | |
psr/clock | 1.0.0 | 2.95 kB | MIT | prod | |
psr/container | 2.0.2 | 3.55 kB | MIT | prod dev | |
psr/event-dispatcher | 1.0.0 | 4.17 kB | MIT | prod | |
psr/link | 2.0.1 | 5.66 kB | MIT | prod | |
psr/log | 3.0.0 | 6.77 kB | MIT | prod | |
symfony/contracts | v3.5.0 | - | MIT | prod | |
symfony/polyfill-ctype | v1.29.0 | - | MIT | prod | |
symfony/polyfill-intl-grapheme | v1.29.0 | - | MIT | prod | |
symfony/polyfill-intl-icu | v1.29.0 | 44.76 kB | MIT | prod | |
symfony/polyfill-intl-idn | v1.29.0 | 59.29 kB | MIT | prod dev | |
symfony/polyfill-intl-normalizer | v1.29.0 | - | MIT | prod dev | |
symfony/polyfill-mbstring | v1.29.0 | - | MIT | prod | |
symfony/polyfill-php83 | v1.29.0 | - | MIT | prod | |
symfony/polyfill-uuid | v1.29.0 | 7.07 kB | MIT | prod | |
twig/twig | v3.9.3 | - | BSD-3-Clause | prod |
Symfony/Symfony is a powerful PHP framework used for creating web and console applications. This set of reusable PHP components offers flexibility and efficiency, making it a popular choice among developers and businesses. It's trusted by a vast array of web applications around the world and contributes to many prominent PHP projects.
After obtaining Symfony/Symfony through Composer, which manages package dependencies, you can build applications with robust PHP structures. Using semantic versioning, Symfony ensures smooth and predictable releases. For example, the code below shows a basic route definition using Symfony:
use Symfony\Component\Routing\Annotation\Route;
class HomeController extends Controller
{
/**
* @Route("/home", name="homepage")
*/
public function index(): Response
{
return $this->render('home/index.html.twig');
}
}
In this example, when users navigate to the "/home" URL, Symfony routes to the index
method in the HomeController
class, which renders a template file.
The official documentation for Symfony/Symfony provides detailed insights into getting started with and mastering Symfony. It introduces a Symfony Demo application, offers guides and tutorials, and shares best practices. For developers who are new to Symfony, the Getting Started guide is a helpful resource. Meanwhile, the Components docs and Best Practices offer extended resources for advanced developers. All documentation can be found on Symfony's website at [https://symfony.com/docs][8].