goncalomb / asbestos
A small framework for creating web applications in PHP.
Installs: 202
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/goncalomb/asbestos
This package is not auto-updated.
Last update: 2025-12-13 23:23:01 UTC
README
A small framework for creating web applications in PHP.
Install
Basic AsbestosPHP project structure:
composer.json
vendor/
www/
index.php
Add goncalomb/asbestos as a composer dependency:
"require": {
"goncalomb/asbestos": "dev-master#<asbestos-commit-hash>"
}
Optionally add the scripts to copy the asbestos files to the www/ directory:
"scripts": {
"post-install-cmd": [
"Asbestos\\AsbestosInstaller::copyAsbestosToWWW"
],
"post-update-cmd": [
"Asbestos\\AsbestosInstaller::copyAsbestosToWWW"
]
}
In this case, use require './asbestos/core.php'; instead of the normal require '../vendor/autoload.php';.
See www/ for a working example.
License
AsbestosPHP is released under the terms of the GNU General Public License version 3, or (at your option) any later version. See LICENSE.txt for details.