sibra-soft / light-wine-framework
This package is abandoned and no longer maintained.
The author suggests using the sibra-soft/turbine package instead.
PHP web framework for running websites and webapplications
1.0.13
2024-04-13 17:07 UTC
Requires
- bshaffer/oauth2-server-php: ^1.11
- dragonmantank/cron-expression: ^3.1
- phpmailer/phpmailer: ^6.5
- rct567/dom-query: ^1.0
- tedivm/jshrink: ^1.4
Requires (Dev)
This package is auto-updated.
Last update: 2025-04-04 12:18:03 UTC
README
LightWine Framework
The LightWine framework is a PHP framework that can be used for creating websites and webapplications. The framework has various useful functions and classes that make it easy creating websites.
Getting started
Features
- Database Service
- Data Bindings
- Helpers
- Template Service
- Templating Engine Service
- Cache Service
- Routing Service
- Components
Application configuration file
Below you find a example of a configuration file for a website/webapplication created with the framework
{ "Name": "Exmaple Project", // The name of the project "Domain": "exmaple.com", // The main domain name of your website/webapplication, "Connections": { // Here you can add connectionstring of your databases }, "CacheFolder": "~/cache/", // Specifies the location of the cache folder "Environment": "dev", // Specifies the current enviroment (dev, test or live) "Tracing": false, // Enables the tracing of the framework for easy debugging "LogTraffic": true, // Logs website visitor details to a file "CreateDebugLog": false, // Creates all log entries including debug log entries "LogDatabase": false, // Enables logging to the database instead of a file "GzipEncode": true, // Enables gzip compression for all content provided by the framework "MailHeaderTemplateId": 0, // Used to specify the default mail header template "MailFooterTemplateId": 0, // Used to specify the default mail footer template "LogAllMail": true, // If enabled, all send mail will be logged to a table "Smtp": { "Host": "smtp.example.com", // Hostname of your smtp server "Port": 587, // Port number of your smtp server "Username": "example@example.com", // Username of your smtp server "Password": "", // Password of your smtp server "FromName": "Exmaple", // The name you want to use to send the mail "FromAddress": "example@example.com" // The emailaddress you want to use to send the mail }, "scheduler": { "token": "" // Enter the token that must be used to run the scheduler from cronjobs } }