1. Go to this page and download the library: Download ufukcanatann/prism library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
// User operations
GET /api/users # User list
POST /api/users # Create new user
GET /api/users/{id} # User details
PUT /api/users/{id} # Update user
DELETE /api/users/{id} # Delete user
bash
php prism system:install
bash
php prism system:serve
bash
# Run migrations
php prism db migrate
# Seed database
php prism db seed
# Migration + seeding
php prism db migrate --seed
bash
# Start development server
php prism system serve --port=8080
# Application maintenance
php prism system down
php prism system up
# Performance & security
php prism system optimize
php prism system security:scan
php prism system clear:cache
# Environment management
php prism system env list
php prism system env set APP_DEBUG false
# Debugging & information
php prism system route:list
php prism system inspect database
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.