BlasterPHP is a lightweight and simple PHP framework designed for rapid application development. It provides essential tools and structure to build web applications efficiently without the overhead of larger frameworks.
- Lightweight and fast
- Simple MVC architecture
- Easy-to-configure routes
- Minimal setup requirements
-
Clone the repository:
git clone https://github.com/nvas/BlasterPHP.git
-
Navigate to the project directory:
cd BlasterPHP -
Install dependencies using Composer (if applicable):
composer install
-
Set up your web server:
- Point the document root to the
publicdirectory. - Ensure the
.htaccessfile is configured correctly for Apache (or configure URL rewriting for other web servers).
- Point the document root to the
-
Define routes in the
routes.phpfile located in theapp/directory:$router->get('/hello', function() { return 'Hello, World!'; });
-
Create controllers and views in the
app/directory following the MVC pattern. -
Access your application via your browser by navigating to your configured domain or localhost.
- PHP 7.4 or higher
- A web server (Apache, Nginx, etc.)
- Composer (for dependency management, if needed)
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Description of changes" - Push to your branch:
git push origin feature-name
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or support, please open an issue in the repository or contact the maintainer.
Happy coding with BlasterPHP!