Download the PHP package sc-laravel-presets/default-tailwindcss without Composer

On this page you can find all versions of the php package sc-laravel-presets/default-tailwindcss. 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 default-tailwindcss

Laravel 6+ Frontend preset for Tailwind CSS

A Laravel front-end scaffolding preset for Tailwind CSS - a Utility-First CSS Framework for Rapid UI Development.

Current version: Tailwind CSS 1.1.2

What it does

  1. Upgrades laravel-mix to 4.1.2
  2. Installs postcss-import 12.0.1
  3. Installs postcss-nesting 7.0.1
  4. Installs tailwindcss 1.1.2
  5. Installs @tailwindcss/custom-forms 0.2.1
  6. Installs vue 2.6.10
  7. Installs vue-template-compiler 2.6.10
  8. Removes jquery & bootstrap & sass
  9. Adds an in memory sqlite database connection for phpunit in the phpunit.xml file.
  10. Configures Webpack to use PostCss and not sass, since Tailwind is a PostCss plugin. With the postcss-nesting plugin installed, you are able to write nested css that looks very much like sass, but is using standard css files.
  11. Adds primary, secondary, success, warning, danger & error colors along with a default font to the tailwind.config.js file. These colors are currently set to blue, gray, green, orange, red & red respectively. They can then be used to assign primary and secondary colors to backgrounds, text, borders, etc. and contain the same shading as the rest of the colors. e.g. text-primary-500, bg-secondary-300, text-error-600
  12. Adds a core, button, dropdown, loader and nav partial with basic styling in the css/components directory.
  13. Uses custom form classes from the tailwindcss/custom-forms package.
  14. Updates all relevant views to use the Tailwind classes instead of Bootstrap.
  15. -auth preset will add the HomeController along with all relevant views and routes.

Usage

  1. Fresh install Laravel >= 6 and cd to your app.
  2. Install this preset: Laravel will automatically discover this package. No need to register the service provider.

  3. Run the preset installer:

    Command to install only the base preset without any of the authorization scafolding.

    Command to install the full preset with the authorization scafolding (auth route entry, Tailwind CSS auth views).

    NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php

  4. Install all the node dependencies and compile all the assets:

  5. Configure your favorite database (mysql, sqlite etc.). See the Laravel documentation for more details.
  6. Migrate your database, if needed:

  7. Start your local web server by running either of the following commands:

    Command to start up Laravel Valet

    Or use if you are not using Valet

  8. View your site in the browser to test the new preset.

Config

The default tailwind.config.js configuration file included by this package uses custom color names. Should you wish to make changes, you can easily do so by modifying this file. See the Tailwind documentation for more detail.

The tailwindcss/custom-forms customization is also in the tailwind.config.js file under the customForms key. See their documentation if you want to change any of the form styling.


All versions of default-tailwindcss with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version >=5.7
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 sc-laravel-presets/default-tailwindcss contains the following files

Loading the files please wait ....