How do I include my index.php file automatically to all other files?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/PHPhelp

Our great sponsors
  • Cloudways - Managed Cloud Hosting Platform
  • Scout APM - Less time debugging, more time building
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Slim

    Slim Framework 4 Skeleton Application

    You could take a look at the Slim Framework and the Slim Skeleton Application for some general guidance on how to do things. I've done some kind of "homebrew" framework stuff before, and typically the most important things you need are:

  • Laravel

    Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.

    For config/settings, look at how Laravel does this - https://github.com/laravel/laravel/tree/8.x/config

  • Cloudways

    Managed Cloud Hosting Platform. Cloudways leverages advanced technology and powerful servers. Cloudways is a one-click managed cloud hosting platform that provides cloud application and server management solutions.

  • no-framework-tutorial

    A small tutorial to show how to create a PHP application without a framework.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts