Download the PHP package dskripchenko/laravel-admin-skeleton without Composer

On this page you can find all versions of the php package dskripchenko/laravel-admin-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-admin-skeleton

Laravel Admin Skeleton

🌐 English · Русский

A fresh Laravel application with dskripchenko/laravel-admin built in. You can sign in a minute after composer create-project:

Create a project

create-project creates the SQLite database, runs the migrations, publishes the admin frontend and seeds an administrator and 30 example posts. Open http://localhost:8000/admin and sign in as [email protected] / password.

The seed has already run by the time you can edit .env. To sign in with other credentials, either change the password in the profile, or set ADMIN_NAME, ADMIN_EMAIL and ADMIN_PASSWORD in .env and run php artisan db:seed --class=AdminSeeder, which adds that administrator. To create an administrator directly, use php artisan admin:user "Jane Doe" [email protected] 'a-long-password' --super.

SQLite is the default database. For MySQL or PostgreSQL, change DB_* in .env and run php artisan migrate --seed. For Docker: composer require laravel/sail --dev && php artisan sail:install.

To start from a clone instead of create-project, run composer setup.

Where things are

Path What
app/Admin/AdminPlugin.php Registers resources, screens and dashboards, and builds the menu (listed in config/admin.php → plugins)
app/Admin/Resources/PostResource.php The example resource: fields, columns, filters
app/Admin/Screens/OverviewDashboard.php The home dashboard
app/Enums/PostStatus.php Post statuses with their labels and badge colours
lang/ru.json Russian translations of the app's admin strings (labels are English source strings)
config/admin.php Admin path, auth, branding, locales
database/seeders/AdminSeeder.php The first administrator, from .env

Adding to the panel

The generators are interactive wizards and take no arguments:

Command What it creates
php artisan admin:make-section A resource from a table or a model, plus a menu entry and, optionally, a role
php artisan admin:make-resource The same resource, with no menu entry and no role
php artisan admin:make-screen A custom (non-CRUD) page
php artisan admin:make-widget A dashboard widget class; add it to a dashboard's widgets()

They write the class under app/Admin and register it in app/Admin/AdminPlugin.php. To put a new section into an existing menu group, answer content or system when the wizard asks for the parent menu key. Treat the generated class as a draft: review its fields, columns and filters before you use it.

To remove the example, delete PostResource, app/Enums/PostStatus.php, the Post model, its migration and factory, and the related tests in tests/Feature/AdminPanelTest.php. Then remove the posts entries from AdminPlugin, the posts seeding from DatabaseSeeder, and the post widgets from OverviewDashboard.

Updating

composer update republishes the admin frontend automatically, because php artisan admin:publish runs in post-update-cmd.

Documentation

See the laravel-admin docs for resources, screens, fields, layouts, actions and permissions.

License

MIT


All versions of laravel-admin-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
dskripchenko/laravel-admin Version ^1.47
dskripchenko/laravel-admin-starter Version ^1.4.3
laravel/framework Version ^13.17
laravel/tinker Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dskripchenko/laravel-admin-skeleton contains the following files

Loading the files please wait ...