Nishchay means 'decision'

Nishchay is an open structure PHP framework released under New BSD license in 2020 developed by Bhavik Patel. Name of the framework chosen from 'To do anything, we only need to decide and start working on it'. As the name suggests Nishchay has numbers of features which helps you to achieve your aim.

Open structure
  1. Open structure allows you to create any kind of application structure like MVC, HMVC or anything.
  2. We can also create our application structure.
  3. This makes the framework most compatible than other frameworks.
  4. In other frameworks whenever application structure changes it brings incompatibility with its previous version, this does not happen with nishchay framework.
Maintenance modes

Put application into maintenance based on the following:

  1. Browser-based maintenance, also allows maintenance for version greater than, less than or any version range.
  2. Time range for daily maintenance.
  3. Date range for future maintenance plans.
  4. Based on the callback method

Allow routes even in maintenance mode based on the following:

  1. List of routes.
  2. Routes which matches regex pattern.
  3. Routes which belongs to scope.

Nishchay has various kind of sessions which are listed below:

  1. Read limit which expires after its read limit is reached.
  2. Till next request which expires after a given number of requests
  3. Scope session which is available for given scope only.
  4. Conditional which works based on condition.

Session data can be stored to:

  1. Files
  2. Database
  3. Cache
Web service

Make whole application web service or selected routes. Apart from REST full routes which also supports JSON & XML response types, we service adds more features to routes.

  1. Web service response can be filtered by a user who uses web services. This is done with the help fields demand.
  2. Enable or disable services to be accessed by the token. This token can be configured to be sent in Header or request parameter.
  3. Create your own response format.
  4. Web services also allow setting always returning and supported response fields.
  1. Entity class which maps database table allows defining read-only, required, derived (Value derives from another entity) and more types of property.
  2. Relate entity to another entity, add an extra property to row.
  3. Event which executes before or after insert, update or delete.
  4. Entity query builder allows creating query-based on entity class, using this we can create simple to complex query.
  5. Just set encrypt = true and value of the property is stored as encrypted in DB and decrypted back while fetching.
  6. Inbuilt caching for Query builder and Entity query builder which if configured then it fetches data from cache first and then database if not found in the cache.
  7. Database manager which allows manipulating database like creating or altering database table.
Console command
  1. Create a controller or entity using a console command. We can create empty, crud or from templates.
  2. Using console command we can find a list of routes, controller, entities and events within the application.
  3. Use console command find information regarding route, controller, entities and more.
  4. Console command can also be used for running routes.