NextIgnite is a light-weight PHP framework designed for building full-stack web applications. It aims to provide a simple and efficient structure to help you quickly develop robust web applications with ease.
- MVC Architecture: Clean separation of concerns with a Model-View-Controller architecture.
- Routing: Simple and flexible routing system.
- ORM: Built-in Object-Relational Mapping for database interactions.
- Templating: Easy-to-use templating engine.
- Middleware: Support for middleware to handle requests and responses.
- Validation: Comprehensive validation library.
- clone this repository
cd NextIgnite
composer install
Command | Description | Output |
---|---|---|
php ignite serve |
Starts the development server at: http://localhost:8000/ |
- |
php ignite make:view SampleView |
Creates a view file | app/Views/SampleView.nxt.php |
php ignite make:view auth.signUp |
Creates a view file in the auth directory |
app/Views/auth/signUp.nxt.php |
php ignite make:controller MyController |
Creates a controller file | app/Controllers/MyController.php |
php ignite make:controller admin.MyController |
Creates a controller file in the admin directory |
app/Controllers/admin/MyController.php |
php ignite make:model SampleModel |
Creates a model file | app/Models/SampleModel.php |
-
Create a new project directory:
mkdir my-nextIgnite-app cd my-nextIgnite-app
-
Using Composer (Not available for now)
composer require next-ignite/next-ignite
-
Application structure:
├── app │ ├── Controllers │ ├── Models │ ├── Views ├── public │ ├── index.php ├── routes │ ├── web.php ├── .env ├── composer.json └── README.md ...more
-
Configure your application:
- Update the
.env
file with your environment settings. - Define your routes in
routes/web.php
.
- Update the
-
Start building your application:
- Create controllers in the
app/Controllers
directory. - Create models in the
app/Models
directory. - Create views in the
app/Views
directory.
- Create controllers in the
- Your feedback and contributions are highly appreciated.
NextIgnite is open-source software licensed under the MIT license.