Skip to content

Commit b4bdf61

Browse files
committed
Removed git submodule approach
1 parent 1b79957 commit b4bdf61

File tree

5 files changed

+13
-19
lines changed

5 files changed

+13
-19
lines changed

.gitmodules

-7
This file was deleted.

README.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is a community driven fork of symfony 1, as official support has been [inte
1010
All the enhancements and BC breaks are listed in the [WHATS_NEW](https://github.com/FriendsOfSymfony1/symfony1/blob/master/WHATS_NEW.md) file, this include:
1111

1212
- [DIC](https://github.com/FriendsOfSymfony1/symfony1/wiki/ServiceContainer)
13-
- Composer support
13+
- Composer support (and removed git submodule approach)
1414
- PHP 8.3 support
1515
- performance boost
1616
- new widgets & validators
@@ -41,20 +41,13 @@ Installation
4141

4242
See https://symfony.com/legacy/doc/getting-started/1_4/en/03-Symfony-Installation
4343

44-
Option 1: Using [Composer](https://getcomposer.org/doc/00-intro.md) as dependency management:
44+
Using [Composer](https://getcomposer.org/doc/00-intro.md) as dependency management:
4545

4646
composer require friendsofsymfony1/symfony1 "1.5.*"
4747
composer install
4848

4949
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.
5050

51-
Option 2: Using Git submodules:
52-
53-
git init # your project
54-
git submodule add https://github.com/FriendsOfSymfony1/symfony1.git lib/vendor/symfony
55-
git submodule update --init --recursive
56-
57-
5851
Tests
5952
-----
6053

WHATS_NEW.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Composer support
2+
----------------
3+
4+
Using [Composer](https://getcomposer.org/doc/00-intro.md) as dependency management:
5+
6+
composer require friendsofsymfony1/symfony1 "1.5.*"
7+
composer install
8+
9+
**[BC Break]** Installation of symfony1 and it's dependency is no longer possible as a git submodule. If this is a must for you, consider sticking to an earlier commit of this repo, but you should consider using composer!
10+
111
Service container
212
-----------------
313

@@ -244,4 +254,4 @@ all:
244254
monolog.handler.file:
245255
class: Monolog\Handler\StreamHandler
246256
arguments: [/the/file/path/of/your/file.log]
247-
```
257+
```
This file was deleted.

lib/vendor/swiftmailer

-1
This file was deleted.

0 commit comments

Comments
 (0)