Download the PHP package sanjaya/laravel-daisyui-starter without Composer

On this page you can find all versions of the php package sanjaya/laravel-daisyui-starter. 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-daisyui-starter

Laravel DaisyUI Starter Kit

A beautiful Laravel starter kit with DaisyUI integration, providing a modern and responsive UI framework for your Laravel applications. Built with Tailwind CSS v4 and the latest DaisyUI.

Features

Requirements

Installation

  1. Create a new Laravel project:

  2. Install Laravel Breeze:

When prompted, select the "Blade with Alpine" option.

  1. Install the package via composer:

  2. Run the installation command:

This will:

  1. Start your development server:

  2. In a separate terminal, start the Vite development server:

Example Pages and Components

The package comes with pre-built example pages showcasing various DaisyUI components:

Layout Structure

The base layout (resources/views/vendor/layouts/app.blade.php) includes:

To use the layout in your views:

Dashboard Example

The dashboard example (resources/views/vendor/dashboard.blade.php) demonstrates:

  1. Stats Cards:

  2. Alert Components:

  3. Form Elements:

  4. Data Tables:

Common Components

  1. Buttons:

  2. Cards:

  3. Badges:

  4. Avatars:

  5. Dropdowns:

Screenshots

Dashboard

Login Page

Theme Configuration

Themes are now configured directly in your CSS using CSS variables, following Tailwind CSS v4's CSS-first approach. The configuration is located in resources/css/app.css:

Customizing Colors

To customize your theme colors, modify the CSS variables in resources/css/app.css. Available color variables:

Switching Themes

To switch themes in your Blade templates:

For dynamic theme switching:

Usage

After installation, you can use DaisyUI components in your views:

Authentication

The package integrates with Laravel Breeze for authentication. All auth views are styled with DaisyUI components. Available routes:

Troubleshooting

Common Issues

  1. If you get a stability error when installing, use:

  2. If assets are not showing up correctly:

    • Make sure you've published all assets
    • Clear your Laravel cache: php artisan cache:clear
    • Rebuild your npm assets: npm run build
  3. If themes are not applying:
    • Ensure the data-theme attribute is properly set on your HTML elements
    • Check that your CSS variables are correctly defined in resources/css/app.css
    • Make sure Vite is properly building your assets

Security

If you discover any security related issues, please create a issue using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-daisyui-starter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^12.0
laravel/breeze Version ^2.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 sanjaya/laravel-daisyui-starter contains the following files

Loading the files please wait ....