Skip to content

LorenzoRizzolo/phpevolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPEvolution

What's that?

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.

Start

steps:

  1. git clone https://github.com/lorenzorizzolo/phpevolution
  2. open skelethon/
  3. rename .env.example to .env, fill the variables with your data.
  4. you need to install with apt like sudo apt install composer, then use sudo composer update
  5. start server: sh start.sh
  6. goto "localhost:8000" on your browser

Features

There are some interesting features like javascript components for frontend and many php functions to use like send_email().

Structure

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

PHP functions

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)

Js elements

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.

Telegram bot

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/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published