1. Go to this page and download the library: Download gedachtegoed/workspace 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/ */
use Gedachtegoed\Workspace\Integrations\EditorDefaults\EditorDefaults;
use Gedachtegoed\Workspace\Core\Builder;
use App\Workspace\MyCustomPrettierIntegration;
return [
// Ships with Workspace. Can be combined with custom Integrations
EditorDefaults::class,
// FQCN to your custom Integration
MyCustomPrettierIntegration::class,
// Inlined Integration using the Builder directly
Builder::make()
// Register composer dependencies
->composerRequireDev('laravel/telescope:^4')
->composerUpdate('laravel/telescope')
// Hook into afterInstall to configure Telescope
->afterInstall(function (Command $command) {
$command->call('telescope:install');
$command->call('artisan migrate');
// NOTE: You can use Laravel Prompts in here to make anything interactive
})
];