All Classes
Browse 64 classes & traits in this project. There are 31 source classes, 32 test classes, and 1 traits.
Note: As of Dec 23, 2023, only classes & traits are listed. interfaces & enums are not supported.
Source Classes (not tests)
-
CodeScrawlExt
: No description... -
StaticFile
: Build headers for static files like .js or .css or image files -
Files
: Utility class to work with files & directories -
FancyClosure
: Normalize callable usage & bind paramaters to a callable, like you can in javascript -
ClassFinder
: Find a fully qualified classname in a file. (or for multiple files in a directory) -
Simple
: No description... -
FastFileRouter
: No description... -
Package
: No description... -
OldPackage
: Encaspulate multiple components, views, routes & other bits in a single directory as a package.@featured
-
ViewCallable
: No description... -
View
: A View, which passes properties to a template file and loads associated resources (.css/.js files). You must invoke__toString()
(''.$view
) or$view->content()
or$view->resources()
or nothing happens. -
Route
: A simple object to hold route information for a matched route.Nothing documented here is enforced by this class. It's all passed TO it.
If a different Routing component is used, it might not follow the currently documented usage in this class. -
Response
: Mutable object to represent a web response -
Request
: A simple object to represent a web request -
Lia
: No description... -
Hooks
: A class to organize all hook names across the main package.
This class started on Aug 22, 2024. Pre-existing hooks may get added into here, but I have no explicit plans to do that.
New hooks hopefully will all be added here. -
ExceptionCatcher
: Catches exceptions & provides helpful error messages -
Exception
: No description... -
Addon
: No description... -
View
: -
Server
: A very bad integration of the Router & other addons & utility classes that makes it easy to send a response -
Seo
: Resources for needed seo data/
https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started
https://ogp.me/
https://www.w3schools.com/tags/tag_meta.asp
NOT USED https://schema.org -
Router
: description -
Resources
: A component for managing multiple css & js files for a single request. -
ResourceSorter
: No description... -
Hook
: -
Error
: How will this be used?
Show error at top of current page
Redirect to error page with (or without) a message
Show error page instead of requested page (no redirect)
Log an error -
Autoload
: No description...
Traits
-
Scanner
: Wire methods with prefixes to their relevant APIs.
Test Classes
-
FastFileRouter
: No description... -
af26d678e4762cff671120edfeb379f
: No description... -
a42f3445030ffeb18870a20244ef92c
: No description... -
a3df21ac0741f3e6d179c027902494e
: No description... -
ToSort
: No description... -
ServerMinimal
: No description... -
Server
: Test the fully-functional server -
Prefixes
: No description... -
OldTests
: To keep old tests that I used to help write features. -
FancyClosure
: No description... -
Documentation
: Tests that are cleanly written & easy to follow.They are tests in order to be verifiable - not in order to actually test features.
Those tests go elsewhere, then simpler, cleaner versions go here.
-
Bugs
: for testing bugs I find while working on Liaison -
BasePackage
: No description... -
Lia
: No description... -
ServerPackage
: No description... -
Liaison
: No description... -
ExceptionCatcher
: For this to work with method calls that are not found, you need to set an error handler & throw an ErrorException like:public function throwError($errno, $errstr, $errfile, $errline) { throw new \ErrorException($errstr, $errno, 0, $errfile, $errline); }
-
AddonStructure
: No description... -
ViewOld
: No description... -
View
: No description... -
Server
: No description... -
Seo
: No description... -
Router
: No description... -
RouterOther
: Old router tests that are sloppy, confusing, hard to understand but still provide utility. -
Resources
: No description... -
ResourceSorter
: No description... -
Redirect
: No description... -
Hook
: No description... -
Error
: No description... -
Cache
: No description... -
Autoload
: No description...