CommonPHP Session is a small, driver-based session package. It owns session lifecycle behavior, session data access, named data bags, flash messages, and native PHP session integration.
The package is intentionally explicit. A session must be started before data can be read or written, storage details live behind SessionDriverInterface, and expected session failures are reported through CommonPHP session exceptions.
Entry points:
CommonPHP\Session\SessionManagerCommonPHP\Session\SessionBagCommonPHP\Session\FlashBag
Contracts:
CommonPHP\Session\Contracts\SessionInterfaceCommonPHP\Session\Contracts\SessionDriverInterfaceCommonPHP\Session\Contracts\SessionBagInterfaceCommonPHP\Session\Contracts\FlashBagInterfaceCommonPHP\Session\Contracts\AbstractSessionDriver
Drivers:
CommonPHP\Session\Drivers\NativeSessionDriver
Enums:
CommonPHP\Session\Enums\SessionStatus
Exceptions:
CommonPHP\Session\Exceptions\SessionExceptionCommonPHP\Session\Exceptions\SessionDriverExceptionCommonPHP\Session\Exceptions\InvalidSessionDriverExceptionCommonPHP\Session\Exceptions\SessionNotStartedExceptionCommonPHP\Session\Exceptions\SessionStartExceptionCommonPHP\Session\Exceptions\SessionStorageExceptionCommonPHP\Session\Exceptions\CorruptSessionDataException