Download the PHP package lcsng/amanda without Composer
On this page you can find all versions of the php package lcsng/amanda. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package amanda
Short Description Amanda is a lightweight and flexible PHP routing library that dynamically maps website URLs to template files without requiring manual route definitions or directory structures. Simply place your .php or .html templates inside the amanda_templates/ directory, and Amanda will automatically serve them based on the requested URL. Easily customize template paths, override defaults, and streamline page routing for faster, more efficient web development.
License GPL-3.0-or-later
Informations about the package amanda
Amanda - A Lightweight PHP Routing Library
π Amanda is a powerful and flexible PHP routing library that dynamically maps URLs to template files without requiring manual route definitions. It provides a simple yet robust way to handle requests, making web development faster and more efficient.
π Key Features
β
Auto-routing β No need to manually define routes; Amanda maps URLs to templates automatically.
β
Customizable & Lightweight β Easily modify template paths and routing logic.
β
Dedicated Public Directory β Follows best practices by keeping core files separate from publicly accessible assets.
β
Seamless Integration β Works with both existing PHP projects and new installations.
π₯ Installation
1οΈβ£ Install Amanda as a Full Project
Amanda should be installed in a server directory that is not publicly accessible. You can install it using:
This will create a my-site/
directory containing all necessary files and folders.
π Folder Structure
Amanda follows this directory setup:
Folder Placement Notes:
πΉ my-site/
is not the document rootβit is the server directory.
πΉ public_html/
is the document root, where web requests are directed.
πΉ Users can place Amanda anywhere that fits their project structure.
π Getting Started
1οΈβ£ Place Your Templates
Simply put your .php
or .html
files inside the amanda/amanda_templates/
directory. Amanda will automatically route them based on the requested URL.
For example:
2οΈβ£ Configure Routing (Optional)
Modify the amanda_routers/artd.php
file to override defaults:
π Documentation
For full documentation, visit lcs.ng/amanda.
π€ Contributing
- Fork the repository.
- Make your changes.
- Submit a pull request.
π License
Amanda is licensed under GPL-3.0-or-later, meaning it is free to use, modify, and distribute while ensuring derivatives remain open-source.
π§ Contact & Support
π Author: Chinonso Frewen Justice (JCFuniverse)
π§ Email: [email protected]
π Website: lcs.ng/amanda