https://github.com/axentix/laravel-preset
An Axentix preset for the Laravel Framework
https://github.com/axentix/laravel-preset
axentix axentix-scaffolding laravel laravel-ui preset ui
Last synced: 25 days ago
JSON representation
An Axentix preset for the Laravel Framework
- Host: GitHub
- URL: https://github.com/axentix/laravel-preset
- Owner: axentix
- License: mit
- Created: 2020-09-18T09:43:51.000Z (over 4 years ago)
- Default Branch: laravel-8.x
- Last Pushed: 2021-08-19T08:47:04.000Z (over 3 years ago)
- Last Synced: 2025-03-27T02:43:24.975Z (about 1 month ago)
- Topics: axentix, axentix-scaffolding, laravel, laravel-ui, preset, ui
- Language: Blade
- Homepage: https://useaxentix.com/
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel 7.0+ Frontend preset for Axentix
A Laravel front-end scaffolding preset for [Axentix](https://useaxentix.com).
## IMPORTANT
Default branch for Laravel 8.
We maintained Laravel 7 compatibility on laravel-7.x branch.
**Installation steps are same.**## Usage
1. Fresh install Laravel >= 7.0 and `cd` to your app.
2. Install this preset via `composer require axentix/laravel-preset --dev`. Laravel will automatically discover this package. No need to register the service provider.### a. For Presets without Authentication
1. Use `php artisan ui axentix` for the basic Axentix preset
2. `npm install && npm run dev`
3. `php artisan serve` (or equivalent) to run server and test preset.### b. For Presets with Authentication
1. Use `php artisan ui axentix --auth` for the basic preset, auth route entry, and Axentix auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in `routes/web.php`)
4. `npm install && npm run dev`
5. Configure your favorite database (mysql, sqlite etc.)
6. `php artisan migrate` to create basic user tables.
7. `php artisan serve` (or equivalent) to run server and test preset.### Config
Add a new i18n string in the `resources/lang/XX/pagination.php` file for each language that your app uses:
```php
'previous' => '« Previous',
'next' => 'Next »',
'goto_page' => 'Goto page #:page', // Add this line
```
This should help with accessibility
```html
2
```