websitesql / framework
A simple, easy-to-use, REST API framework.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:framework
Requires
- php: ^8.2
- ext-pdo: *
- ext-pdo_mysql: *
- laminas/laminas-diactoros: ^3.5
- laminas/laminas-httphandlerrunner: ^2.11
- league/climate: ^3.10
- league/container: ^5.0
- league/route: ^6.0
- websitesql/config: ^1.0
- websitesql/database: ^1.0
- websitesql/mailer: ^1.0
- websitesql/utilities: ^1.0
README
The console application is run by calling it from the command line. The entry point is the console.php
file located in the root directory of the project. You can run it like this:
php {filename} [options] [arguments]
Where {filename}
is the path to the console.php
file. For example, if you are in the root directory of the project, you can run:
#!/usr/bin/env php <?php // Require autoload require_once __DIR__ . '/vendor/autoload.php'; // Run the console application new WebsiteSQL\Framework\Core\Console($argv);