Skip to content

Commit

Permalink
Move the fork to own namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze committed Mar 3, 2019
1 parent cbd722b commit f02a45d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Michal Špaček
Copyright (c) 2014 Pematon, s.r.o.

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Custom PHP session handler for [Nette Framework](http://nette.org/) that uses My

## Installation

Preferred way to install pematon/mysql-session-handler is by using [Composer](http://getcomposer.org/):
Preferred way to install spaze/mysql-session-handler is by using [Composer](http://getcomposer.org/):

```sh
$ composer require pematon/mysql-session-handler:~1.0
$ composer require spaze/mysql-session-handler:~1.0
```

## Setup
Expand All @@ -25,7 +25,7 @@ After installation:

```neon
extensions:
sessionHandler: Pematon\Session\DI\MysqlSessionHandlerExtension
sessionHandler: Spaze\Session\DI\MysqlSessionHandlerExtension
```

## Features
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"name": "pematon/mysql-session-handler",
"name": "spaze/mysql-session-handler",
"description": "MySQL session handler for Nette Framework",
"license": "MIT",
"authors": [
{
"name": "Michal Špaček",
"homepage": "https://www.michalspacek.com",
"email": "[email protected]"
},
{
"name": "Pematon, s.r.o.",
"homepage": "http://www.pematon.com"
Expand Down
4 changes: 2 additions & 2 deletions src/DI/MysqlSessionHandlerExtension.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types = 1);

namespace Pematon\Session\DI;
namespace Spaze\Session\DI;

use Nette\DI\CompilerExtension;
use Nette\DI\Statement;
Expand All @@ -23,7 +23,7 @@ public function loadConfiguration(): void
$builder = $this->getContainerBuilder();

$definition = $builder->addDefinition($this->prefix('sessionHandler'))
->setClass('Pematon\Session\MysqlSessionHandler')
->setClass('Spaze\Session\MysqlSessionHandler')
->addSetup('setTableName', [$config['tableName']]);


Expand Down
2 changes: 1 addition & 1 deletion src/MysqlSessionHandler.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types = 1);

namespace Pematon\Session;
namespace Spaze\Session;

use Nette\Database\Context;
use SessionHandlerInterface;
Expand Down

0 comments on commit f02a45d

Please sign in to comment.