A Laravel front-end scaffolding preset for Axentix.
Default branch for Laravel 8.
We maintained Laravel 7 compatibility on laravel-7.x branch.
Installation steps are same.
- Fresh install Laravel >= 7.0 and
cdto your app. - Install this preset via
composer require axentix/laravel-preset --dev. Laravel will automatically discover this package. No need to register the service provider.
- Use
php artisan ui axentixfor the basic Axentix preset npm install && npm run devphp artisan serve(or equivalent) to run server and test preset.
- Use
php artisan ui axentix --authfor 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 inroutes/web.php) npm install && npm run dev- Configure your favorite database (mysql, sqlite etc.)
php artisan migrateto create basic user tables.php artisan serve(or equivalent) to run server and test preset.
Add a new i18n string in the resources/lang/XX/pagination.php file for each language that your app uses:
'previous' => '« Previous',
'next' => 'Next »',
'goto_page' => 'Goto page #:page', // Add this lineThis should help with accessibility
<li>
<a href="URL?page=2" class="..."
aria-label="Goto page #2"
>
2
</a>
</li>