1. Go to this page and download the library: Download velt/skeleton 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/ */
velt / skeleton example snippets
use Velt\Ui\Components\Card;
use Velt\Ui\Components\Text;
use Velt\Ui\Page;
return Page::make('Dashboard')
->meta(['title' => 'Dashboard - Velt'])
->add(
Card::make()
->class('rounded-lg border border-slate-200 bg-white p-6 shadow-sm')
->add(Text::make('Bienvenue')->as('h1'))
);
namespace App\Projects\Models;
use Velt\Orm\Model;
final class Project extends Model
{
protected static string $table = 'projects';
}