1. Go to this page and download the library: Download maduser/argon-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/ */
maduser / argon-skeleton example snippets
Argon::prophecy(static function (ArgonContainer $container): void {
$container->register(HttpFoundationServiceProvider::class);
});
final class AppServiceProvider extends AbstractServiceProvider
{
#[\Override]
public function register(ArgonContainer $container): void
{
$container->register([
MonologServiceProvider::class,
TwigServiceProvider::class,
FilesystemServiceProvider::class,
// Application-owned configuration for the integrations above.
LoggingServiceProvider::class,
TemplateServiceProvider::class,
StorageServiceProvider::class,
]);
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.