Download the PHP package nargor/thungthao-php without Composer
On this page you can find all versions of the php package nargor/thungthao-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nargor/thungthao-php
More information about nargor/thungthao-php
Files in nargor/thungthao-php
Download nargor/thungthao-php
More information about nargor/thungthao-php
Files in nargor/thungthao-php
Vendor nargor
Package thungthao-php
Short Description PHP page layout components system clone form nuxt starter code
License
Package thungthao-php
Short Description PHP page layout components system clone form nuxt starter code
License
Please rate this library. Is it a good library?
Informations about the package thungthao-php
Thungthao
Pages layouts components system by PHP starter code.
starter with layouts, pages (file-based routing), components, controllers, composables, API, and global hooks.
Features
- Layouts: Define page shells in
layouts/and switch with$layout->setLayout('default'). - File-based Routing: Files in
pages/map to URLs. Dynamic params via[param], folderindex.phpsupported. - Components: Reusable UI from
components/included in layouts/pages. - Controllers: PSR-4 autoloaded under
App\\Controllers\\. - Composables: Utilities in
composables/that return callable arrays. - API: JSON endpoints in
api/(directly accessible as/api/*.php). - Global:
global.phpruns on every request. - Styling: TailwindCSS + jQuery via CDN in layout.
- Docs: Built-in documentation at
/docs(navbar, sidebar, search).
Documentation
- Online: https://thungthao.online
Requirements
- PHP >= 7.0
- Composer
- Web server (Apache/Nginx) or PHP built-in server
- For Apache, enable rewrite and use the provided
.htaccess
Quick Start
Open the URL configured in .env (WEB_URL) or as printed by the dev server.
Configuration (.env)
Key variables consumed by config.php:
WEB_MODE(e.g.development)WEB_URL(e.g.http://127.0.0.1:5000)WEB_NAMEJWT_SECRETDB_DRIVER(mysql|sqlite|none)- MySQL:
MYSQL_HOST,MYSQL_DATABASE,MYSQL_USER,MYSQL_PASSWORD,MYSQL_PORT,MYSQL_CHARSET - SQLite:
SQLITE_PATH
Directory Structure
Usage Examples
Set head in a page
Switch layout for a page
Include a component
Use a composable
Use a controller
Create an API endpoint
Dynamic params in routes
Global hooks
Development Tips
- Set
WEB_MODE=developmentto enable helpful logs viashow_error_log(). - Avoid modifying
includes/unless you intend to change the framework internals.
License (Owner‑Managed)
- The project owner @Nargor manages the license terms.
- Current status: Free to use (personal or commercial) and modify within your projects. Attribution is appreciated.
- Future changes: License terms may change at your discretion. New releases may adopt new terms; previously released versions remain governed by the terms under which they were published.
- Provided “as is”, without warranty of any kind. Use at your own risk.
If you formalize terms later, add a dedicated LICENSE file and update this section.
Authors
All versions of thungthao-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
firebase/php-jwt Version ^7.0
flowjs/flow-php-server Version *
intervention/image Version ^2.7
james-heinrich/getid3 Version ^1.9
cboden/ratchet Version ^0.4.4
workerman/workerman Version ^5.1
firebase/php-jwt Version ^7.0
flowjs/flow-php-server Version *
intervention/image Version ^2.7
james-heinrich/getid3 Version ^1.9
cboden/ratchet Version ^0.4.4
workerman/workerman Version ^5.1
The package nargor/thungthao-php contains the following files
Loading the files please wait ...