friendsofsymfony1/symfony1
Composer 安装命令:
composer require friendsofsymfony1/symfony1
包简介
Fork of symfony 1.4 with dic, form enhancements, latest swiftmailer and better performance
README 文档
README
About this version
This is a community driven fork of symfony 1, as official support has been interrupted in November 2012.
Do not use it for new projects: this version is great to improve existing symfony1 applications, but newer Symfony versions is the way to go today.
All the enhancements and BC breaks are listed in the WHATS_NEW file, this include:
- DIC
- Composer support
- PHP 8.5 support
- performance boost
- new widgets & validators
- some tickets fixed from the symfony trac
- ...
About symfony
Symfony is a complete framework designed to optimize the development of web applications by way of several key features. For starters, it separates a web application's business rules, server logic, and presentation views. It contains numerous tools and classes aimed at shortening the development time of a complex web application. Additionally, it automates common tasks so that the developer can focus entirely on the specifics of an application. The end result of these advantages means there is no need to reinvent the wheel every time a new web application is built!
Symfony was written entirely in PHP 5. It has been thoroughly tested in various real-world projects, and is actually in use for high-demand e-business websites. It is compatible with most of the available databases engines, including MySQL, PostgreSQL, Oracle, and Microsoft SQL Server. It runs on nix and Windows platforms.
Requirements
PHP 7.4 and up. See prerequisites on https://symfony.com/legacy/doc/getting-started/1_4/en/02-Prerequisites
Installation
See https://symfony.com/legacy/doc/getting-started/1_4/en/03-Symfony-Installation
Option 1: Using Composer as dependency management:
composer require friendsofsymfony1/symfony1 "1.5.*"
composer install
Note: On windows, if your project is a few directories down from the drive root, composer can throw an error relating to ZipArchive::extractTo(), this can be because pathnames are too long. There currently appears to be no proper solution but a workaround is to move your project to the drive root, run the commands from there, where they will run happily, and then move your project back.
Option 2: Using Git submodules:
git init # your project
git submodule add https://github.com/FriendsOfSymfony1/symfony1.git lib/vendor/symfony
git submodule update --init --recursive
Tests
Prerequisites
- docker-engine version 17.12.0+
- docker-compose version 1.20.0+
How to execute all tests on all supported PHP versions and dependencies?
test/bin/test
For PHP 7.3 and for lowest dependencies versions?
test/bin/test php73 lowest
For PHP 7.3 and for highest dependencies versions?
test/bin/test php73 highest
For executing a dedicated test file?
test/bin/test php73 highest test/unit/cache/sfAPCCacheTest.php
When you finish your work day, do not forget to clean up your desk
docker-compose down
Documentation
Read the official symfony1 documentation
Contributing
You can send pull requests or create an issue.
friendsofsymfony1/symfony1 适用场景与选型建议
friendsofsymfony1/symfony1 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 343.63k 次下载、GitHub Stars 达 349, 最近一次更新时间为 2020 年 06 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 friendsofsymfony1/symfony1 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 friendsofsymfony1/symfony1 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 343.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 349
- 点击次数: 28
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-18