|
|
|
@ -3,7 +3,7 @@ tts_framework/src |
|
|
|
│ ├── auto_loader.php (PSR-4-autoloader) |
|
|
|
│ ├── auto_loader.php (PSR-4-autoloader) |
|
|
|
│ ├── common.php (custom string FNs, wipe data, and dump) |
|
|
|
│ ├── common.php (custom string FNs, wipe data, and dump) |
|
|
|
│ ├── errors.php (Error Handler) |
|
|
|
│ ├── errors.php (Error Handler) |
|
|
|
│ ├── filter.php (HTMLPurifier Bootstrap) |
|
|
|
│ ├── html_purifier.php (HTMLPurifier Bootstrap) |
|
|
|
│ ├── requires.php (secure_includes, file/dir Filters/Validators) |
|
|
|
│ ├── requires.php (secure_includes, file/dir Filters/Validators) |
|
|
|
│ ├── safer_io.php (Sanitize Input, Validate data and Escape output) |
|
|
|
│ ├── safer_io.php (Sanitize Input, Validate data and Escape output) |
|
|
|
│ ├── site_helper.php (Set/Get Routes/Root Paths/Assets, etc...) |
|
|
|
│ ├── site_helper.php (Set/Get Routes/Root Paths/Assets, etc...) |
|
|
|
@ -21,11 +21,9 @@ tts_framework/src |
|
|
|
│ │ ├── shortn.php (short_street_suffix) |
|
|
|
│ │ ├── shortn.php (short_street_suffix) |
|
|
|
│ │ └── zipcodes.php (5-digit Zip into State) |
|
|
|
│ │ └── zipcodes.php (5-digit Zip into State) |
|
|
|
│ ├── assets.php (Fetch CSS/JS/Image, and site redirects) |
|
|
|
│ ├── assets.php (Fetch CSS/JS/Image, and site redirects) |
|
|
|
│ ├── bb_code_parser.php (Take BB code and display output as HTML) |
|
|
|
|
|
|
|
│ ├── console_app.php (Detects if running PHP from Command Line) |
|
|
|
│ ├── console_app.php (Detects if running PHP from Command Line) |
|
|
|
│ ├── contracts |
|
|
|
│ ├── contracts |
|
|
|
│ │ ├── http_request_options.php (Used by http_curl_request) |
|
|
|
│ │ └── http_request_options.php (Used by http_curl_request) |
|
|
|
│ │ └── sessions_interface.php |
|
|
|
|
|
|
|
│ ├── database |
|
|
|
│ ├── database |
|
|
|
│ │ ├── dummy_data.php (Populates a DB w/ Dummy Data you give it bu # Rows wanted) |
|
|
|
│ │ ├── dummy_data.php (Populates a DB w/ Dummy Data you give it bu # Rows wanted) |
|
|
|
│ │ ├── model.php (Model used to save into DB) |
|
|
|
│ │ ├── model.php (Model used to save into DB) |
|
|
|
@ -36,13 +34,18 @@ tts_framework/src |
|
|
|
│ ├── exceptions |
|
|
|
│ ├── exceptions |
|
|
|
│ │ ├── Bool_Exception.php (Handles invalid Boolean types) |
|
|
|
│ │ ├── Bool_Exception.php (Handles invalid Boolean types) |
|
|
|
│ │ └── DB_Exception.php (Handles DB Exceptions) |
|
|
|
│ │ └── DB_Exception.php (Handles DB Exceptions) |
|
|
|
|
|
|
|
│ ├── extras |
|
|
|
|
|
|
|
│ │ ├── bb_code_parser.php (Take BB code and display output as HTML) |
|
|
|
|
|
|
|
│ │ └── html_parser.php (Escape HTML into BB code...to save into db) |
|
|
|
│ ├── html_document.php (HTML Class: set/get CSS/JS/Breadcrumbs/Title/Author/Header/Footer) |
|
|
|
│ ├── html_document.php (HTML Class: set/get CSS/JS/Breadcrumbs/Title/Author/Header/Footer) |
|
|
|
│ ├── html_parser.php (Escape HTML into BB code...to save into db) |
|
|
|
|
|
|
|
│ ├── html.php (HTML Select-Options, Table maker) |
|
|
|
│ ├── html.php (HTML Select-Options, Table maker) |
|
|
|
│ ├── json.php (Outputs DB Records into JSON format) |
|
|
|
│ ├── json.php (Outputs DB Records into JSON format) |
|
|
|
│ ├── loadall.php (Creates loadall.php files if do not exist for Services & Config-Files) |
|
|
|
│ ├── loadall.php (Creates loadall.php files if do not exist for Services & Config-Files) |
|
|
|
│ ├── memory_usage.php (Displays PHP Memory Usage, when debug is set) |
|
|
|
│ ├── memory_usage.php (Displays PHP Memory Usage, when debug is set) |
|
|
|
│ ├── misc.php (create a short url from get_url, post_var, misc. filter FNs) |
|
|
|
│ ├── misc.php (create a short url from get_url, post_var, misc. filter FNs) |
|
|
|
|
|
|
|
│ ├── obsolete |
|
|
|
|
|
|
|
│ │ ├── http_socket_request.php (Failed to get Sockets working, use Guzzle, PHP HTTP client instead!) |
|
|
|
|
|
|
|
│ │ └── sessions_interface.php |
|
|
|
│ ├── page_not_found.php (CLI or tts built in views/404 page not found error) |
|
|
|
│ ├── page_not_found.php (CLI or tts built in views/404 page not found error) |
|
|
|
│ ├── random_engine.php (random bytes/numbers/array shuffle) |
|
|
|
│ ├── random_engine.php (random bytes/numbers/array shuffle) |
|
|
|
│ ├── router.php (router::get/post, etc... used to setup PHP routes) |
|
|
|
│ ├── router.php (router::get/post, etc... used to setup PHP routes) |
|
|
|
@ -56,8 +59,6 @@ tts_framework/src |
|
|
|
│ │ │ └── http_curl_request.php (Does Curl requests) |
|
|
|
│ │ │ └── http_curl_request.php (Does Curl requests) |
|
|
|
│ │ ├── liquid_templates.php (Sets up Liquid Templates Engine for Views) |
|
|
|
│ │ ├── liquid_templates.php (Sets up Liquid Templates Engine for Views) |
|
|
|
│ │ ├── log.php (Appends new Log to Project's logs folder) |
|
|
|
│ │ ├── log.php (Appends new Log to Project's logs folder) |
|
|
|
│ │ ├── obsolete |
|
|
|
|
|
|
|
│ │ │ └── http_socket_request.php (Failed to get Sockets working, use Guzzle, PHP HTTP client instead!) |
|
|
|
|
|
|
|
│ │ ├── paragon_crypto |
|
|
|
│ │ ├── paragon_crypto |
|
|
|
│ │ │ ├── crypto.php (Newer sodium_crypto) |
|
|
|
│ │ │ ├── crypto.php (Newer sodium_crypto) |
|
|
|
│ │ │ ├── password_storage.php (Hash and Verify Hashed passwords) |
|
|
|
│ │ │ ├── password_storage.php (Hash and Verify Hashed passwords) |
|
|
|
@ -81,13 +82,15 @@ tts_framework/src |
|
|
|
│ │ └── session_hijacking_functions.php (Prevent SESSION Hijacking and Fixation in PHP) |
|
|
|
│ │ └── session_hijacking_functions.php (Prevent SESSION Hijacking and Fixation in PHP) |
|
|
|
│ ├── validator.php (validates HTML Forms) |
|
|
|
│ ├── validator.php (validates HTML Forms) |
|
|
|
│ └── view.php (Loads view files from common folders you defined) |
|
|
|
│ └── view.php (Loads view files from common folders you defined) |
|
|
|
|
|
|
|
├── compiler.php (the PHP Compiler) |
|
|
|
|
|
|
|
├── dist |
|
|
|
|
|
|
|
│ ├── tts_arrays.php (Mocking Data arrays) |
|
|
|
|
|
|
|
│ ├── tts_extras.php (bb code and html parsers) |
|
|
|
|
|
|
|
│ └── tts.php (the Compiled framework, all in one-file!!) |
|
|
|
├── main.inc.php (Bootstraps App, sets configure, registry, di, and name-spaces) |
|
|
|
├── main.inc.php (Bootstraps App, sets configure, registry, di, and name-spaces) |
|
|
|
└── views |
|
|
|
└── views |
|
|
|
├── 404_page.php (Default 404 Page Not Found Page/Image) |
|
|
|
├── 404_page.php (Default 404 Page Not Found Page/Image) |
|
|
|
├── dev_error.php (When NOT Live, show Exceptions/Errors) |
|
|
|
├── dev_error.php (When NOT Live, show Exceptions/Errors) |
|
|
|
└── prod_errors.php (when Live, this: Sorry, we had an error... Page is used) |
|
|
|
└── prod_errors.php (when Live, this: Sorry, we had an error... Page is used) |
|
|
|
|
|
|
|
|
|
|
|
~70 files |
|
|
|
~22 directories, ~74 files |
|
|
|
|
|
|
|
|
|
|
|
/src/compiler.php (the PHP Compiler) |
|
|
|
|
|
|
|
/src/dist/tts.php (the Compiled framework, all in one-file!!) |
|
|
|
|