Skip to content

Releases: samsonasik/ForceHttpsModule

1.5.0

12 Oct 00:51
1.5.0
39f23cc
Compare
Choose a tag to compare

New feature:

  • Allow remove www. prefix during redirection from http or already https.

1.4.3

11 Oct 19:38
1.4.3
ec92719
Compare
Choose a tag to compare
  • add www. prefix for already https as well when accessed uri doesnot has www. prefix for configured add_www_prefix

1.4.2

17 Jul 13:25
1.4.2
d6fc4f0
Compare
Choose a tag to compare

micro optimization on function calls

1.4.1

08 Mar 13:44
1.4.1
b6a26c2
Compare
Choose a tag to compare

using substr_replace for better www. insertion for add_www_prefix config set

1.4.0

08 Mar 13:22
1.4.0
9ba8659
Compare
Choose a tag to compare

Build Status Coverage Status PHPStan

Now allow add "www." prefix during redirection with configurable:

return [
    'force-https-module' => [
        /** Other required config here **/ 
        'add_www_prefix'        => true,
    ],
];

So, when we open 'http://example.com' it will be redirected to 'https://www.example.com'.

For complete configuration set, please consult the README

1.3.3

25 Feb 01:02
1.3.3
889adba
Compare
Choose a tag to compare

type hint fixes

1.3.2

24 Feb 23:07
1.3.2
bb1b2b4
Compare
Choose a tag to compare

Event type hint fix in on listener attach

1.3.1

13 Feb 16:15
1.3.1
ef2c52b
Compare
Choose a tag to compare
  • added middleware keyword in composer.json
  • move repetitive code to trait when possible
  • __invoke() signature fix of $next and various type hint added

1.3.0

28 Jan 15:46
1.3.0
330c935
Compare
Choose a tag to compare

Build Status Coverage Status PHPStan

#3 : Support to be used in ZF Expressive application

1.2.2

24 Jan 04:23
1.2.2
00c4d64
Compare
Choose a tag to compare

Build Status Coverage Status PHPStan

  • Set Strict Transport Security only in https and match condition on going to force https config
  • No more exit(0)
  • Set Script Transport Security to expire whenever https, match condition, and strict_transport_security not enable