1. Go to this page and download the library: Download bachirdev-cmd/packages 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/ */
bachirdev-cmd / packages example snippets
use AppDAF\Core\Application;
$app = new Application();
use AppDAF\Entity\BaseEntity;
class User extends BaseEntity
{
// Votre logique d'entité
}
use AppDAF\Controller\BaseController;
class UserController extends BaseController
{
// Votre logique de controller
}
use AppDAF\Migration\BaseMigration;
class CreateUsersTable extends BaseMigration
{
// Votre logique de migration
}
use AppDAF\Seeders\BaseSeeder;
class UserSeeder extends BaseSeeder
{
// Votre logique de seeder
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.