kennyyuen/shark

Core of Shark framework

0.1.5 2025-01-29 02:00 UTC

This package is auto-updated.

Last update: 2025-06-10 03:03:25 UTC


README

Latest Version on Packagist Software License

Shark is a lightweight and powerful PHP framework designed to make web development fast and easy. It provides a robust set of tools and features to help you build scalable and maintainable web applications.

Features

  • Lightweight and fast
  • MVC architecture
  • Easy routing
  • Secure and scalable

Documentation

For detailed usage and advanced features, visit the Shark PHP Documentation.

Get Started

Follow these steps to get started with Shark PHP:

Installation

To install Shark PHP, you need to have Composer installed on your machine. Run the following command to create a new Shark PHP project:

composer require kennyyuen/shark

Running the Application

Apache

  1. Make sure the Apache mod_rewrite module is enabled.
  2. Make sure .htaccess and index.php files are in the same public-accessible directory public/.
  3. Reload and restart Apache server.
    sudo service apache2 restart
    

Directory Structure

  • app/ - Contains the core application code
  • config/ - Configuration files
  • public/ - Publicly accessible files
  • resources/ - Views and assets
  • tests/ - Test cases

License

This project is licensed under the MIT License. See the LICENSE file for details.