laranext/span
Larablocks Analysis
laranext/span works with Laravel 9 to 12 (latest release v0.1.9, Mar 9, 2025).
Laravel 8 in earlier releases.
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Latest release doesn't support Laravel 13, the current version
- No release in the last 12 months (last: Mar 9, 2025)
- 95 downloads a month (needs 10,000)
- 3 GitHub stars (needs 100)
State
Quiet- Last stable release: Mar 9, 2025.
- No releases in the last 12 months.
- First released: Sep 9, 2021.
- Monthly downloads: 95.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.
| Install | |
|---|---|
composer require laranext/span |
|
| Latest Version: | v0.1.9 |
| PHP: | ^8.0|^8.1|^8.2 |
| Laravel: | 9 – 12 |
| Older releases: | 8 |
| License: | MIT |
| Last Updated: | Aug 23, 2025 |
| Links: | GitHub · Packagist |
Introduction - Span
Laranext Span is module based approach, restful code separation, plug & play.
code separation like routes, controllers, models, resources, views, migrations
for example we have admin package and it will load with /admin key.
let's have a try.
Getting Started
To install through Composer, by run the following command:
composer require laranext/span
then run install command to publish config file.
php artisan span:install
Create span package with your package name
php artisan span:package admin
if you will not choose any stub then default laravel package will be create.
after creating package we need to register in our config/span.php providers.
'providers' => [
'admin' => Admin\AdminServiceProvider::class,
],
then visit /admin in the browser.
Generate Comands
it will work like default laravel artisan make commands.
the only difference is after class name we need package name too.
Controller
# Generate a controller class...
php artisan span:controller PhotoController admin
# Generate a resource controller class...
php artisan span:controller PhotoController admin --resource
# Generate a model and resource controller class...
php artisan span:controller PhotoController admin --resource --model=Photo
# Generate an api controller class...
php artisan span:controller Api/PhotoController admin --api
# Generate a invokable controller class...
php artisan span:controller ShowHomepage admin --invokable
Model
# Generate a model class...
php artisan span:model Flight admin
# Generate a model and a migration class...
php artisan span:model Flight admin --migration
# Generate a model and a FlightController class...
php artisan span:model Flight admin --controller
Migration
php artisan span:migration create_flights_table admin
Why
why i created this over laranext, because laranext is little advance and not native for laravel developers.
Span is the same concept used by the laranext but it's more close to native laravel.
we can say it's only separation of code if we needed, it's totally optional.
laranext is still under production and not available publicly at the moment.
Credits
License
Laranext Span is open-sourced software licensed under the MIT license.
Related Packages
Front is a administration panel for Laravel. It allows you to create CRUD easily...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.1.9 | ^8.0| | ^9.21| | MIT | |
| v0.1.8 | ^8.0| | ^9.21| | MIT | |
| v0.1.7 | ^8.0| | ^9.21| | MIT | |
| v0.1.6 | ^8.0| | ^9.21| | MIT | |
| v0.1.5 | ^7.3| | ^8.0| | MIT | |
| v0.1.4 | ^7.3| | ^8.0| | MIT | |
| v0.1.3 | ^7.3| | ^8.0 | MIT | |
| v0.1.2 | ^7.3| | ^8.0 | MIT | |
| v0.1.1 | ^7.3| | ^8.0 | MIT | |
| v0.1.0 | ^7.3| | ^8.0 | MIT |