PHP code example of sparkphp-br / sparkphp
1. Go to this page and download the library: Download sparkphp-br/sparkphp 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/ */
sparkphp-br / sparkphp example snippets
// app/routes/users.php
get(fn() => ['users' => User::all()]);
bash
composer install
php spark init
php spark serve
bash
php spark starter:list
php spark new ../meu-saas --starter=saas
bash
php spark about
php spark benchmark
php spark inspector:status