Skip to content

smpleader/spt-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some words

SPT == Simple PHP Tools ;)

  • Or Simple Powerful Tools

  • Or Such Peachy Treats

  • .. anything make you happy with simplest and miniumn of code lines to solve your matters

I myself used this to train my students to understand the framework since the begin, after their lessons of language practise.

Moreover, I used this to implement for the commercial products, especially the integration with other frameworks and platforms. Its small adapts any existing Api.

When you are bored with packages, and love simply "include and run", let try this software.

SPT usage

  • Create a PHP application
  • Support multi language
  • Support SEF link
  • Implement MVC
  • Support multi theme
  • Support REST APIs
  • Support Routering based Regular expression search
  • Support multi sites
  • Support CLI

Links

Setup:

  1. Be sure we are running PHP7
  2. Define APP_PATH to root folder of your application.
  3. Include files and run, more details, look at "examples" folders.

Examples:

  1. Base usage: examples/base

  2. Simple route: examples/router

  3. Simple route: examples/router

  4. MVC pattern: examples/mvc

  5. Format and theme: examples/theme ( private branch )

  6. Multi lanugage: examples/multilanguage

  7. Rest API: examples/restapi

  8. Implement JWT ( private branch )

  9. Use Namespace and PSR-4 ( done )

  10. Composer and spl_autoload_register ( done )

  11. Integrate as Joomla extensions ( private branch )

  12. Integrate as WP extensions ( private branch )

  13. Multi site: Routing based domain name ( private branch )

  14. CLI ( private branch )

  15. Query builder and PDO wrapper to work with database: examples/database

  16. Implement DI container ( examples/dicontainer )

  17. Implement Auto Test

  18. Take care all input from request ( examples/request )

  19. Implement Unit Test

LICENCE

GNU GENERAL PUBLIC LICENSE V2.

Please see License for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages