It's a php open source default project which can use and integrate javascript elements. It's very simple to use, use only require to make the page more speed.
steps:
- git clone https://github.com/lorenzorizzolo/phpevolution
- open skelethon/
- rename .env.example to .env, fill the variables with your data.
- you need to install with apt like
sudo apt install composer
, then usesudo composer update
- start server:
sh start.sh
- goto "localhost:8000" on your browser
There are some interesting features like javascript components for frontend and many php functions to use like send_email().
In this repository you have 2 folders, the first one, 'skelethon', is empty, so you can start to work on it. Then in every folder you must start the server on the public folder and it will work, try to use:
sh start.sh
send_email(): allows you to send emails, once the variables are set in the .env file.
send_email($email_to_send, $email_object, $email_message)
isnum(): checks if the varible passed is a number.
isnum($var)
isempty(): checks if the varible passed is empty or if there are only space.
isempty($var)
contains(): checks if the first variable contains the second one, like a filter. (for searchbars you can use the js-element searchbar, visit GIthub-jselements)
contains($var, $filter)
Here there are some Javascript elements that you can use.
for more info visit GIthub-jselements
apple checkbox, android checkbox, input, motion, searchbar static, searchbar motion, change title page, page loading, footer basic, footer toolbar, card motion.
Into this framework you can also use telegram bot automatically. You must se BOT_TOKEN with you personal telegram and set webhook to your site like.
Important
Your site must be HTTPS not HTTP
https://api.telegram.org/bot{bot_token}/setWebhook?url={your site}/telegram/