Skip to content
munenepeterPublic

About

A skeleton designed to help developers quickly build simple apps using custom Tabel framework.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Tabel

Overview

Tabel is a foundational template designed to help developers quickly build simple PHP applications using the Tabel framework. This skeleton provides a minimal setup that streamlines the development process, allowing you to focus on your application's functionality without the overhead of a full-fledged framework.

Features

  • Basic Directory Structure: Organized layout for easy navigation and management of your application.
  • Lightweight Design: No dependencies for faster performance and faster learning curve (especially for me).

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • PHP (version 8.2 or higher)
  • Composer (for autoloading)

Installation

  1. Clone the Repository:
    git clone https://github.com/munenepeter/Tabel.git --depth=1
  2. Navigate into Your Project Directory & remove git:
    cd Tabel
    
    rm -rf .git/
    
    #initialize your own tracking
    
    git init
  3. Install Dependencies (just one, the framework is dependency free, but you can add your own dependencies):
    composer install

Configuration

  1. Environment Variables:
    • Copy the .env.example file to .env:
      cp .env.example .env
    • Update the .env file with your environment-specific settings, such as database credentials.

Running Your Application

To run your application locally, you can use PHP's built-in server. From the root of your project directory, execute:

php -S localhost:8000 -t server.php

You can then access your application at http://localhost:8000.

Development Guidelines

Adding Routes

Define your application routes in a dedicated routes file (e.g., routes/web.php).

And for cli commands, instead of the famous artisan you can use tabel or rename the file to whatever you would like and the framework will not be supporting extensive cli commands out of the box, just those one can use for CRON jobs.

Remember i made this for my usecase and more often than not i create my files manually and run expensive commands with other tools.

Also it closely resembes laravel, so you should feel at home if you are familiar with the framework, but don't expect all the magic to be there, for more please go through the documentation and the source code.

License

This skeleton is open-source and free to use. Feel free to modify it according to your project needs.

About

A skeleton designed to help developers quickly build simple apps using custom Tabel framework.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages