├── src ├── String │ ├── Resources │ │ └── py.qdb │ ├── JSONException.php │ ├── PinyinException.php │ └── JSON.php ├── Net │ ├── Resources │ │ └── ipdb │ │ │ └── qqwry.dat │ ├── NetException.php │ └── Ssh │ │ └── Connector.php ├── DI │ ├── NotCallableException.php │ ├── NotEnoughParametersException.php │ ├── Definition │ │ ├── NotFoundExceptionInterface.php │ │ ├── InvalidDefinitionException.php │ │ ├── DefinitionInterface.php │ │ ├── Provider │ │ │ └── DefinitionProviderInterface.php │ │ ├── SelfResolvingDefinition.php │ │ ├── Resolver │ │ │ ├── InstanceResolver.php │ │ │ ├── DefinitionResolverInterface.php │ │ │ ├── CallableResolver.php │ │ │ ├── ObjectResolver.php │ │ │ └── ResolverDispatcher.php │ │ ├── InstanceDefinition.php │ │ ├── ObjectDefinition.php │ │ └── CallableDefinition.php │ ├── InvokerInterface.php │ ├── DependencyException.php │ ├── ContainerException.php │ ├── Injection │ │ ├── NotEnoughParametersException.php │ │ ├── InjectionInterface.php │ │ └── Injection.php │ ├── NotFoundException.php │ └── ContainerInterface.php ├── MVC │ ├── Resources │ │ └── templates │ │ │ └── debug │ │ │ ├── web_console.htm │ │ │ ├── console_help.htm │ │ │ └── console.htm │ ├── Request │ │ ├── Param │ │ │ ├── Get.php │ │ │ ├── ParamException.php │ │ │ ├── Post.php │ │ │ └── Readonly.php │ │ └── ConsoleRequest.php │ ├── Response │ │ ├── ConsoleResponse.php │ │ └── WebResponse.php │ ├── Module │ │ ├── ModuleException.php │ │ └── Util │ │ │ └── StaticCopyer.php │ ├── Controller │ │ ├── DispatcherException.php │ │ ├── Controller.php │ │ ├── ConsoleController.php │ │ └── ControllerBase.php │ ├── View │ │ ├── ViewException.php │ │ ├── Helper │ │ │ ├── HelperException.php │ │ │ └── HelperInterface.php │ │ ├── Widget │ │ │ ├── WidgetException.php │ │ │ └── WidgetInterface.php │ │ └── Engine │ │ │ ├── Tagger │ │ │ ├── TaggerException.php │ │ │ └── Parser │ │ │ │ └── ParserInterface.php │ │ │ ├── PHP.php │ │ │ ├── ViewEngineInterface.php │ │ │ ├── Smarty.php │ │ │ └── Markdown.php │ ├── Model │ │ ├── ModelException.php │ │ ├── Model.php │ │ └── Redis.php │ ├── Router │ │ ├── RouterException.php │ │ └── Route │ │ │ ├── RewriteUriInterface.php │ │ │ ├── RouteInterface.php │ │ │ ├── HttpRoute.php │ │ │ ├── ModuleRoute.php │ │ │ └── RegEx.php │ ├── Application │ │ ├── ApplicationException.php │ │ ├── WebApplication.php │ │ └── ConsoleApplication.php │ ├── Web │ │ ├── Session │ │ │ ├── SessionException.php │ │ │ ├── SessionAdapterInterface.php │ │ │ ├── Memcached.php │ │ │ └── Redis.php │ │ ├── HttpBrowser.php │ │ ├── HttpUtility.php │ │ └── HttpStatus.php │ ├── Event │ │ ├── BootstrapEventListenerInterface.php │ │ ├── RequestEventListenerInterface.php │ │ ├── RouteEventListenerInterface.php │ │ ├── DispatchEventListenerInterface.php │ │ ├── MvcEvent.php │ │ └── DaemonEventListener.php │ └── Bootstrap │ │ └── Bootstrap.php ├── Runtime │ ├── RuntimeException.php │ ├── Gc.php │ ├── Convert.php │ ├── Random.php │ └── Process.php ├── Event │ ├── EventException.php │ ├── EventListenerInterface.php │ ├── ExceptionEventListener.php │ ├── EventInterface.php │ └── Event.php ├── Data │ ├── Db │ │ ├── DbException.php │ │ ├── Mysql │ │ │ └── MysqlException.php │ │ └── DbAdapterInterface.php │ ├── Redis │ │ ├── Schema │ │ │ ├── RedisSchemaException.php │ │ │ ├── Queue.php │ │ │ ├── Counter.php │ │ │ ├── HashTable │ │ │ │ └── HashTableCounter.php │ │ │ ├── Hashtable.php │ │ │ ├── RedisSchemaBase.php │ │ │ └── Set.php │ │ └── RedisException.php │ ├── Memcached │ │ ├── MemcachedException.php │ │ └── Counter.php │ ├── DataException.php │ └── DataSourceInterface.php ├── Build │ └── BuilderException.php ├── Log │ ├── LogException.php │ └── Writer │ │ ├── LogWriterInterface.php │ │ ├── Syslog.php │ │ ├── File.php │ │ └── Rsyslog.php ├── Console │ ├── DaemonException.php │ ├── Worker │ │ ├── WorkerException.php │ │ ├── WorkerHandlerInterface.php │ │ └── Worker.php │ └── DaemonHandlerInterface.php ├── Cache │ ├── CacheException.php │ ├── Storager │ │ └── CacheStorager.php │ └── CacheInterface.php ├── Lang │ ├── LangException.php │ └── Lang.php ├── Config │ ├── Parser │ │ ├── ParserException.php │ │ ├── ParserInterface.php │ │ ├── YamlParser.php │ │ ├── JSONParser.php │ │ └── IniParser.php │ └── ConfigException.php ├── Filter │ ├── FilterInterface.php │ ├── ConsoleFilter.php │ └── WebFilter.php └── Tiny.php ├── .gitignore └── composer.json /src/String/Resources/py.qdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tinyphporg/tinyphp-framework/HEAD/src/String/Resources/py.qdb -------------------------------------------------------------------------------- /src/Net/Resources/ipdb/qqwry.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tinyphporg/tinyphp-framework/HEAD/src/Net/Resources/ipdb/qqwry.dat -------------------------------------------------------------------------------- /src/DI/NotCallableException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MVC/Resources/templates/debug/web_console.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DI/NotEnoughParametersException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DI/Definition/NotFoundExceptionInterface.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .buildpath 2 | .project 3 | *.log 4 | .git 5 | */.pid 6 | *.txt 7 | .settings 8 | /vendor/ 9 | .DS_Store 10 | *.phar 11 | */application/runtime/view/* 12 | */public/setting 13 | */public/profile 14 | composer.lock -------------------------------------------------------------------------------- /src/MVC/Resources/templates/debug/console_help.htm: -------------------------------------------------------------------------------- 1 | --debug 命令行开启调试模式 2 | /debug/help 帮助 3 | /debug/clearcache 清理缓存 4 | /debug/clearlog 清理日志 5 | /debug/splitlog 分隔日志 6 | /debug/clearview 清理视图模板 7 | /debug/clear 清理缓存 & 日志 & 视图模板 8 | 9 | -------------------------------------------------------------------------------- /src/Runtime/RuntimeException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DI/Definition/InvalidDefinitionException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DI/InvokerInterface.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Event/EventException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Event/EventListenerInterface.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MVC/Request/Param/Get.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MVC/Response/ConsoleResponse.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MVC/Module/ModuleException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DI/DependencyException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Data/Db/DbException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MVC/Request/Param/ParamException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Build/BuilderException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Data/Redis/Schema/RedisSchemaException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MVC/Request/Param/Post.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MVC/Controller/DispatcherException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Log/LogException.php: -------------------------------------------------------------------------------- 1 |