kennyyuen / shark
Core of Shark framework
0.1.5
2025-01-29 02:00 UTC
Requires
- php: ^8.3
- composer-runtime-api: ^2.2
- ext-ctype: *
- ext-filter: *
- ext-hash: *
- ext-mbstring: *
- ext-openssl: *
- ext-session: *
- ext-tokenizer: *
- doctrine/dbal: ^4.2
- doctrine/orm: ^3.3
- guzzlehttp/guzzle: ^7.9
- monolog/monolog: ^3.8
- psr/log: ^3.0
- symfony/console: ^7.2
- symfony/finder: ^7.2
- symfony/http-foundation: ^7.2
- twig/twig: ^3.18
Requires (Dev)
- phpunit/phpunit: ^11.5
- symplify/monorepo-builder: ^11.2
This package is auto-updated.
Last update: 2025-06-10 03:03:25 UTC
README
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
- Make sure the Apache mod_rewrite module is enabled.
- Make sure .htaccess and index.php files are in the same public-accessible directory
public/
. - Reload and restart Apache server.
sudo service apache2 restart
Directory Structure
app/
- Contains the core application codeconfig/
- Configuration filespublic/
- Publicly accessible filesresources/
- Views and assetstests/
- Test cases
License
This project is licensed under the MIT License. See the LICENSE file for details.