Download the PHP package torrix/laravel-uikit without Composer

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

UIkit starter template for Laravel

Including authentication scaffolding for Laravel Fortify

Out of the box, Laravel ships with a default welcome template built with Tailwind CSS. On top of the base framework, Laravel JetStream provides two user interfaces (your choice of Laravel Livewire or InertiaJS) for login and register pages whilst Laravel Fortify provides the authentication backend.

Although Tailwind CSS is quickly gaining popularity, many people, like me, prefer a more traditional front-end framework, like Bootstrap, Foundation, or Bulma. I choose UIkit by YOOtheme because I found it to be the most modern, clean, well-thought-out, and modular framework available.

Why UIkit?

I've used UIkit for just about every project I've worked on in the last few years, for both websites and web applications, from tiny single-page landing sites, to massive web applications with thousands of users.

This package enhances Laravel with a starter template for UIkit, and gives you everything you need to start your next web project.

What's included?

What's still to come?

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See Deployment for notes on how to deploy the project on a live system.

Prerequisites

To begin, you'll need a fresh install of Laravel 10+. Adding this to an existing project is not recommended and may cause issues. For full instructions on installing Laravel, refer to the Laravel installation docs, but something like the following will get you up and running:

Installing this preset

To turn the base Laravel installation into a UIkit site, follow the steps below.

  1. Include this repository into your composer dependencies:

  2. Run the artisan command to publish the necessary files into your Laravel install. It will overwrite welcome.blade.php, so do not run this on established projects with changes made to that file.

  3. (optional) Include Laravel Fortify, if you want to make use of the ready-made authentication system. You will need to create a database, and configure the file .env with the correct credentials for it.

Add in config/app.php:

  1. Run NPM to build your CSS and JS assets using Laravel Mix:

Sometimes, npm run dev needs to be run twice to complete the installation. Read the output carefully to see if this is the case.

  1. Run the built-in development server

Your new site will be served at http://localhost:8000.

Developing with UIkit

To get started in UIkit, read their excellent docs. The examples and tests provided should give you all the help you need. To get an idea of what UIkit is capable of, I highly recommend the KickOff starter templates for inspiration.

To start customising UIkit to your own needs, take a look in app.scss. In there, you will find the standard UIkit imports, and by way of a simple example, I've changed the default blue primary colour to a nice purple shade, just to show what's possible in almost no time at all. Try changing it to another colour, and then running npm run dev to rebuild the CSS, and see the changes to your site.

Handy tip

Whilst developing your site, running Laravel Mix in watch mode makes it easy to make changes and quickly see their results:

Deployment

When deploying to a live server, remember to build your assets in production mode for smaller, faster downloads:

Built With

Author

Matt Fletcher @ Torrix

License

This template is open-source software licensed under the MIT license - see the LICENSE.md file for details


All versions of laravel-uikit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.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 torrix/laravel-uikit contains the following files

Loading the files please wait ....