purplespider / car-database
A skeleton for Silverstripe CMS modules.
Package info
github.com/purplespider/car-database
Type:silverstripe-vendormodule
pkg:composer/purplespider/car-database
1.0.1
2023-09-14 09:18 UTC
Requires
- silverstripe/admin: ^2.0
- silverstripe/framework: ^5.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
README
Provides a basic structure for a car rental database, with the ability to manage multiple vehicles that are displayed on a page with links to an Enquiry form.
Installation
composer require purplespider/car-database
Then run dev/build
Documentation
Use the Vehicles admin screen to add multiple vehicles.
Create a new page of the type "Vehicle Holding Page" to display the vehicle details along with a button to enquire.
Configuration
You can disable the enquiry form by setting enable_form to false:
PurpleSpider\CarDatabase\VehicleHoldingPage: enable_form: false