symfony/symfony
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
doctrine/annotations | 1.14.3 | - | MIT | prod dev | |
doctrine/common | 2.13.3 | - | MIT | prod dev | 1 |
psr/log | 1.1.4 | 10.7 kB | MIT | prod dev | |
symfony/polyfill-apcu | v1.29.0 | - | MIT | prod | |
symfony/polyfill-intl-icu | v1.29.0 | 44.76 kB | MIT | prod | |
symfony/polyfill-mbstring | v1.29.0 | - | MIT | prod | |
symfony/polyfill-php54 | v1.20.0 | 1.99 kB | MIT | prod | |
symfony/polyfill-php55 | v1.20.0 | 2.03 kB | MIT | prod | |
symfony/polyfill-php56 | v1.20.0 | 1.99 kB | MIT | prod | |
symfony/polyfill-php70 | v1.20.0 | 2.28 kB | MIT | prod | |
symfony/polyfill-util | v1.29.0 | 8.01 kB | MIT | prod | |
symfony/security-acl | v3.0.4 | - | MIT | prod | |
twig/twig | v2.16.0 | 275.82 kB | 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].